projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add C++ support to API header files
[lttng-tools.git]
/
include
/
lttng
/
lttng-error.h
diff --git
a/include/lttng/lttng-error.h
b/include/lttng/lttng-error.h
index 0e1730a33c895fb4b3c32c5be2199cca0775117c..3c28d160337bd3fd0f6de29cc0b1b8bb2b3b949c 100644
(file)
--- a/
include/lttng/lttng-error.h
+++ b/
include/lttng/lttng-error.h
@@
-25,6
+25,10
@@
#ifndef LTTNG_ERROR_H
#define LTTNG_ERROR_H
#ifndef LTTNG_ERROR_H
#define LTTNG_ERROR_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum lttng_error_code {
LTTNG_OK = 10, /* Ok */
LTTNG_ERR_UNK = 11, /* Unknown Error */
enum lttng_error_code {
LTTNG_OK = 10, /* Ok */
LTTNG_ERR_UNK = 11, /* Unknown Error */
@@
-131,4
+135,8
@@
enum lttng_error_code {
LTTNG_ERR_NR, /* Last element */
};
LTTNG_ERR_NR, /* Last element */
};
+#ifdef __cplusplus
+}
+#endif
+
#endif /* LTTNG_ERROR_H */
#endif /* LTTNG_ERROR_H */
This page took
0.024972 seconds
and
5
git commands to generate.