projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: C++ support to API header files
[babeltrace.git]
/
include
/
babeltrace
/
format.h
diff --git
a/include/babeltrace/format.h
b/include/babeltrace/format.h
index 4ace0b04563067a56187063299a3bc3679995a93..ef340da115b9432abdad0f35d6e5e94a3d23e52b 100644
(file)
--- a/
include/babeltrace/format.h
+++ b/
include/babeltrace/format.h
@@
-26,6
+26,10
@@
#include <stdint.h>
#include <stdio.h>
#include <stdint.h>
#include <stdio.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
typedef int bt_intern_str;
/* forward declaration */
typedef int bt_intern_str;
/* forward declaration */
@@
-75,5
+79,8
@@
extern void bt_fprintf_format_list(FILE *fp);
extern int bt_register_format(struct format *format);
/* TBD: format unregistration */
extern int bt_register_format(struct format *format);
/* TBD: format unregistration */
+#ifdef __cplusplus
+}
+#endif
#endif /* _BABELTRACE_FORMAT_H */
#endif /* _BABELTRACE_FORMAT_H */
This page took
0.023143 seconds
and
4
git commands to generate.