Merge pull request #73 from alliedmodders/nullable

Add nullable types and tighten up some new type system semantics.
This commit is contained in:
David Anderson
2014-07-06 11:45:09 -07:00
9 changed files with 165 additions and 35 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ native Handle:CloneHandle(Handle:hndl, Handle:plugin=INVALID_HANDLE);
/**
* Helper for object-oriented syntax.
*/
methodmap Handle
methodmap Handle __nullable__
{
public Clone() = CloneHandle;
public ~Handle() = CloseHandle;