Revert "Expose Variant operator= to GDNative"
This commit is contained in:
parent
97bbdde9e5
commit
796f875870
3 changed files with 0 additions and 16 deletions
|
@ -62,12 +62,6 @@ godot_variant_type GDAPI godot_variant_get_type(const godot_variant *p_self) {
|
||||||
return (godot_variant_type)self->get_type();
|
return (godot_variant_type)self->get_type();
|
||||||
}
|
}
|
||||||
|
|
||||||
void GDAPI godot_variant_operator_assign(godot_variant *r_dest, const godot_variant *p_v) {
|
|
||||||
Variant *dest = (Variant *)r_dest;
|
|
||||||
Variant *v = (Variant *)p_v;
|
|
||||||
*dest = *v;
|
|
||||||
}
|
|
||||||
|
|
||||||
void GDAPI godot_variant_new_copy(godot_variant *p_dest, const godot_variant *p_src) {
|
void GDAPI godot_variant_new_copy(godot_variant *p_dest, const godot_variant *p_src) {
|
||||||
Variant *dest = (Variant *)p_dest;
|
Variant *dest = (Variant *)p_dest;
|
||||||
Variant *src = (Variant *)p_src;
|
Variant *src = (Variant *)p_src;
|
||||||
|
|
|
@ -4393,14 +4393,6 @@
|
||||||
["const godot_variant *", "p_v"]
|
["const godot_variant *", "p_v"]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "godot_variant_operator_assign",
|
|
||||||
"return_type": "void",
|
|
||||||
"arguments": [
|
|
||||||
["godot_variant *", "r_dest"],
|
|
||||||
["const godot_variant *", "p_v"]
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "godot_variant_new_copy",
|
"name": "godot_variant_new_copy",
|
||||||
"return_type": "void",
|
"return_type": "void",
|
||||||
|
|
|
@ -170,8 +170,6 @@ extern "C" {
|
||||||
|
|
||||||
godot_variant_type GDAPI godot_variant_get_type(const godot_variant *p_v);
|
godot_variant_type GDAPI godot_variant_get_type(const godot_variant *p_v);
|
||||||
|
|
||||||
void GDAPI godot_variant_operator_assign(godot_variant *r_dest, const godot_variant *p_v);
|
|
||||||
|
|
||||||
void GDAPI godot_variant_new_copy(godot_variant *r_dest, const godot_variant *p_src);
|
void GDAPI godot_variant_new_copy(godot_variant *r_dest, const godot_variant *p_src);
|
||||||
|
|
||||||
void GDAPI godot_variant_new_nil(godot_variant *r_dest);
|
void GDAPI godot_variant_new_nil(godot_variant *r_dest);
|
||||||
|
|
Loading…
Reference in a new issue