Jump to content
  • Advertisement
Sign in to follow this  
WitchLord

AngelScript 2.9.0 is released

This topic is 3993 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

This version implements support for variable parameter types, similar to how the built-in 'any' type is able to store any object handle. The variable parameter types are most useful for implementing generic container classes. A ScriptDictionary class has been implemented as an add-on to show how it's used. There have been some other minor changes as well, and a few bug fixes. Regards, Andreas

Share this post


Link to post
Share on other sites
Advertisement
In as_callfunc_ppc.cpp you will want to skip over the implicit parameters of vararg types in the couple loops (see as_callfunc_ppc64.cpp)

Share this post


Link to post
Share on other sites
I thought so as well at first, but it was not necessary as my tests proved.

What happens is that the PPC code will treat the variable parameter as an INT64 and copy it into 2 of the GPR, which is exactly what we want.

On PPC64 it is necessary to do what you did, since there an INT64 is put in only one GPR, whereas the variable parameter should be treated as two separate parameters when sent to C++.

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!