LUA_COMPAT -> LUA_COMPAT_API (more specific)
This commit is contained in:
4
lua.h
4
lua.h
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
** $Id: lua.h,v 1.228 2008/05/09 16:51:44 roberto Exp roberto $
|
||||
** $Id: lua.h,v 1.229 2008/07/11 17:50:31 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
|
||||
@@ -282,7 +282,7 @@ LUA_API void lua_setallocf (lua_State *L, lua_Alloc f, void *ud);
|
||||
/*
|
||||
** compatibility macros and functions
|
||||
*/
|
||||
#if defined(LUA_COMPAT)
|
||||
#if defined(LUA_COMPAT_API)
|
||||
|
||||
#define lua_strlen(L,i) lua_objlen(L, (i))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user