[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: String represents arrays of characters.
- From: Henk Boom <henk@...>
- Date: Tue, 14 Dec 2010 16:45:36 -0500
On 14 December 2010 03:46, Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>> I suspect that there's a very straightforward C extension waiting to
>> be written which provides an array of bytes which can be freely
>> translated to and from strings.
>
> This has been discussed here several times. See for instance
> http://lua-users.org/lists/lua-l/2004-05/msg00153.html
>
> I've also found a "Lua memory bank library" apparently by Jeff Massung
> among my files but I could not find a lua-l post about it, nor Google
> has been helpful.
I use memarray which as far as I can tell comes from lua-glut. There's
a copy of it here:
https://github.com/henkboom/dokidoki/blob/master/memarray.c
henk