🎉 Celebrating 25 Years of GameDev.net! 🎉

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!

Retrieving information about a function

Started by
0 comments, last by WitchLord 19 years, 2 months ago
Is there any way to retrieve information about a function that is registered in the asIScriptEngine aside from parsing GetFunctionDeclaration? (I want to check the function to make sure the arguments are correct before calling it)
Advertisement
Since you already know the correct arguments, you don't have to parse the declaration, just compare with the string you know is correct. Or use GetFunctionIDByDecl(), which will only return the function ID exactly matching the declaration.

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