sourcemod/sourcepawn/compiler/tests/ok-method-on-scalar.sp
2014-11-09 13:01:35 -08:00

14 lines
201 B
SourcePawn

native CloneHandle(Handle:handle);
native CloseHandle(Handle:handle);
methodmap Handle {
public Clone() = CloneHandle;
public Close() = CloseHandle;
};
public main()
{
new Handle:x;
x.Close();
}