lua-users home
lua-l archive

Re: Ability to change C module by mere file renaming (Lua 5.1)

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


Hallo,
On 27/11/05, Klaus Ripke <paul-lua@malete.org> wrote:
> right, you can not really have them linked together,
> yet you can dlopen several objects having such a function,
> as dlopen does not try to "link" the exported symbols.
>
 Yes, that's right. But, as the existence of the package.preload
table hints, it's possible for a module to be linked against the lua
interpreter. Using luaopen_init() would prevent that.
--
-alex
http://www.ventonegro.org/

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