X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=test%2Ffixtures%2Fcallbacks.hpp;h=06b145a5fb3eaadc474737879e38f3b643bbaa80;hb=6419faad5dc007434967398a5d1a3f26ca109e41;hp=5e01c4b467c7a72dad03507814de224796264ebb;hpb=fb3710011600c04359d26615be7a92df1742a3e9;p=awesomized%2Flibmemcached diff --git a/test/fixtures/callbacks.hpp b/test/fixtures/callbacks.hpp index 5e01c4b4..06b145a5 100644 --- a/test/fixtures/callbacks.hpp +++ b/test/fixtures/callbacks.hpp @@ -13,6 +13,8 @@ +--------------------------------------------------------------------+ */ +#pragma once + #include "test/lib/common.hpp" #include "libmemcached/common.h" #include "libmemcachedutil/common.h" @@ -49,7 +51,7 @@ static inline memcached_return_t delete_trigger(memcached_st *, const char *, si return MEMCACHED_SUCCESS; } -static inline memcached_return_t read_through_trigger(memcached_st *, char *, size_t, +static inline memcached_return_t get_failure(memcached_st *, char *, size_t, memcached_result_st *result) { return memcached_result_set_value(result, S("updated by read through trigger")); }