Skip to content

wrap header file in extern C scope - #1

Merged
joycepg merged 1 commit into
masterfrom
extern-C
Aug 13, 2015
Merged

wrap header file in extern C scope#1
joycepg merged 1 commit into
masterfrom
extern-C

Conversation

@joycepg

@joycepg joycepg commented Aug 13, 2015

Copy link
Copy Markdown
Owner

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