Commit Graph

7 Commits

Author SHA1 Message Date
db9dcbddbc Forward refcount changes to NativeScriptInstance
This also changes Reference::unreference() to always invoke
refcount_decremented. Previously it was not invoked until the count
reached zero due to short-circuit evalution of boolean expressions.
2017-07-26 22:36:57 +07:00
bdf2e8c615 Fix typo in NativeScript property getter 2017-07-25 23:03:39 +02:00
cdf1212bee [NativeScript] fix double initialization in editor 2017-07-25 18:18:36 +02:00
3f1e75e89c [NativeScript] bound new to ClassDB 2017-07-25 00:26:37 +02:00
75b66146ae GDNative register_property 2017-07-24 22:30:07 +05:30
a1a76bbde4 [NativeScript] fix double free but on exit 2017-07-24 14:07:39 +02:00
534d62d2f4 [GDNative] new GDNative API
This adds GDNative as a separate class type.
It can be used to interface with native libraries by
using "native calls", which can be registered by modules
(and in future other GDNative libraries?).

It also reworks the currently called "GDNativeScript" into a
"NativeScript" that just makes use of the new GDNative instead
of it being the component that implements that functionality.
2017-07-24 04:23:37 +02:00