mirror of
https://github.com/lua/lua
synced 2026-09-27 00:28:25 +03:00
no more compatibility code
This commit is contained in:
parent
9eb0f25a29
commit
dae99205cf
2 changed files with 2 additions and 21 deletions
4
lua.h
4
lua.h
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: lua.h,v 1.174 2003/02/27 11:52:30 roberto Exp roberto $
|
||||
** $Id: lua.h,v 1.175 2003/03/18 12:31:39 roberto Exp roberto $
|
||||
** Lua - An Extensible Extension Language
|
||||
** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil
|
||||
** http://www.lua.org mailto:info@lua.org
|
||||
|
|
@ -259,8 +259,6 @@ LUA_API void lua_concat (lua_State *L, int n);
|
|||
*/
|
||||
|
||||
|
||||
LUA_API int lua_pushupvalues (lua_State *L);
|
||||
|
||||
#define lua_getregistry(L) lua_pushvalue(L, LUA_REGISTRYINDEX)
|
||||
#define lua_setglobal(L,s) \
|
||||
(lua_pushstring(L, s), lua_insert(L, -2), lua_settable(L, LUA_GLOBALSINDEX))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue