|
@@ -1,9 +1,6 @@
|
|
|
|
|
|
Namespace test
|
|
|
|
|
|
-'#Import "<std>"
|
|
|
-
|
|
|
-'#Reflect std.graphics
|
|
|
#Reflect test
|
|
|
|
|
|
Function InvokeMethod:Variant( name:String,instance:Object,args:Variant[]=Null )
|
|
@@ -36,6 +33,8 @@ Function InvokeMethod:Variant( name:String,instance:Object,args:Variant[]=Null )
|
|
|
|
|
|
Wend
|
|
|
|
|
|
+ 'search extensions...
|
|
|
+
|
|
|
Return Null
|
|
|
End
|
|
|
|
|
@@ -77,7 +76,7 @@ Function Main()
|
|
|
For Local type:=Eachin TypeInfo.GetTypes()
|
|
|
|
|
|
'look for extension
|
|
|
- If type.Kind="Class Extension" And type.Name="test.C Extension"
|
|
|
+ If type.Kind="Class Extension" And type.SuperType=Typeof(c)
|
|
|
|
|
|
Print "Found extension!"
|
|
|
|