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/dtp51.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'spectro/dtp51.h') diff --git a/spectro/dtp51.h b/spectro/dtp51.h index 329c5d6..804b8ae 100644 --- a/spectro/dtp51.h +++ b/spectro/dtp51.h @@ -35,6 +35,10 @@ #include "inst.h" +#ifdef __cplusplus + extern "C" { +#endif + /* Fake Error codes */ #define DTP51_INTERNAL_ERROR 0x61 /* Internal software error */ #define DTP51_COMS_FAIL 0x62 /* Communication failure */ @@ -91,12 +95,16 @@ struct _dtp51 { int need_cal; /* needs calibration */ inst_opt_type trig; /* Reading trigger mode */ - }; typedef struct _dtp51 dtp51; + xcalstd native_calstd; /* Instrument native calibration standard */ + +}; typedef struct _dtp51 dtp51; /* Constructor */ extern dtp51 *new_dtp51(icoms *icom, instType itype); - +#ifdef __cplusplus + } +#endif #define DTP51_H #endif /* DTP51_H */ -- cgit v1.2.3