diff --git libxavna/include/xavna.h libxavna/include/xavna.h index 376a975..fd102d2 100644 --- libxavna/include/xavna.h +++ libxavna/include/xavna.h @@ -1,6 +1,8 @@ #pragma once +#ifdef __cplusplus extern "C" { +#endif struct autoSweepDataPoint { // indexed by [port][real_or_imag] double forward[2][2], reverse[2][2]; @@ -59,5 +61,6 @@ extern "C" { // close device handle void xavna_close(void* dev); +#ifdef __cplusplus } - +#endif