diff options
Diffstat (limited to 'spectro/dtp20.h')
-rw-r--r-- | spectro/dtp20.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/spectro/dtp20.h b/spectro/dtp20.h index c575c67..a8b6862 100644 --- a/spectro/dtp20.h +++ b/spectro/dtp20.h @@ -37,6 +37,10 @@ #include "inst.h" +#ifdef __cplusplus + extern "C" { +#endif + /* Fake Error codes */ #define DTP20_INTERNAL_ERROR 0x81 /* Internal software error */ #define DTP20_COMS_FAIL 0x82 /* Communication failure */ @@ -128,12 +132,17 @@ struct _dtp20 { int savix; /* Index of last saved spot reading read */ + xcalstd native_calstd; /* Instrument native calibration standard */ + xcalstd target_calstd; /* Returned calibration standard */ + }; typedef struct _dtp20 dtp20; /* Constructor */ extern dtp20 *new_dtp20(icoms *icom, instType itype); - +#ifdef __cplusplus + } +#endif #define DTP20_H #endif /* DTP20_H */ |