diff options
author | lupoDharkael <izhe@hotmail.es> | 2018-10-25 16:13:51 +0200 |
---|---|---|
committer | lupoDharkael <izhe@hotmail.es> | 2018-10-26 17:25:57 +0200 |
commit | 2380f320e0977a0ab0488bd7138fddc8c8740e12 (patch) | |
tree | 833699f12174161d3def686711d99a5900daa5fd /modules/gdnative/gdnative/node_path.cpp | |
parent | 7a42df3626159d1d81d2b5aabf13f19ef1951976 (diff) | |
download | redot-engine-2380f320e0977a0ab0488bd7138fddc8c8740e12.tar.gz |
Update GDNantive API
Add missing Rect2 methods to GDNative API
Add missing Quat methods to GDNative API
Add missing NodePath methods to GDNative API
Add missing String methods to GDNative API
Add missing Array methods to GDNative API
Add missing Basis methods to GDNative API
Add missing Color methods to GDNative API
Update gdnative_api.json
Diffstat (limited to 'modules/gdnative/gdnative/node_path.cpp')
-rw-r--r-- | modules/gdnative/gdnative/node_path.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/modules/gdnative/gdnative/node_path.cpp b/modules/gdnative/gdnative/node_path.cpp index f24facaae8..cf82940e09 100644 --- a/modules/gdnative/gdnative/node_path.cpp +++ b/modules/gdnative/gdnative/node_path.cpp @@ -110,6 +110,15 @@ godot_bool GDAPI godot_node_path_operator_equal(const godot_node_path *p_self, c return *self == *b; } +godot_node_path godot_node_path_get_as_property_path(const godot_node_path *p_self) { + const NodePath *self = (const NodePath *)p_self; + godot_node_path res; + NodePath *val = (NodePath *)&res; + memnew_placement(val, NodePath); + *val = self->get_as_property_path(); + return res; +} + #ifdef __cplusplus } #endif |