lua-users home
lua-l archive

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


> I've built Lua 5.0 and have created the basic test
> apps following tutorials and whatnot.
> However, I'm trying to compile a much larger example
> (from the gamedev.net tutorial) and it's choking on
> the functions:
> lua_settag, luaL_openl, lua_newtag, and
> lua_settagmethod.
> I can't find information concerning the appropriate
> use of these functions. They are not in the headers
> (lua.h, lualib.h, and lauxlib.h).

These functions were part of Lua 4's tag system and have been superceded by
metatables and metamethods in Lua 5.

You may want to download Lua version 4.0.1, if you want to continue with the
tutorial.

Ashwin.