Is there a way to extract a function’s parameter signature and return type?
I need this to work on all platforms (describeType works only on flash target)
for example:
function someFunction(var1:Int):Sprite{}
i need some function that will supply information that specifies var1 is of type Int and return var is Sprite.
Thanks!
The lime.system.CFFI class might help? It has a macro you could check out, that checks the signature of a function in order to populate it properly. A good starting point?