[luatex] Lua 5.2.
Philipp Stephani
st_philipp at yahoo.de
Mon Jan 31 14:27:12 CET 2011
Am 31.01.2011 09:03, schrieb Ulrike Fischer:
> Am Fri, 28 Jan 2011 00:21:53 +0100 schrieb Philipp Stephani:
>
>>> Most importantly, module() is deprecated, so packages should sooner or later do without.
>>
>> What is the preferred way to implement modules then?
>
> I found a message which says:
>
> "- module and luaL_register deprecated, replaced by luaL_newlib and
> luaL_setfuncs."
Thanks, but these are C functions that wouldn't be of much help if you
want to write a Lua module. I'm asking this because I have no experience
in Lua and don't want to write obsolete code right from the beginning.
More information about the luatex
mailing list