Sign in to follow this  
WitchLord

AngelScript 2.9.0 is released

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this