Closed jyapayne closed 6 years ago
Are you using this within nimgen or as a separate command? I've not spent much time getting ctags to work since the preprocessor method works very well. Is there any reason you aren't using that?
I'm trying to port over the libnx to be able to program on the Nintendo switch using Nim. However, one file is giving me issues because it has static inline functions with bodies and c2nim doesn't like them, so I was trying to use the ctags option.
The file in question is this one: https://github.com/switchbrew/libnx/blob/master/nx/include/switch/kernel/ipc.h
Do you have any advice on how to handle a file like this from your experience porting other libraries?
Just pushed a fix for this. Changed to +p and also filtering out member fields.
Looks all good, thanks!
With Exuberant Ctags 5.9~svn20110310, your ctags command:
Produces nothing no matter what file I pass in. If I change
--c-kinds=p
to--c-kinds=+p
, then I think it does what it's meant to do. Am I not using it correctly?