Skip to content

wrap header file in extern C scope #1

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

Merged
merged 1 commit into from
Aug 13, 2015
Merged

wrap header file in extern C scope #1

merged 1 commit into from
Aug 13, 2015

Conversation

joycepg
Copy link
Owner

@joycepg joycepg commented Aug 13, 2015

C functions need to be included within extern "C" { } to avoid the compiler mangling the names.
__cplusplus is always defined by C++ compilers.

C functions need to be included within extern "C" { } to avoid the compiler mangling the names.
__cplusplus is always defined by C++ compilers.
joycepg added a commit that referenced this pull request Aug 13, 2015
wrap header file in extern C scope
@joycepg joycepg merged commit d6a7825 into master Aug 13, 2015
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.

1 participant