From: Brian Aker Date: Thu, 21 Jun 2012 05:48:37 +0000 (-0400) Subject: Fix exists. X-Git-Tag: 1.0.9~12 X-Git-Url: https://git.m6w6.name/?p=m6w6%2Flibmemcached;a=commitdiff_plain;h=299c04f7d92895d0ec5e1cce437d19b3334b75ac Fix exists. --- diff --git a/libmemcached-1.0/exist.h b/libmemcached-1.0/exist.h index 5c60105a..ef60a81a 100644 --- a/libmemcached-1.0/exist.h +++ b/libmemcached-1.0/exist.h @@ -36,6 +36,10 @@ #pragma once +#ifdef __cplusplus +extern "C" { +#endif + LIBMEMCACHED_API memcached_return_t memcached_exist(memcached_st *memc, const char *key, size_t key_length); @@ -43,3 +47,6 @@ LIBMEMCACHED_API memcached_return_t memcached_exist_by_key(memcached_st *memc, const char *group_key, size_t group_key_length, const char *key, size_t key_length); +#ifdef __cplusplus +} +#endif