Hello, Andreas.
Can you add possibility to storing and retreiving of objForThiscall for asCALL_GENERIC.
Retreiving it maybe like this:
virtual void *asIScriptGeneric::GetObjectForThiscall() = 0; // returns pointer which we pass in objForThiscall
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Hello, Andreas.
Can you add possibility to storing and retreiving of objForThiscall for asCALL_GENERIC.
Retreiving it maybe like this:
virtual void *asIScriptGeneric::GetObjectForThiscall() = 0; // returns pointer which we pass in objForThiscall
Hello.
It will probably take a while (months).
Not because it is a complex modification but because it requires a change to the interface, so I'll hold off on this change until I start working on version 2.31.0 (right now I'm working on 2.30.2).
I've implemented this support in revision 2220. (2.31.0 WIP).
I added the method GetAuxiliary() to the asIScriptGeneric interface to allow the function to retrieve the pointer that was provided in the RegisterGlobalFunction or RegisterObjectMethod.
Regards,
Andreas