Retrieving information about a function
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)
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement