lua-users home
lua-l archive

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


Hi,

Adrián Pérez wrote:
> >lib/loadlib.c:
> >- [...]
> >- Change registerlib() to take a memory pointer and a size argument.
> >  A single boxed pointer does not suffice for the Mac OS X (un)loader.
> >- Pass back a pointer to the copied memory area to freelib().
> 
> [...]
> So, you could implement loadlib() and freelib() with only a single 
> boxed pointer.

Thank you for the hint! I backed out that change and uploaded a modified
patch:

http://lua-users.org/files/wiki_insecure/users/MikePall/lua-5.1-work3-loadlib3.patch

(No other changes)

Bye,
     Mike