aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-06-18 15:59:58 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-06-18 15:59:58 -0300
commit4a818f068aef5c598c7af9ed5a834dee5d9a9eb6 (patch)
tree319b01ad36453dac48c639148ac670f007216284 /lauxlib.h
parent1d6ebce2969d3bfe406633fd8e284ff187ce00f2 (diff)
downloadlua-4a818f068aef5c598c7af9ed5a834dee5d9a9eb6.tar.gz
lua-4a818f068aef5c598c7af9ed5a834dee5d9a9eb6.tar.bz2
lua-4a818f068aef5c598c7af9ed5a834dee5d9a9eb6.zip
'checkversion' implemented in the auxiliary library
Diffstat (limited to 'lauxlib.h')
-rw-r--r--lauxlib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lauxlib.h b/lauxlib.h
index 819e4d27..10de3d0b 100644
--- a/lauxlib.h
+++ b/lauxlib.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.h,v 1.94 2008/01/03 17:07:59 roberto Exp roberto $ 2** $Id: lauxlib.h,v 1.95 2009/02/13 19:39:34 roberto Exp roberto $
3** Auxiliary functions for building Lua libraries 3** Auxiliary functions for building Lua libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -26,6 +26,8 @@ typedef struct luaL_Reg {
26} luaL_Reg; 26} luaL_Reg;
27 27
28 28
29LUALIB_API void (luaL_checkversion_) (lua_State *L, lua_Number ver);
30#define luaL_checkversion(L) luaL_checkversion_(L, LUA_VERSION_NUM)
29 31
30LUALIB_API void (luaI_openlib) (lua_State *L, const char *libname, 32LUALIB_API void (luaI_openlib) (lua_State *L, const char *libname,
31 const luaL_Reg *l, int nup); 33 const luaL_Reg *l, int nup);