Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

type parameters #46

Open
justincormack opened this issue Jun 14, 2012 · 3 comments
Open

type parameters #46

justincormack opened this issue Jun 14, 2012 · 3 comments

Comments

@justincormack
Copy link
Contributor

New luajit ffi feature...

http://www.freelists.org/post/luajit/ffi-type-of-pointer-to,4

@jmckaskill
Copy link
Owner

That was quick :P
What use cases are you looking to use at first?

@justincormack
Copy link
Contributor Author

I think I only need pointers to start with, possibly arrays. ie ffi.typeof("$*", ct) or ffi.typeof("$[$]", ct, n)

@justincormack
Copy link
Contributor Author

(removed my uses for this for ljsyscall, so not a priority for me now).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants