lua-users home
lua-l archive

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


Mike, this is awesome!

Thanks!

On 4/12/2011 10:25 AM, Mike Pall wrote:
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