Fix typo.

This commit is contained in:
Relintai 2023-05-31 17:38:36 +02:00
parent ff1ef18c46
commit cd6ac06d90
3 changed files with 3 additions and 3 deletions

View File

@ -149,7 +149,7 @@ void GDAPI pandemonium_variant_new_vector2(pandemonium_variant *r_dest, const pa
memnew_placement_custom(dest, Variant, Variant(*v2));
}
void GDAPI pandemonium_variant_new_vector2i(pandemonium_variant *r_dest, const pandemonium_vector2 *p_v2i) {
void GDAPI pandemonium_variant_new_vector2i(pandemonium_variant *r_dest, const pandemonium_vector2i *p_v2i) {
Variant *dest = (Variant *)r_dest;
Vector2i *v2i = (Vector2i *)p_v2i;
memnew_placement_custom(dest, Variant, Variant(*v2i));

View File

@ -8094,7 +8094,7 @@
"return_type": "void",
"arguments": [
["pandemonium_variant *", "r_dest"],
["const pandemonium_vector2 *", "p_v2i"]
["const pandemonium_vector2i *", "p_v2i"]
]
},
{

View File

@ -318,7 +318,7 @@ void GDAPI pandemonium_variant_new_real(pandemonium_variant *r_dest, const doubl
void GDAPI pandemonium_variant_new_string(pandemonium_variant *r_dest, const pandemonium_string *p_s);
void GDAPI pandemonium_variant_new_string_name(pandemonium_variant *r_dest, const pandemonium_string_name *p_s);
void GDAPI pandemonium_variant_new_vector2(pandemonium_variant *r_dest, const pandemonium_vector2 *p_v2);
void GDAPI pandemonium_variant_new_vector2i(pandemonium_variant *r_dest, const pandemonium_vector2 *p_v2i);
void GDAPI pandemonium_variant_new_vector2i(pandemonium_variant *r_dest, const pandemonium_vector2i *p_v2i);
void GDAPI pandemonium_variant_new_rect2(pandemonium_variant *r_dest, const pandemonium_rect2 *p_rect2);
void GDAPI pandemonium_variant_new_rect2i(pandemonium_variant *r_dest, const pandemonium_rect2i *p_rect2i);
void GDAPI pandemonium_variant_new_vector3(pandemonium_variant *r_dest, const pandemonium_vector3 *p_v3);