lua-users home
lua-l archive

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


That's incredibly obvious now! Many thanks for your gracious reply :)

Is LUA_CPATH global in lua? I have been setting LUA_PATH via C using:

lua_pushstring (l_, "LUA_PATH");
lua_pushstring(l_, "./?.lua");
lua_settable(l_, LUA_GLOBALSINDEX);

and the equivalent for LUA_CPATH doesn't seem to be having an effect.

Cheers,
j


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.