From 72d675aba78d59e22ebfadbe447f4f51ddab5a5c Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Fri, 26 Feb 1999 12:48:55 -0300 Subject: macros "growvector" and "reallocvector" more compact --- lbuffer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lbuffer.c') diff --git a/lbuffer.c b/lbuffer.c index 5ad03a97..85568b3c 100644 --- a/lbuffer.c +++ b/lbuffer.c @@ -1,5 +1,5 @@ /* -** $Id: lbuffer.c,v 1.7 1999/02/25 19:13:56 roberto Exp roberto $ +** $Id: lbuffer.c,v 1.8 1999/02/25 19:20:40 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -26,8 +26,7 @@ static void Openspace (int size) { lua_State *l = L; /* to optimize */ size += EXTRABUFF; l->Mbuffsize = l->Mbuffnext+size; - l->Mbuffer = luaM_growvector(l->Mbuffer, l->Mbuffnext, size, char, - memEM, MAX_INT); + luaM_growvector(l->Mbuffer, l->Mbuffnext, size, char, arrEM, MAX_INT); } -- cgit v1.2.3-55-g6feb