Skip to content

Commit 3971030

Browse files
authored
Merge pull request #2855 from froydnj/froydnj-cplusplus-extern-c
add `extern "C"` wrapping to `rbs.h` when using C++
2 parents 02e13fe + 0ec0ba7 commit 3971030

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

include/rbs.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
11
#ifndef RBS_H
22
#define RBS_H
33

4+
#ifdef __cplusplus
5+
extern "C" {
6+
#endif
7+
48
#include "rbs/parser.h"
59

10+
#ifdef __cplusplus
11+
}
12+
#endif
13+
614
#endif

0 commit comments

Comments
 (0)