[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: How to add users libraries
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sat, 3 Dec 2005 10:12:57 -0200
> PS. I did not show the mods to lua.c, luac.c and lauxlib.h which were
> all one line changes for 'main'
There is no need to edit lua.c and lua.c then. Just say something like
this in luaconf.h:
#ifdef lua_c
#define main my_lua_main
#endif
#ifdef luac_c
#define main my_luac_main
#endif
The Lua modules define these kind of symbols exactly to cater for
customizations in luaconf.h.
--lhf