Tweaked reflection module.
authorMark Sibly <blitzmunter@gmail.com>
Mon, 21 Sep 2015 02:15:37 +0000 (14:15 +1200)
committerMark Sibly <blitzmunter@gmail.com>
Mon, 21 Sep 2015 02:15:37 +0000 (14:15 +1200)
mod/brl.mod/reflection.mod/reflection.bmx

index 72263aa6a60fe6e5d7f9201854ac0f2393316900..1878d7cd3cc46b49d4196a9c3a235210d32a5e01 100644 (file)
@@ -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 )