Thanks I don't mean to throw tons of code line, so I extract some typical ( at least I think) function declaration lines, even in C header files they looks the same. The other lines, which I did not enclose here, can be treated by c2nim or my newbie's brain.
As for the C header files, actually I already mentioned them in ([release]binding for FLTK C dynamic library)[[https://forum.nim-lang.org/t/4561](https://forum.nim-lang.org/t/4561)]