lua-users home
lua-l archive

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


>Ok, this is good! Please correct me if I am wrong with the following.
>The LUA_USERSTATE would have to be added somewhere very low level -
>lua.h perhaps? The only example of use is in luser_tests.h, which,
>although being sufficient, is not used anywhere. Supposing I did the
>same thing, mylua.h, would you recommend including this file into lua.h
>or had it better be some other file?

Just use -DLUA_USER_H='"mylua.h"' .
--lhf