From c499442e5f19c0b99cc14fa009c46aefb7f69cb1 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 17 Jan 2003 13:28:09 -0200 Subject: [PATCH] compatibility macros must be available by default --- lauxlib.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lauxlib.h b/lauxlib.h index 09fa2eec..25d8499c 100644 --- a/lauxlib.h +++ b/lauxlib.h @@ -1,5 +1,5 @@ /* -** $Id: lauxlib.h,v 1.54 2002/09/16 19:49:45 roberto Exp roberto $ +** $Id: lauxlib.h,v 1.55 2002/11/14 15:41:38 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -119,7 +119,7 @@ LUALIB_API int lua_dostring (lua_State *L, const char *str); LUALIB_API int lua_dobuffer (lua_State *L, const char *buff, size_t sz, const char *n); -/* + #define luaL_check_lstr luaL_checklstring #define luaL_opt_lstr luaL_optlstring #define luaL_check_number luaL_checknumber @@ -131,7 +131,7 @@ LUALIB_API int lua_dobuffer (lua_State *L, const char *buff, size_t sz, #define luaL_check_long luaL_checklong #define luaL_opt_int luaL_optint #define luaL_opt_long luaL_optlong -*/ + #endif