From: Mark Sibly Date: Mon, 21 Sep 2015 02:15:37 +0000 (+1200) Subject: Tweaked reflection module. X-Git-Tag: v151~7 X-Git-Url: https://jcornell.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=5534b0ad116431f5c117103b4d41d205516ab1fc;p=blitzmax.git Tweaked reflection module. --- diff --git a/mod/brl.mod/reflection.mod/reflection.bmx b/mod/brl.mod/reflection.mod/reflection.bmx index 72263aa..1878d7c 100644 --- a/mod/brl.mod/reflection.mod/reflection.bmx +++ b/mod/brl.mod/reflection.mod/reflection.bmx @@ -454,7 +454,7 @@ Type TMethod Extends TMember bbdoc: Invoke method End Rem Method Invoke:Object( obj:Object,args:Object[] ) - If _index<65536 + If _index<4096 Return _Call( bbRefMethodPtr( obj,_index ),_typeId,obj,args,_argTypes ) EndIf Return _Call( Byte Ptr(_index),_typeId,obj,args,_argTypes )