i was making some hscript api for my app, it have a function that uses Type.resolveClass($class);
and Type.resolveEnum($enum);
to get the class/enum and then sets it to hscript Interp, but the problem is not about hscript at all. it seems that neither or those 2 functions can return typedef, is there any way to get typedef like that?
Hej,
These functions return a class or an enum, so they can’t return a typedef.
But maybe I understand badly your question and you want a function that acts like resolveClass or resolveEnum but for typedef, which will return a typedef but in that case it’s impossible since typedef is a compile-time feature and it doesn’t exist at runtime.