While this is technically possible, it's not something I recommend doing.
In my experience, going C -> NIm is better than going Nim -> C. The usually better way of handling C library / source code is to make a Nim wrapper of it and then fully work with Nim. There are no things you can do in C you can't do in Nim and the code is usually cleaner.
