[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Problem(?) with luaL_register
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 2 Oct 2007 10:02:51 -0300
> but that doesn't get around the fact that the luaL_register function
> doesn't always seem to do what it says on the tin.
How so? http://www.lua.org/manual/5.1/manual.html#luaL_register says:
If there is a table in package.loaded[libname] or in variable libname,
reuses this table instead of creating a new one.
Perhaps the only thing that's is not clear in the docs is that if
package.loaded[libname] contains a table then the global variable
libname is not created. Is that what you mean?