Open
Description
I have a pure C library with structs and functions.
I just want to generate minimal bindings without any encapsulation and handle the higher level myself.
I'm looking for this kind of layout:
internal static class ModuleName
{
[DllImport( CallingConvention = CallingConvention.Cdecl)]
internal static unsafe extern CFunction(ref byte* ptr);
}
Having read the availlable docs, it's not clear to me how to achieve this