How to check the parameters of function ?
How can i get some useful information of parameters in function ? Is the same way just like get stack local parameters value ?
Do you want to check the value of the parameters? Or do you want to determine the parameter types for a compiled function?
The parameter values can be viewed just as the local variables in a function, with asIScriptContext::GetVarPointer().
The new asIScriptFunction interface will have methods for enumerating the parameter types.
Regards,
Andreas
The parameter values can be viewed just as the local variables in a function, with asIScriptContext::GetVarPointer().
The new asIScriptFunction interface will have methods for enumerating the parameter types.
Regards,
Andreas
AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game
I just implemented new methods for the asIScriptFunction interface that will let you enumerate the function parameters. If you're interested you can get this from the SVN.
Regards,
Andreas
Regards,
Andreas
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
Popular Topics
Advertisement
Recommended Tutorials
Advertisement