lua-users home
lua-l archive

Lua 5.2 beta - luaL_reg vs. luaL_Reg

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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

AltStyle によって変換されたページ (->オリジナル) /