Raised This Month: $51 Target: $400
 12% 

New API and Syntax


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 12-14-2014 , 02:42   Re: New API and Syntax
Reply With Quote #11

Quote:
Originally Posted by BAILOPAN View Post
Hrm... 1.7 has the "any" type.
Yes, my mistake. I meant to say transitional doesn't:

Quote:
Originally Posted by dvander
I don't have concrete plans yet, but basically the any keyword will have to be deprecated. I tried to do that in 1.7 but ran out of time, so it'll have to be for 1.8.
A potential replacement is discussed further.

Quote:
Originally Posted by BAILOPAN View Post
Not sure where that misconception came from as I don't think I mentioned removing it or it being a reason for not doing something.
In addition to mentioning "any" was being deprecated in 1.8:

Quote:
Originally Posted by dvander
...passing opaque values is not compatible post-transitional-syntax, since there is no way to track the liveness of the value.
This quote came from the same pull request as earlier. Said pull request saved data very similarly to the way the Timer code does... you could say it was copied almost verbatim from the Timer code.

Like timer's data argument, it used the any tag to assign data during the Menu's creation and had a special flag to mark it as a Handle that should be closed when CloseHandle was called on the menu's Handle.

The above pull request was closed as it was made clear it wasn't going to be added to SM.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 18:03.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode