new macro LUA_API

This commit is contained in:
Roberto Ierusalimschy
2000-10-20 14:39:03 -02:00
parent 8b88ab07f7
commit 64eecc0b82
19 changed files with 238 additions and 232 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lbaselib.c,v 1.10 2000/10/06 19:13:29 roberto Exp roberto $
** $Id: lbaselib.c,v 1.11 2000/10/09 15:46:43 roberto Exp roberto $
** Basic library
** See Copyright Notice in lua.h
*/
@@ -636,7 +636,7 @@ static const struct luaL_reg base_funcs[] = {
void lua_baselibopen (lua_State *L) {
LUA_API void lua_baselibopen (lua_State *L) {
luaL_openl(L, base_funcs);
lua_pushstring(L, LUA_VERSION);
lua_setglobal(L, "_VERSION");