X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=libmemcached%2Fnamespace.h;h=0c98ce4c8192d4044074d2a275c511f2282c738e;hb=bd8a989e9f0d0c115ae771732c9199589e3043fd;hp=60cddd6513993c788d7b4705da83f75c3ffcf8e2;hpb=9cd57ce737375540f6c3b5e2e3684160e5c4bfce;p=awesomized%2Flibmemcached diff --git a/libmemcached/namespace.h b/libmemcached/namespace.h index 60cddd65..0c98ce4c 100644 --- a/libmemcached/namespace.h +++ b/libmemcached/namespace.h @@ -38,12 +38,9 @@ #pragma once #ifdef __cplusplus -extern "C" { -#endif -LIBMEMCACHED_LOCAL - memcached_return_t memcached_set_namespace(memcached_st *self, const char *str, size_t length); +memcached_return_t memcached_set_namespace(Memcached&, const char *str, size_t length); -#ifdef __cplusplus -} -#endif +const char * memcached_get_namespace(Memcached&); + +#endif // __cplusplus