Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples? #55

Open
fingolfin opened this issue Jan 29, 2021 · 2 comments
Open

Examples? #55

fingolfin opened this issue Jan 29, 2021 · 2 comments

Comments

@fingolfin
Copy link

I was wondering what some example packages using this might be, but then I found CBindingGen links to https://github.com/libplctag/PLCTag.jl so I guess that is one; but perhaps it would be useful to link to it in the README here, too? I always feel like having a full working example makes it easier to pick up a new technology (for me, at least).

Related to that, I was wondering if one can use CBinding also with JLLs, as are now being used more and more? Is there perhaps even a example somewhere using that? Should it work at least in principle?

@krrutkow
Copy link
Member

Yes, more documentation needs to happen. The README covers much of the nuts and bolts examples needed to use CBinding. Complete bindings for JLLs (and especially system libraries) should be dynamically created with CBindingGen. CBindingGen has a statically generated example of complete bindings to Clang_jll, so the README can reference that. But P4est and PLCTag are 2 examples of dynamically generated bindings which must be installed/built before they can be referenced.

@krrutkow
Copy link
Member

More documentation is needed, but a few examples of using the new syntax is available at: https://github.com/analytech-solutions/ExamplesUsingCBinding.jl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants