From 1d6ebce2969d3bfe406633fd8e284ff187ce00f2 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 18 Jun 2009 15:59:18 -0300 Subject: new function 'lua_version' (so that 'checkversion' can be implemented in the auxiliary library) --- lua.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index aa242e8e..edeafe7a 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.238 2009/06/15 19:51:31 roberto Exp roberto $ +** $Id: lua.h,v 1.239 2009/06/17 17:49:44 roberto Exp roberto $ ** Lua - An Extensible Extension Language ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) ** See Copyright Notice at the end of this file @@ -118,8 +118,7 @@ LUA_API lua_State *(lua_mainthread) (lua_State *L); LUA_API lua_CFunction (lua_atpanic) (lua_State *L, lua_CFunction panicf); -LUA_API void lua_checkversion_ (lua_State *L, int version); -#define lua_checkversion(L) (lua_checkversion_(L, LUA_VERSION_NUM)) +LUA_API const lua_Number *lua_version (lua_State *L); /* -- cgit v1.2.3-55-g6feb