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

ocaml headers should have extern "C" decl #4075

Closed
vicuna opened this issue Aug 3, 2006 · 2 comments
Closed

ocaml headers should have extern "C" decl #4075

vicuna opened this issue Aug 3, 2006 · 2 comments

Comments

@vicuna
Copy link

vicuna commented Aug 3, 2006

Original bug ID: 4075
Reporter: merimus
Status: closed (set by @damiendoligez on 2006-08-29T14:43:14Z)
Resolution: won't fix
Priority: normal
Severity: trivial
Version: 3.09.2
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @mmottl

Bug description

The ocaml headers should have extern "C" wrappers. Otherwise using ocaml with c++ is rather difficult.

@vicuna
Copy link
Author

vicuna commented Aug 6, 2006

Comment author: @mmottl

I agree it would be more convenient that way, but it's not terribly inconvenient to just put the #include statements into an 'extern "C"' block.

@vicuna
Copy link
Author

vicuna commented Aug 29, 2006

Comment author: @damiendoligez

We agree with Markus: just put the 'extern "C"' around the #include.

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

No branches or pull requests

1 participant