🎉 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
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