Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by johnisgood

3 months ago

Are there any examples of using a C library (binding, FFI) in C3? A quick search came up empty.

3 comments

johnisgood

Reply

sparky4pro  3 months ago

Here you go: https://ebn.codeberg.page/programming/c3/c3-opengl/ This one is for OpenGL.

lerno  3 months ago

Did you see this? https://c3-lang.org/language-common/cinterop/

  • johnisgood  3 months ago

    Oops, I missed that, thank you! Seems straightforward. I will give it a spin later. :)

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities