[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Luajit and curstom data structures
- From: Mike Pall <mikelu-1104@...>
- Date: Tue, 12 Apr 2011 19:25:38 +0200
I wrote:
> You'll be able to do this with reasonable efficiency with the
> planned metatables for cdata objects.
Support for ctype metamethods has just been committed to LuaJIT
git HEAD. Here are the docs:
http://luajit.org/ext_ffi_tutorial.html#metatype
http://luajit.org/ext_ffi_api.html#ffi_metatype
Have fun -- feedback welcome!
--Mike