neelance / ffi_gen

A generator for Ruby FFI bindings, directly from header files via LLVM's Clang compiler
MIT License
88 stars 26 forks source link

Support /* */ comments #9

Closed ingeniarius closed 12 years ago

ingeniarius commented 12 years ago

Is it possible to support /* */ comments? For example you can see libssh2.h :)

neelance commented 12 years ago

They are already supported. But I do not process all comments, only those that belong to some declaration, thus those that can be read by yard. Maybe it does not work for some special cases yet. Which doc comment is missing for you? And please check my test/headers/libssh2.h and test/output/libssh2.rb if it is the same case there, because I've taken my test headers from my distribution and they seem to differ from those you use.

ingeniarius commented 12 years ago

Oh, yes! I see some comments are present. I mean comments around some constants. BTW I think, it not so necessary, so you can close this issue.

neelance commented 12 years ago

Okay.