forked from enlightenment/efl
larger block size for native call array
SVN revision: 49443
This commit is contained in:
parent
6e1b5c42fa
commit
c4ea029772
|
@ -409,13 +409,13 @@ embryo_program_native_call_add(Embryo_Program *ep, const char *name, Embryo_Cell
|
|||
{
|
||||
Embryo_Native *calls;
|
||||
|
||||
ep->native_calls_alloc += 16;
|
||||
ep->native_calls_alloc += 32;
|
||||
calls = realloc(ep->native_calls,
|
||||
ep->native_calls_alloc * sizeof(Embryo_Native));
|
||||
if (!calls)
|
||||
{
|
||||
ep->native_calls_size--;
|
||||
ep->native_calls_alloc -= 16;
|
||||
ep->native_calls_alloc -= 32;
|
||||
return;
|
||||
}
|
||||
ep->native_calls = calls;
|
||||
|
|
Loading…
Reference in New Issue