Jump to content
  • Advertisement
Sign in to follow this  
zopenge

How to check the parameters of function ?

This topic is 3826 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How can i get some useful information of parameters in function ? Is the same way just like get stack local parameters value ?

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!