Advertisement

longjmp support?

Started by April 15, 2009 06:57 PM
0 comments, last by WitchLord 15 years, 7 months ago
Does angelscript support longjmp inside the registed function? In other words, I register function called "void fireMe()", inside fireMe function, I used setjmp and longjmp to jump in and out of the function, will script engine support this? Cheers
As long as you eventually call return from fireMe() I don't see any reason why you wouldn't be able to use setjmp/longjmp.

If you do not return from fireMe() you are likely going to have memory leaks.

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