12 Commits

Author SHA1 Message Date
Hugo Locurcio
cf5428e103
Add license headers to all source and header files
This is consistent with the core Godot source code, and ensures the
license isn't detached from its original code when individual files
are distributed.
2021-08-02 18:34:58 +02:00
Bastiaan Olij
fc20fa3fce Implementing clang-format and applying it to all classes 2018-11-24 09:09:41 +11:00
Marcelo Fernandez
baddc2ae66 Fix clang warning: 'const' type qualifier on return type has no effect 2018-06-23 12:15:53 -03:00
Gary Oberbrunner
a6689b2132 Make all Pool*Array::operator[] as const
This is needed since that operator returns a local copy, not
an lvalue. Attempting to write to the return value of these operators
wouldn't change the array element. PoolVectors need locking when
writing, so this operator can't return a writable reference.

To update a Pool*Array, use the `set()` method which locks and unlocks
the array. For multiple writes, use the `write()` method which returns
a locked writable view, and unlocks when it goes out of scope.
2018-03-13 11:00:25 -04:00
lupoDharkael
756510563b Add const qualifier to PoolArray's size() 2018-02-12 22:38:25 +01:00
Marc Gilleron
835233fb71 Added missing copy constructors and assign operators to PoolVectors 2018-01-17 23:58:28 +01:00
karroffel
e3b20a28a9 Added Read and Write access for PoolArrays 2018-01-11 21:26:37 +01:00
Bastiaan Olij
6452ba6e88 Implemented using api struct 2017-10-23 21:20:14 +11:00
Ramesh Ravone
10bb24cfbc
updated bindings 2017-10-03 16:07:34 +05:30
Karroffel
c27af379b8 updated to use the new NativeScript and GDNative interface 2017-07-24 17:08:52 +02:00
Karroffel
ebe9d9de6a updated core to new GDNative interface 2017-06-18 13:21:36 +02:00
Karroffel
cf30b0f39d rewrote binding generator in python 2017-05-12 21:53:07 +02:00