Writing C# extensions for C code using SWIG.