Sign in to follow this  

AngelScript 2.9.0 is released

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

This topic is 3776 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.

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