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 a C API #39

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Add a C API #39

wants to merge 7 commits into from

Conversation

jdm
Copy link

@jdm jdm commented Oct 17, 2015

This should make it possible to use the library from any language with a C-compatible FFI.

@jdm
Copy link
Author

jdm commented Oct 17, 2015

Resolves #38.

@jdm jdm force-pushed the capi branch 3 times, most recently from a203fa0 to 15e277b Compare October 17, 2015 18:33
@jdm
Copy link
Author

jdm commented Oct 17, 2015

Hmm, I should have designed this API by looking at examples/main.rs instead of Yoric/servo@70f90d0 :<

@jdm jdm force-pushed the capi branch 2 times, most recently from 2d2ac76 to f7b61fb Compare October 17, 2015 19:29
@jdm jdm force-pushed the capi branch 6 times, most recently from 77e9710 to f3c72d7 Compare October 17, 2015 19:54
@Yoric
Copy link
Owner

Yoric commented Oct 21, 2015

Thanks a lot for the PR. I'll try and review it by tomorrow.

libc = "0"

[dependencies.telemetry]
path = "../"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: newline?

@Yoric
Copy link
Owner

Yoric commented Dec 9, 2015

I'm not pulling yet as I'm discussing with the Telemetry team about changes in the histograms that would probably require several API changes.

@jdm
Copy link
Author

jdm commented Dec 9, 2015

Yep, that makes sense. I also started to address your comments as well as support less trivial types of histograms and got stuck.

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