• Advertisement
Sign in to follow this  

How to check the parameters of function ?

This topic is 3531 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
Graceful work !~~~

I think AS will become more better for using ~~ :)

Share this post


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

  • Advertisement