From 8ecdbfc417409c9c8080580f3963e2397f8bdb78 Mon Sep 17 00:00:00 2001 From: Emmanuel Leblond Date: Sat, 20 May 2017 15:52:56 +0200 Subject: [GDnative] API consistency + missing properties --- modules/gdnative/godot/godot_node_path.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/gdnative/godot/godot_node_path.cpp') diff --git a/modules/gdnative/godot/godot_node_path.cpp b/modules/gdnative/godot/godot_node_path.cpp index 165688a34..c8eacd05a 100644 --- a/modules/gdnative/godot/godot_node_path.cpp +++ b/modules/gdnative/godot/godot_node_path.cpp @@ -44,6 +44,12 @@ void GDAPI godot_node_path_new(godot_node_path *r_dest, const godot_string *p_fr memnew_placement(dest, NodePath(*from)); } +void GDAPI godot_node_path_new_copy(godot_node_path *r_dest, const godot_node_path *p_src) { + NodePath *dest = (NodePath *)r_dest; + const NodePath *src = (const NodePath *)p_src; + memnew_placement(dest, NodePath(*src)); +} + void GDAPI godot_node_path_destroy(godot_node_path *p_self) { NodePath *self = (NodePath *)p_self; self->~NodePath(); -- cgit v1.2.3-70-g09d2