Retrieving information about a function

Started by
0 comments, last by WitchLord 19 years 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