Skip to content

Replace to use __BEGIN_DECLS and __END_DECLS #938

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

Conversation

hanton
Copy link
Contributor

@hanton hanton commented Aug 5, 2019

Replace all use cases of

#ifdef __cplusplus
extern "C" {
#endif
...
#ifdef __cplusplus
}
#endif

with

__BEGIN_DECLS 
...
__END_DECLS 

keep its usage consistent in the project.

@hanton hanton force-pushed the Replace_to_use___BEGIN_DECLS_and___END_DECLS branch from 1153925 to 5a40139 Compare August 5, 2019 03:44
@hanton hanton closed this Aug 5, 2019
@hanton hanton reopened this Aug 5, 2019
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@cuva has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@cuva merged this pull request in 0bc1ff4.

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

Successfully merging this pull request may close these issues.

2 participants