[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: External modules was Re: Ideas for implementing commercial support for Lua
- From: Ignacio Castaño <castanyo@...>
- Date: Fri, 15 Nov 2002 23:59:03 +0100 (CET)
Thatcher Ulrich wrote:
> Actually, several such systems exist; the problem is there's no
> officially-blessed standard. I think the most Lua-like approach to
> this is Ignacio Casta.o's luselib (but I can never find the URL when I
> look for it! ):
Yeah, I lost the code on a system crash, but it should be easy to rewrite.
My idea was not only to provide support for dynamic linking, but also
stablishing a standard entrypoint in the library to register the functions
that the library provides.
The 'use' function loaded the given library 'and' called the open entrypoint.
So that you could use any (luselib-aware) library by just doing:
use 'libname'
Without the entrypoint, you would have to load the library and to link each
function manually.
Ignacio Castaño
castanyo@yahoo.es
_______________________________________________________________
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis!
Descárgalo ya desde http://messenger.yahoo.es