bottlenoselabs / c2cs

Generate C# bindings from a C header.
MIT License
245 stars 18 forks source link

Automate bindings for Objective C #84

Closed lithiumtoast closed 1 year ago

lithiumtoast commented 2 years ago

Look into /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/include/objc/NSObject.h and see if libclang can parse it. If yes, then next is can C2CS leverage libclang to some how generate C# bindings for ObjectiveC code.

lithiumtoast commented 1 year ago

It is possible, but I decided it is beyond the scope of this project.