lua-users home
lua-l archive

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


Hi,

> -----Original Message-----
> From: owner-lua-l@tecgraf.puc-rio.br
> [mailto:owner-lua-l@tecgraf.puc-rio.br]On Behalf Of Roberto
> Ierusalimschy
> Sent: Tuesday, June 11, 2002 14:13
> To: Multiple recipients of list
> Subject: Re: Hooks for I/O, memory, etc?
> 
> 
> > or make two versions of lua_open: one with no extra parameters, and one
> > which lets you specify all the hooks.
> 
> What about varargs, with name-value pairs?
>  
>   lua_open("realloc", &my_realloc, NULL)

I like the idea about "tagged" parameters. Anybody out there
programmed on the Amiga using taglists? I once (mis)used
this built in system for a small scripting language ;-)))

Regards,

  Michael