[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: c function returning table
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Sun, 25 Jun 2000 21:07:22 -0300 (EST)
>From email@example.com Thu Jun 22 11:27:41 2000
>From: "John Passaniti" <firstname.lastname@example.org>
>Can someone point me to an example of a C function that returns a table? I
See getargs in lua.c. See also ldblib.c.
>have the need to read a directory and place the filenames in a table.
>While I could decompose this with wrappers for opendir(), readdir(), and
>closedir(), I would rather just return everything in a single table in one
poslib does that, doesn't it?