lua-users home
lua-l archive

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


that's pretty much exactly what I'd have asked for, had I been clever
enough to know what I wanted.

Thanks ever so

Now all I need to do is work out how to compile and install it :-)

David.


> *From:* "Fabien" <fleutot+lua@gmail.com>
> *To:* "Lua mailing list" <lua-l@lists.lua.org>
> *Date:* Wed, 3 Oct 2012 15:29:52 +0200
> 
> On Wed, Oct 3, 2012 at 3:08 PM, Thijs Schreijer 
> <thijs@thijsschreijer.nl>wrote:
> 
> > >
> > > I suppose I could write a function "checkargs"
> >
> > iirc the Sierra Wireless folks did something like that.
> >
> 
> Indeed we have, and usage proves that it's an excellent API 
> documentation
> (terse, readable, extensible, and you have to keep it up-to-date 
> with the
> code). Eventually I'd like to hack Eclipse's type inference system 
> so that
> it could use it to gather hints.
> 
> Here it is, no dependency beyond lua.h:
> 
> https://github.com/SierraWireless/luasched/blob/master/c/checks.c
> 
> 
> 
> -- 
> Fabien Fleutot
> +---
> | 33 chemin de Mange-Pommes
> | 31520 Ramonville Saint-Agne -- France
> | mobile: +33 6 28 06 09 97
> | office: +33 5 61 00 06 49
> | home: +33 5 61 75 05 67
> 
> 
> --
> *Included Files:*
> am2file:001-HTML_Message.html