commit 982c1e69ded443de9dafebf6e6935d432e9cb779
parent 55d415547d61699cf204c31f1c944e3c98a7777c
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 30 Sep 2019 10:59:50 +0200
Make the header compatible with C++
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/s3dut.h b/src/s3dut.h
@@ -64,6 +64,8 @@ enum s3dut_cap_flag {
S3DUT_CAP_POS_Z = BIT(1)
};
+BEGIN_DECLS
+
/*******************************************************************************
* Stard-3DUT API
******************************************************************************/
@@ -247,4 +249,6 @@ s3dut_create_thick_truncated_super_shape
const int cap_mask, /* Combination of s3dut_cap_flag. Ignored if no clamp */
struct s3dut_mesh** super_shape);
+END_DECLS
+
#endif /* S3DUT_H */