lua-users home
lua-l archive

Re: Embed extra search paths into Lua build?

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


> > You can write your definitions in a file, say mydefs.h, and then
> > build Lua with -DLUA_USER_H='"mydefs.h"'.
> 
> I can't believe I missed this feature all these years.
For the record, support for LUA_USER_H was introduced in Lua 5.0.

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