Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HAMANO Tsukasa
OpenLDAP
Commits
592b3f87
Commit
592b3f87
authored
Apr 12, 2012
by
Hallvard Furuseth
Browse files
libmdb: Add C++ 'extern "C" {}' to *.h
parent
8e1ebbb4
Changes
2
Hide whitespace changes
Inline
Side-by-side
libraries/libmdb/mdb.h
View file @
592b3f87
...
...
@@ -65,6 +65,10 @@
#include
<sys/types.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/** @defgroup public Public API
* @{
*/
...
...
@@ -976,4 +980,8 @@ int mdb_cmp(MDB_txn *txn, MDB_dbi dbi, const MDB_val *a, const MDB_val *b);
*/
int
mdb_dcmp
(
MDB_txn
*
txn
,
MDB_dbi
dbi
,
const
MDB_val
*
a
,
const
MDB_val
*
b
);
/** @} */
#ifdef __cplusplus
}
#endif
#endif
/* _MDB_H_ */
libraries/libmdb/midl.h
View file @
592b3f87
...
...
@@ -28,6 +28,10 @@
#include
<stddef.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/** @defgroup internal MDB Internals
* @{
*/
...
...
@@ -178,4 +182,7 @@ int mdb_mid2l_insert( ID2L ids, ID2 *id );
/** @} */
/** @} */
#ifdef __cplusplus
}
#endif
#endif
/* _MDB_MIDL_H_ */
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment