On Monday 06, razorcam razorcam wrote: > local mt ={} > local int=ffi.metatype("int_c",mt) local int = ffi.typeof("int_c") since the metatable is empty, just use ffi.typeof() Examples like those would be good to add to the Wiki: http://wiki.luajit.org/ -- Robert G. Jakabosky