lua-users home
lua-l archive

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


ok, figured that one out.
 
package.path is either the Lua global LUA_PATH or the LUA_PATH envVar or the default value.
package.cpath is either the LUA_CPATH envVar or the default value, but *not* a global LUA_CPATH.
changing package.cpath directly works.
 
Presumably this is the best way to do this from C.
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.