diff options
Diffstat (limited to 'spectro/dtp22.h')
-rw-r--r-- | spectro/dtp22.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spectro/dtp22.h b/spectro/dtp22.h index 95dce16..af565e8 100644 --- a/spectro/dtp22.h +++ b/spectro/dtp22.h @@ -35,6 +35,10 @@ #include "inst.h" +#ifdef __cplusplus + extern "C" { +#endif + /* Note: update dtp22_interp_error() and dtp22_interp_code() in dtp22.c */ /* if anything of these #defines are added or subtracted */ @@ -95,11 +99,17 @@ struct _dtp22 { int noutocalib; /* Don't mode change or auto calibrate */ inst_opt_type trig; /* Reading trigger mode */ + xcalstd native_calstd; /* Instrument native calibration standard */ + xcalstd target_calstd; /* Returned calibration standard */ + }; typedef struct _dtp22 dtp22; /* Constructor */ extern dtp22 *new_dtp22(icoms *icom, instType itype); +#ifdef __cplusplus + } +#endif #define DTP22_H #endif /* DTP22_H */ |