Commit Graph

14 Commits

Author SHA1 Message Date
b400dba875 Merge branch 'master' into container_leaks 2021-01-31 20:06:56 +00:00
fb71edd45b Fix container and string leaks
Some functions return a new instance of such containers,
but instead we made a copy of them, without taking ownership of the
original created by the function.
Now we use a specific constructor taking ownership on the godot_* struct.
2021-01-07 01:05:12 +00:00
38c9b624db Fix constness of Array::find, Array::find_last and Array::rfind 2020-12-20 16:53:40 +00:00
66c671b59d Add C conversion constructors to fix leak of default-constructed empty arrays 2020-01-31 00:08:02 +01:00
c2ec46f64a Merge pull request #296 from lupoDharkael/missing
Add missing class methods
2019-08-05 10:39:56 +02:00
b895d3c326 Add missing class methods 2019-08-05 00:23:42 +02:00
bb4a837ad3 Error message improvements
Changed error message macros to actually use Godot's error reporting
facilities instead of outputting straight to stderr. This enables
GDNative errors to actually show up inside the editor.

Messages and set of available macros now also better matches that of
the engine itself.
2019-05-15 14:45:09 +02:00
fc20fa3fce Implementing clang-format and applying it to all classes 2018-11-24 09:09:41 +11:00
01db553c49 adds Array::make and Dictionary::make static methods and has variadic template functions use those 2018-03-07 10:27:34 +00:00
00f089d7ed Added copy constructors and assignment operators to Array and Dictionary 2018-01-17 01:57:01 +01:00
10bb24cfbc updated bindings 2017-10-03 16:07:34 +05:30
c27af379b8 updated to use the new NativeScript and GDNative interface 2017-07-24 17:08:52 +02:00
4769f49cb4 Use static linking instead of dynamic linking 2017-07-23 17:53:50 +02:00
cf30b0f39d rewrote binding generator in python 2017-05-12 21:53:07 +02:00