Skip to content

Commit 0ec0ba7

Browse files
committed
add extern "C" wrapping to rbs.h when using C++
1 parent 413dd2b commit 0ec0ba7

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)