ObjectID converted to a structure, fixes many bugs where used incorrectly as 32 bits.

This commit is contained in:
Juan Linietsky 2020-02-12 14:24:06 -03:00
parent 4aa31a2851
commit cf8c679a23
89 changed files with 337 additions and 287 deletions

View file

@ -250,7 +250,12 @@ godot_int GDAPI godot_string_findmk_from_in_place(const godot_string *p_self, co
keys.write[i] = (*keys_proxy)[i];
}
return self->findmk(keys, p_from, r_key);
int key;
int ret = self->findmk(keys, p_from, &key);
if (r_key) {
*r_key = key;
}
return ret;
}
godot_int GDAPI godot_string_findn(const godot_string *p_self, godot_string p_what) {