Re: modules containing both C and Lua parts
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: modules containing both C and Lua parts
- From: Norman Ramsey <nr@...>
- Date: 2007年2月25日 16:14:18 -0500
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