From f32348e09769bfbf4ee5884260951f16935ad636 Mon Sep 17 00:00:00 2001 From: raster Date: Fri, 4 Jun 2010 06:09:15 +0000 Subject: [PATCH] larger block size for native call array git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/embryo@49443 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/embryo_amx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/embryo_amx.c b/src/lib/embryo_amx.c index f19dfda..fb311b3 100644 --- a/src/lib/embryo_amx.c +++ b/src/lib/embryo_amx.c @@ -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; -- 2.7.4