Skip to content

C bindings#52

Draft
Raupinger wants to merge 7 commits into
asivery:masterfrom
Raupinger:c-bindings
Draft

C bindings#52
Raupinger wants to merge 7 commits into
asivery:masterfrom
Raupinger:c-bindings

Conversation

@Raupinger
Copy link
Copy Markdown

run cargo cbuild in the c directory to generate the headers and pkg-config file. That just dumps it into the target dir though, which is a bit suboptimal.

so far ive only built this on my desktop,

were probably gonna want an example for this as well

@Raupinger Raupinger force-pushed the c-bindings branch 5 times, most recently from ff51181 to 8480244 Compare May 13, 2026 21:32
@geloescht
Copy link
Copy Markdown
Contributor

The function names might be a bit too generic and symbol names like create_connection might conflict. Since C doesn't have namespaces, maybe add "qtfb_" prefixes?

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

Successfully merging this pull request may close these issues.

2 participants