aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-06-18 15:59:18 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-06-18 15:59:18 -0300
commit1d6ebce2969d3bfe406633fd8e284ff187ce00f2 (patch)
tree5c961b9e2de11fb58fe44d9c2d80be25d756bf0c /lua.h
parentbc3e02a1b7d65c908409549160f567fad14cd238 (diff)
downloadlua-1d6ebce2969d3bfe406633fd8e284ff187ce00f2.tar.gz
lua-1d6ebce2969d3bfe406633fd8e284ff187ce00f2.tar.bz2
lua-1d6ebce2969d3bfe406633fd8e284ff187ce00f2.zip
new function 'lua_version' (so that 'checkversion' can be implemented
in the auxiliary library)
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lua.h b/lua.h
index aa242e8e..edeafe7a 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.238 2009/06/15 19:51:31 roberto Exp roberto $ 2** $Id: lua.h,v 1.239 2009/06/17 17:49:44 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** Lua.org, PUC-Rio, Brazil (http://www.lua.org) 4** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
5** See Copyright Notice at the end of this file 5** See Copyright Notice at the end of this file
@@ -118,8 +118,7 @@ LUA_API lua_State *(lua_mainthread) (lua_State *L);
118LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); 118LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf);
119 119
120 120
121LUA_API void lua_checkversion_ (lua_State *L, int version); 121LUA_API const lua_Number *lua_version (lua_State *L);
122#define lua_checkversion(L) (lua_checkversion_(L, LUA_VERSION_NUM))
123 122
124 123
125/* 124/*