[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Lua 5.2 beta - luaL_reg vs. luaL_Reg
- From: James Graves <james.c.graves.jr@...>
- Date: Thu, 21 Jul 2011 16:25:47 -0500
Hi All,
I'm trying to compile some rocks for Lua 5.2 and ran into a little
compatibility issue.
In the 5.1 version of lauxlib.h, there is this #define:
#define luaL_reg luaL_Reg
However, there is no corresponding define for version 5.2 beta. I
note that luaL_Reg is the canonical name, and there is no
corresponding define for luaL_Buffer to the lowercase version.
So, all you C API users out there, may want to check your code and
switch to using luaL_Reg.
The Kepler Project LuaFileSystem code is where I first found this.
James