Fix GDNative Variant type size on 32-bit platforms, add size checking static asserts. [3.2]
This commit is contained in:
@ -37,6 +37,8 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
static_assert(sizeof(godot_node_path) == sizeof(NodePath), "NodePath size mismatch");
|
||||
|
||||
void GDAPI godot_node_path_new(godot_node_path *r_dest, const godot_string *p_from) {
|
||||
NodePath *dest = (NodePath *)r_dest;
|
||||
const String *from = (const String *)p_from;
|
||||
|
||||
Reference in New Issue
Block a user