17 lines
158 B
SourcePawn
17 lines
158 B
SourcePawn
native CloseHandle(Handle:handle);
|
|
|
|
methodmap Handle {
|
|
public Close() = CloseHandle;
|
|
};
|
|
|
|
f(&Handle:x)
|
|
{
|
|
x.Close()
|
|
}
|
|
|
|
public main()
|
|
{
|
|
new Handle:x;
|
|
f(x)
|
|
}
|