Move binary math functions to Math namespace in math_funcs_binary header.
This commit is contained in:
parent
376903417d
commit
0ea5ece984
50 changed files with 330 additions and 286 deletions
|
|
@ -2258,8 +2258,8 @@ void *Object::get_instance_binding(void *p_token, const GDExtensionInstanceBindi
|
|||
}
|
||||
}
|
||||
if (unlikely(!binding && p_callbacks)) {
|
||||
uint32_t current_size = next_power_of_2(_instance_binding_count);
|
||||
uint32_t new_size = next_power_of_2(_instance_binding_count + 1);
|
||||
uint32_t current_size = Math::next_power_of_2(_instance_binding_count);
|
||||
uint32_t new_size = Math::next_power_of_2(_instance_binding_count + 1);
|
||||
|
||||
if (current_size == 0 || new_size > current_size) {
|
||||
_instance_bindings = (InstanceBinding *)memrealloc(_instance_bindings, new_size * sizeof(InstanceBinding));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue