projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Test cleanup, extended error system to record host.
[awesomized/libmemcached]
/
libmemcached
/
common.h
diff --git
a/libmemcached/common.h
b/libmemcached/common.h
index d0a4ab4ce69d6cfc7717e70ceb34090c27b4a523..ec58fd8e2cc9c4b89cdb34c28c991cce11b66f03 100644
(file)
--- a/
libmemcached/common.h
+++ b/
libmemcached/common.h
@@
-65,16
+65,14
@@
# endif
#endif
# endif
#endif
-/* Define this here, which will turn on the visibilty controls while we're
- * building libmemcached.
- */
-#define BUILDING_LIBMEMCACHED 1
-
#include <libmemcached/memcached.h>
#include <libmemcached/watchpoint.h>
#include <libmemcached/is.h>
#include <libmemcached/memcached.h>
#include <libmemcached/watchpoint.h>
#include <libmemcached/is.h>
-#include <libmemcached/prefix_key.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
typedef struct memcached_server_st * memcached_server_write_instance_st;
typedef struct memcached_server_st * memcached_server_write_instance_st;
@@
-87,6
+85,9
@@
LIBMEMCACHED_LOCAL
memcached_return_t memcached_server_execute(memcached_st *ptr,
memcached_server_execute_fn callback,
void *context);
memcached_return_t memcached_server_execute(memcached_st *ptr,
memcached_server_execute_fn callback,
void *context);
+#ifdef __cplusplus
+} // extern "C"
+#endif
/* These are private not to be installed headers */
/* These are private not to be installed headers */