projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
876ebb3
)
Make the event header file work under C++.
author
Joshua Colp
<jcolp@digium.com>
Wed, 29 Aug 2007 21:55:15 +0000
(21:55 +0000)
committer
Joshua Colp
<jcolp@digium.com>
Wed, 29 Aug 2007 21:55:15 +0000
(21:55 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81364
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
include/asterisk/event.h
patch
|
blob
|
history
diff --git
a/include/asterisk/event.h
b/include/asterisk/event.h
index
3133234
..
86d3358
100644
(file)
--- a/
include/asterisk/event.h
+++ b/
include/asterisk/event.h
@@
-53,6
+53,10
@@
#ifndef AST_EVENT_H
#define AST_EVENT_H
+#if defined(__cplusplus) || defined(c_plusplus)
+extern "C" {
+#endif
+
#include "asterisk/event_defs.h"
/*!
@@
-470,4
+474,8
@@
const char *ast_event_iterator_get_ie_str(struct ast_event_iterator *iterator);
*/
void *ast_event_iterator_get_ie_raw(struct ast_event_iterator *iterator);
+#if defined(__cplusplus) || defined(c_plusplus)
+}
+#endif
+
#endif /* AST_EVENT_H */