From 3db384424bd7398ffbb7a355cab8f15f3add009f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 2 Oct 2016 19:24:58 +0200 Subject: New upstream version 1.9.1+repack --- spectro/ex1.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'spectro/ex1.h') diff --git a/spectro/ex1.h b/spectro/ex1.h index d69b7ca..a278777 100644 --- a/spectro/ex1.h +++ b/spectro/ex1.h @@ -37,6 +37,10 @@ #include "inst.h" +#ifdef __cplusplus + extern "C" { +#endif + /* Communication errors */ #define EX1_TIMEOUT 0xFF02 /* Communication timeout */ #define EX1_COMS_FAIL 0xFF03 /* Communication failure */ @@ -143,6 +147,9 @@ struct _ex1 { /* Constructor */ extern ex1 *new_ex1(icoms *icom, instType itype); +#ifdef __cplusplus + } +#endif #define EX1_H #endif /* EX1_H */ -- cgit v1.2.3