Skip to content

Commit 72ff7ba

Browse files
committed
Use extern C if C++
1 parent 718cbe0 commit 72ff7ba

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Pathfinder-Core/include/pathfinder.h

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

4+
#ifdef __cplusplus
5+
extern "C" {
6+
#endif
7+
48
#include "pathfinder/mathutil.h"
59
#include "pathfinder/structs.h"
610

@@ -16,4 +20,8 @@
1620

1721
#include "pathfinder/io.h"
1822

23+
#ifdef __cplusplus
24+
}
25+
#endif
26+
1927
#endif

0 commit comments

Comments
 (0)