Advertisement

objForThiscall for asCALL_GENERIC

Started by July 08, 2015 07:28 AM
3 comments, last by WitchLord 9 years, 2 months ago

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

Advertisement

Hello.

Can you tell approximate time of adding this feature?
If that take much time then I add own temporary hack, if not then I will wait.
Thanks!

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

This topic is closed to new replies.

Advertisement