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-ext.h
diff --git
a/include/prt-ext.h
b/include/prt-ext.h
index
5fb4729
..
30b2541
100644
(file)
--- a/
include/prt-ext.h
+++ b/
include/prt-ext.h
@@
-34,6
+34,10
@@
#include <yconfig.h>
#include <yconfig.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Used to keep track of known External definitions (a loose approach
* to DEFINED_BY).
/*
* Used to keep track of known External definitions (a loose approach
* to DEFINED_BY).
@@
-98,4
+102,8
@@
struct Z_External
int z_External(ODR o, Z_External **p, int opt);
Z_ext_typeent *z_ext_getentbyref(oid_value val);
int z_External(ODR o, Z_External **p, int opt);
Z_ext_typeent *z_ext_getentbyref(oid_value val);
+#ifdef __cplusplus
+}
+#endif
+
#endif
#endif