OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5d575c
)
Allow C++ code to check bt_stack_config options
author
Myles Watson
<mylesgw@google.com>
Thu, 5 May 2016 18:57:54 +0000
(11:57 -0700)
committer
Myles Watson
<mylesgw@google.com>
Thu, 5 May 2016 19:06:42 +0000
(12:06 -0700)
Stack configuration options are parsed in C.
Bug:
28485365
Change-Id: I046ef5c676256a8da23bf8c0a7d1eeb1e9603c05
include/stack_config.h
patch
|
blob
|
history
diff --git
a/include/stack_config.h
b/include/stack_config.h
index
a211634
..
ff7f955
100644
(file)
--- a/
include/stack_config.h
+++ b/
include/stack_config.h
@@
-23,6
+23,10
@@
#include "osi/include/config.h"
#include "module.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
static const char STACK_CONFIG_MODULE[] = "stack_config_module";
typedef struct {
@@
-34,3
+38,7
@@
typedef struct {
} stack_config_t;
const stack_config_t *stack_config_get_interface();
+
+#ifdef __cplusplus
+}
+#endif