Annotating ffi
#1309
Replies: 2 comments 1 reply
-
Parsing the C to automatically get the declarations would be pretty good actually, I might make a PR for it |
Beta Was this translation helpful? Give feedback.
0 replies
-
Update on the C parsing: Been busy with school, but its on it's way! Parsing C is so annoying though |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The particular Lua implementation I have access to is LuaJIT 2.0.5. This comes with a set of enhancements built in, such as ffi, and the language server handles all the display of the basic info for ffi without any detail description. For example,
Now, I can reference the details online, but that isn't the gist of my question (though having a description with a link to the full online documentation would be appreciated). What I'm really after is annotating definitions created in a cdef call such that when I use them in ffi.C, I get the detail I'd like.
Given a cdef of
what should I do to make GetLocalTime defined rather than this:
Beta Was this translation helpful? Give feedback.
All reactions