projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d0cbf3
)
Missing cplusplus-wrappers in rpmtd
author
Panu Matilainen
<pmatilai@redhat.com>
Tue, 8 Jul 2008 15:13:42 +0000
(18:13 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Tue, 8 Jul 2008 15:54:29 +0000
(18:54 +0300)
lib/rpmtd.h
patch
|
blob
|
history
diff --git
a/lib/rpmtd.h
b/lib/rpmtd.h
index
afd6a17
..
0ca711f
100644
(file)
--- a/
lib/rpmtd.h
+++ b/
lib/rpmtd.h
@@
-4,6
+4,10
@@
#include <rpm/rpmtypes.h>
#include <rpm/argv.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef enum rpmtdFlags_e {
RPMTD_NONE = 0,
RPMTD_ALLOCED = (1 << 0), /* was memory allocated? */
@@
-318,4
+322,8
@@
int rpmtdFromArgi(rpmtd td, rpmTag tag, ARGI_t argi);
*/
rpmtd rpmtdDup(rpmtd td);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _RPMTD_H */