C++ support.
[yaz-moved-to-github.git] / include / prt-esp.h
index c1c7c56..7e2ad53 100644 (file)
 
 #include <yconfig.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef struct Z_OccurValues
 {
     int *start;
@@ -134,4 +138,8 @@ typedef struct Z_Espec1
 
 int z_Espec1(ODR o, Z_Espec1 **p, int opt);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif