lua-users home
lua-l archive

Re: modules containing both C and Lua parts

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


Thanks; I thought some scurvy submodule trick might be the way to go...
My one misgiving is that the name of the library is built in.
I think I'd prefer to let the C code wind up in the core submodule and
then write
 for k, v in pairs(_M.core) do _M[k] = v end
Does someone who understands modules better than I do think this would work? 
Norman

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