type parameters
justincormack opened this issue · comments
New luajit ffi feature...
http://www.freelists.org/post/luajit/ffi-type-of-pointer-to,4
That was quick :P
What use cases are you looking to use at first?
I think I only need pointers to start with, possibly arrays. ie ffi.typeof("$*", ct) or ffi.typeof("$[$]", ct, n)
(removed my uses for this for ljsyscall, so not a priority for me now).