Skip to content

Commit

Permalink
Update SourcePawn and AMTL.
Browse files Browse the repository at this point in the history
  • Loading branch information
dvander committed Aug 14, 2015
1 parent f81786c commit 246c32a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
9 changes: 1 addition & 8 deletions plugins/include/handles.inc
Expand Up @@ -75,14 +75,7 @@ native CloseHandle(Handle:hndl);
*/
native Handle:CloneHandle(Handle:hndl, Handle:plugin=INVALID_HANDLE);

/**
* Helper for object-oriented syntax.
*/
methodmap Handle __nullable__
{
public Close() = CloseHandle;
public ~Handle() = CloseHandle;
}
using __intrinsics__.Handle;

/**
* Do not use this function. Returns if a Handle and its contents
Expand Down
2 changes: 1 addition & 1 deletion sourcepawn
Submodule sourcepawn updated 72 files
+7 −0 compiler/sc.h
+176 −305 compiler/sc1.cpp
+0 −1 compiler/sc2.cpp
+7 −2 compiler/sc3.cpp
+1 −1 compiler/sc4.cpp
+7 −7 compiler/sc5-in.scp
+34 −7 compiler/sctracker.cpp
+12 −3 compiler/sctracker.h
+0 −9 compiler/tests/fail-array-on-implicit-this.sp
+0 −1 compiler/tests/fail-array-on-implicit-this.txt
+0 −13 compiler/tests/fail-ctor-bad-return-type.sp
+0 −1 compiler/tests/fail-ctor-bad-return-type.txt
+0 −8 compiler/tests/fail-dtor-extra-args.sp
+0 −1 compiler/tests/fail-dtor-extra-args.txt
+0 −10 compiler/tests/fail-dtor-non-native.sp
+0 −1 compiler/tests/fail-dtor-non-native.txt
+0 −8 compiler/tests/fail-dtor-returns-value.sp
+0 −1 compiler/tests/fail-dtor-returns-value.txt
+2 −2 compiler/tests/fail-duplicate-methods.sp
+1 −1 compiler/tests/fail-method-on-array.sp
+1 −1 compiler/tests/fail-method-on-function.sp
+0 −9 compiler/tests/fail-mismatch-on-implicit-this.sp
+0 −1 compiler/tests/fail-mismatch-on-implicit-this.txt
+0 −9 compiler/tests/fail-multi-tag-on-implicit-this.sp
+0 −1 compiler/tests/fail-multi-tag-on-implicit-this.txt
+1 −4 compiler/tests/fail-new-with-no-constructor.sp
+1 −1 compiler/tests/fail-new-with-no-constructor.txt
+1 −5 compiler/tests/fail-new-with-no-methodmap.sp
+1 −1 compiler/tests/fail-new-with-no-methodmap.txt
+1 −3 compiler/tests/fail-new-with-non-nullable.sp
+1 −1 compiler/tests/fail-new-with-non-nullable.txt
+0 −9 compiler/tests/fail-no-tag-on-implicit-this.sp
+0 −1 compiler/tests/fail-no-tag-on-implicit-this.txt
+6 −4 compiler/tests/fail-nullable-needs-new.sp
+1 −1 compiler/tests/fail-nullable-needs-new.txt
+0 −12 compiler/tests/fail-property-bad-return-type.sp
+0 −1 compiler/tests/fail-property-bad-return-type.txt
+0 −12 compiler/tests/fail-property-bad-this-type.sp
+0 −1 compiler/tests/fail-property-bad-this-type.txt
+0 −9 compiler/tests/fail-ref-on-implicit-this.sp
+0 −1 compiler/tests/fail-ref-on-implicit-this.txt
+4 −0 compiler/tests/fail-view-as-no-parents.sp
+1 −0 compiler/tests/fail-view-as-no-parents.txt
+2 −6 compiler/tests/ok-base-dtor.sp
+0 −14 compiler/tests/ok-base-type-as-thistag.sp
+1 −3 compiler/tests/ok-ctor-dtor.sp
+1 −1 compiler/tests/ok-inheritance.sp
+0 −2 compiler/tests/ok-inline-natives.sp
+9 −0 compiler/tests/ok-intrinsic-handle-close.sp
+1 −1 compiler/tests/ok-method-on-const.sp
+1 −1 compiler/tests/ok-method-on-constref.sp
+1 −1 compiler/tests/ok-method-on-element.sp
+1 −1 compiler/tests/ok-method-on-ref.sp
+2 −2 compiler/tests/ok-method-on-scalar.sp
+4 −5 compiler/tests/ok-new-with-nullable-methodmap.sp
+1 −7 compiler/tests/ok-null-compare.sp
+1 −3 compiler/tests/ok-properties.sp
+2 −3 compiler/tests/ok-reparse-delete.sp
+1 −5 compiler/tests/ok-use-aliased-constructor.sp
+1 −1 compiler/tests/warn-bad-upcast.sp
+8 −13 exp/compiler/ast-printer.cpp
+29 −57 exp/compiler/ast.h
+1 −0 exp/compiler/docparse
+7 −7 exp/compiler/name-resolver.cpp
+2 −1 exp/compiler/name-resolver.h
+29 −113 exp/compiler/parser.cpp
+0 −1 exp/compiler/parser.h
+1 −0 exp/compiler/semantic-analysis.cpp
+4 −0 exp/compiler/test.inc
+3 −3 exp/compiler/type-resolver.cpp
+3 −17 exp/tools/docparse/docparse.cpp
+14 −14 vm/x86/jit_x86.cpp

0 comments on commit 246c32a

Please sign in to comment.