fpco / inline-c

284 stars 51 forks source link

inline-c-objc package for Objective-C support (fixes #142) #143

Closed yairchu closed 1 year ago

yairchu commented 1 year ago

Let me know if anything should be done differently.

Note that I believe this will mostly be used to interface with macOS/iOS APIs, so I haven't tried testing it platforms other than macOS.

junjihashimoto commented 1 year ago

Hi, inline-c has a flag to parse c++. If this test does not work, you should update the parser of inline-c. https://github.com/fpco/inline-c/blob/master/inline-c/src/Language/C/Types/Parse.hs#L126

yairchu commented 1 year ago

If this test does not work

Which test?

bitonic commented 1 year ago

Thanks, I'll try to take a look this weekend.

yairchu commented 1 year ago

Thanks!

~I have no real rush as for my problem I ended up using C APIs only but it will hopefully be useful for others :)~

Edit: Lamdu ended up using this :)

bitonic commented 1 year ago

Thanks!

bitonic commented 1 year ago

https://hackage.haskell.org/package/inline-c-objc-0.1.0.0