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

Add C examples #40

Open
taozuhong opened this issue Aug 8, 2023 · 2 comments
Open

Add C examples #40

taozuhong opened this issue Aug 8, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@taozuhong
Copy link

Could you please add C example for us?

@KrzaQ
Copy link
Contributor

KrzaQ commented Aug 8, 2023

We can do this. There are 2 scenarios to consider:

  • you do have a C++ compiler available, then you can make a separate compilation unit (a .cpp file) that exposes a function called init_crashpad() or something like that and internally does what our examples do
  • you do not have a C++ compiler available, then you'd need our Crashpad fork to expose a C API. That'll require a bit more work on our side.

Which scenario is applicable to you?

@taozuhong
Copy link
Author

taozuhong commented Aug 8, 2023

you do not have a C++ compiler available, then you'd need our Crashpad fork to expose a C API. That'll require a bit more work on our side.

We are using Vala and C compiler only, so please help to expose a C API.

@gm4sl gm4sl added the enhancement New feature or request label Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants