- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 23.5k
 
Make Vector<T>::duplicate() const #79140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| 
           Needs an update to the extension API validation Also, do we need to add a 4.1 one as well now that we have released it, along with 4.0  | 
    
| 
           @godotengine/gdextension Does this technically break compat for extensions?  | 
    
| 
           If the method's hash changed, then I guess it breaks compat. Otherwise, a GDExtension that was built for 4.1 making use of  To avoid breaking compat, you would need to add a compat method (see #76577).  | 
    
          
 Yes, I think @raulsntos is correct. I guess it's time to start testing out this compatibility system for real?  | 
    
0d506b7    to
    e7a757e      
    Compare
  
    | 
           What is the correct way to add compatibility methods? Is there an example I can follow?  | 
    
| 
           Hm, digging into this one deeper, I don't think we currently have a way to provide compatibility methods on  
  | 
    
e7a757e    to
    06e948f      
    Compare
  
    06e948f    to
    4ad40dc      
    Compare
  
    4ad40dc    to
    8c2fa7f      
    Compare
  
    8c2fa7f    to
    45d14cd      
    Compare
  
    45d14cd    to
    595f298      
    Compare
  
    595f298    to
    fd1aee2      
    Compare
  
    fd1aee2    to
    5010976      
    Compare
  
    eb0d0c4    to
    260892c      
    Compare
  
    260892c    to
    8a66e7e      
    Compare
  
    eb11ddc    to
    f113dca      
    Compare
  
    f113dca    to
    3bab518      
    Compare
  
    b37ee51    to
    55a3669      
    Compare
  
    985a9be    to
    8813d1b      
    Compare
  
    8813d1b    to
    0c5f923      
    Compare
  
    0c5f923    to
    c1a44ca      
    Compare
  
    4511362    to
    d57af73      
    Compare
  
    d57af73    to
    e998f09      
    Compare
  
    744946c    to
    49f8cc1      
    Compare
  
    fde1afa    to
    02ea09b      
    Compare
  
    02ea09b    to
    16f9136      
    Compare
  
    16f9136    to
    1266eef      
    Compare
  
    1266eef    to
    c830fad      
    Compare
  
    c830fad    to
    5470ffd      
    Compare
  
    | 
           Since there still isn't a way to register compatibility methods, I updated this PR to instead keep the bindings equivalent to the same method as before, while the version internal to the C++ code is now   | 
    
          
 So, essentially, this makes it   | 
    
5470ffd    to
    51e2a49      
    Compare
  
    | 
           I just posted PR #112290 which finally adds a system for builtin method compatibility. In order to test in, I've included (in the 2nd commit) the same core change as this PR (and listed @aaronfranke as a co-author)  | 
    
I tried to duplicate a
const PackedStringArrayand I noticed that it was impossible, but it should be possible.