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, 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
Yes, I think that can be done. I'll take note of this.
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
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).
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
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
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game