The call to CallSystemFunctionNative is wrapped in a try/catch block so that it can catch exceptions thrown by a registered function. However, if the function is registered with asCALL_GENERIC then there is no try/catch block. Is this intentional or an oversight? My application has a mix of function registrations, some of them using asCALL_GENERIC, so the effect is that some exceptions thrown by a registered function are caught while others are not.
CallFuction Exceptions
It's an oversight. I'll have it fixed a.s.a.p.
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
I've fixed this in revision 2265.
Thanks,
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
Popular Topics
Advertisement