From 71ae4801d66d9592b0fb08e4e78138b7a6e993d5 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 24 Jan 2001 13:45:33 -0200 Subject: macros LUA_ENTRY/LUA_EXIT to control exclusive access to Lua core --- lobject.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lobject.c') diff --git a/lobject.c b/lobject.c index a341f055..d709d442 100644 --- a/lobject.c +++ b/lobject.c @@ -1,5 +1,5 @@ /* -** $Id: lobject.c,v 1.58 2000/12/28 12:55:41 roberto Exp roberto $ +** $Id: lobject.c,v 1.59 2001/01/19 13:20:30 roberto Exp roberto $ ** Some generic functions over Lua objects ** See Copyright Notice in lua.h */ @@ -12,6 +12,7 @@ #include "lua.h" +#include "ldo.h" #include "lmem.h" #include "lobject.h" #include "lstate.h" @@ -85,7 +86,7 @@ void luaO_verror (lua_State *L, const char *fmt, ...) { va_start(argp, fmt); vsprintf(buff, fmt, argp); va_end(argp); - lua_error(L, buff); + luaD_error(L, buff); } -- cgit v1.2.3-55-g6feb