diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-24 13:45:33 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-01-24 13:45:33 -0200 |
| commit | 71ae4801d66d9592b0fb08e4e78138b7a6e993d5 (patch) | |
| tree | a683b5b3757efb979329bf513f1bd9fde3fb9d1f /lobject.c | |
| parent | 6fda6a530265268c01a83c31f8fc30e34753bbf1 (diff) | |
| download | lua-71ae4801d66d9592b0fb08e4e78138b7a6e993d5.tar.gz lua-71ae4801d66d9592b0fb08e4e78138b7a6e993d5.tar.bz2 lua-71ae4801d66d9592b0fb08e4e78138b7a6e993d5.zip | |
macros LUA_ENTRY/LUA_EXIT to control exclusive access to Lua core
Diffstat (limited to 'lobject.c')
| -rw-r--r-- | lobject.c | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.c,v 1.58 2000/12/28 12:55:41 roberto Exp roberto $ | 2 | ** $Id: lobject.c,v 1.59 2001/01/19 13:20:30 roberto Exp roberto $ |
| 3 | ** Some generic functions over Lua objects | 3 | ** Some generic functions over Lua objects |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -12,6 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | #include "lua.h" | 13 | #include "lua.h" |
| 14 | 14 | ||
| 15 | #include "ldo.h" | ||
| 15 | #include "lmem.h" | 16 | #include "lmem.h" |
| 16 | #include "lobject.h" | 17 | #include "lobject.h" |
| 17 | #include "lstate.h" | 18 | #include "lstate.h" |
| @@ -85,7 +86,7 @@ void luaO_verror (lua_State *L, const char *fmt, ...) { | |||
| 85 | va_start(argp, fmt); | 86 | va_start(argp, fmt); |
| 86 | vsprintf(buff, fmt, argp); | 87 | vsprintf(buff, fmt, argp); |
| 87 | va_end(argp); | 88 | va_end(argp); |
| 88 | lua_error(L, buff); | 89 | luaD_error(L, buff); |
| 89 | } | 90 | } |
| 90 | 91 | ||
| 91 | 92 | ||
