Automatically creating C# wrappers from c headers?
- by Winner
Is there a way to automatically create p/invoke wrappers for .net from a c header?
Of course I could create them by hand, but maintaining them would be painful, and I'd probably make a mistake somewhere resulting in hard to debug crashes.
I tried SWIG, but it created full classes where simple structs would be sufficient.
I'd prefer if the output worked on mono too, but that is not necessary.