Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yushin Cho
aom-rav1e
Commits
d9a9c45b
Commit
d9a9c45b
authored
Jan 17, 2014
by
James Zern
Browse files
rtcd.sh: add extern "C" to generated headers
Change-Id: Ifb30518555402eb473c3fde81bc860fbe17851dd
parent
9c8b74f1
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/make/rtcd.sh
View file @
d9a9c45b
...
...
@@ -209,6 +209,10 @@ common_top() {
#define RTCD_EXTERN extern
#endif
#ifdef __cplusplus
extern "C" {
#endif
$(
process_forward_decls
)
$(
declare_function_pointers c
$ALL_ARCHS
)
...
...
@@ -219,6 +223,11 @@ EOF
common_bottom
()
{
cat
<<
EOF
#ifdef __cplusplus
} // extern "C"
#endif
#endif
EOF
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment