projects
/
yaz-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed type of a few variables to avoid warnings.
[yaz-moved-to-github.git]
/
include
/
prt-esp.h
diff --git
a/include/prt-esp.h
b/include/prt-esp.h
index
c1c7c56
..
3459ffb
100644
(file)
--- a/
include/prt-esp.h
+++ b/
include/prt-esp.h
@@
-30,6
+30,10
@@
#include <yconfig.h>
#include <yconfig.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct Z_OccurValues
{
int *start;
typedef struct Z_OccurValues
{
int *start;
@@
-132,6
+136,10
@@
typedef struct Z_Espec1
Z_ElementRequest **elements; /* OPTIONAL */
} Z_Espec1;
Z_ElementRequest **elements; /* OPTIONAL */
} Z_Espec1;
-int z_Espec1(ODR o, Z_Espec1 **p, int opt);
+YAZ_EXPORT int z_Espec1(ODR o, Z_Espec1 **p, int opt);
+
+#ifdef __cplusplus
+}
+#endif
#endif
#endif