diff options
Diffstat (limited to 'spectro/huey.h')
-rw-r--r-- | spectro/huey.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spectro/huey.h b/spectro/huey.h index aec96a0..f13056b 100644 --- a/spectro/huey.h +++ b/spectro/huey.h @@ -37,6 +37,10 @@ #include "inst.h" +#ifdef __cplusplus + extern "C" { +#endif + /* Note: update huey_interp_error() and huey_interp_code() in huey.c */ /* if anything of these #defines are added or subtracted */ @@ -131,6 +135,9 @@ struct _huey { /* Constructor */ extern huey *new_huey(icoms *icom, instType itype); +#ifdef __cplusplus + } +#endif #define HUEY_H #endif /* HUEY_H */ |