Sign in to follow this  
WitchLord

AngelScript 2.26.3 is out

Recommended Posts

Oscar1    115

Thanks, fantastic work. The asEP_DISALLOW_VALUE_ASSIGN_FOR_REF_TYPE is definitelly going to be set TRUE in my project

Edited by Oscar1

Share this post


Link to post
Share on other sites
glcolor    328

Great,thanks,I waited delegate for a long time,and I hope the @ symbol can be removed completely from the language as soon as possible,I was confused by it frequently...

Share this post


Link to post
Share on other sites
WitchLord    4677

@glcolor:

 

I'm not sure I will remove it completely, but if I do it will only happen when I start working on AngelScript 3.0.

 

@FDsagizi:

 

You mean when you have something like:

 

array<obj@> arr;
arr.sort();

 

It's unfortunately currently not possible. Currently the CScriptArray will sort the handles by the address, rather than calling the opCmp method on the object, which is rather stupid. I don't know what I was thinking when I implemented it that way. But don't worry, I'll have it changed soon. cool.png

Share this post


Link to post
Share on other sites
FDsagizi    514

Surep! allways - engine->SetEngineProperty( asEP_DISALLOW_VALUE_ASSIGN_FOR_REF_TYPE , true ); smile.png

by the way if asEP_DISALLOW_VALUE_ASSIGN_FOR_REF_TYPE  == true then '@' not actual!

Thanks!

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