Creating .NET Bindings for C Libraries with ObjectiveSharpie

1 · Miguel de Icaza · Jan. 19, 2017, 3:13 a.m.
We created the ObjectiveSharpie tool to automate the mapping of Objective-C APIs to the .NET world. This is the tool that we use to keep up with Apple APIs. One of the lesser known features of ObjectiveSharpie, is that it is not limited to binding Objective-C header files. It is also capable of creating definitions for C APIs. To do this, merely use the "bind" command for ObjectiveSharpie and run it on the header file for the API that you want to bind: sharpie bind c-api.h -o b...