mirror of
https://github.com/alliedmodders/sourcemod.git
synced 2025-12-08 19:08:35 +00:00
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)
|
|
}
|