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
C++ support.
[yaz-moved-to-github.git]
/
include
/
prt-dia.h
diff --git
a/include/prt-dia.h
b/include/prt-dia.h
index
a7e80d2
..
e971786
100644
(file)
--- a/
include/prt-dia.h
+++ b/
include/prt-dia.h
@@
-30,6
+30,10
@@
#include <yconfig.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef struct Z_TooMany
{
int *tooManyWhat;
@@
-324,4
+328,8
@@
typedef struct Z_DiagnosticFormat
int z_DiagnosticFormat(ODR o, Z_DiagnosticFormat **p, int opt);
+#ifdef __cplusplus
+}
+#endif
+
#endif