[vala-extra-vapis] Fixes get in libmemcached.vapi.
- From: Evan Nemerson <evann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala-extra-vapis] Fixes get in libmemcached.vapi.
- Date: Mon, 10 Aug 2015 18:48:32 +0000 (UTC)
commit 0d1d9a8c6d45da8e7463bb810ea6e02c7372a73f
Author: Guillaume Poirier-Morency <guillaumepoiriermorency gmail com>
Date: Sat Jul 4 23:40:43 2015 -0400
Fixes get in libmemcached.vapi.
NULL is returned when an error occur and 'size_t' has to be specified
for the key size.
libmemcached.vapi | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libmemcached.vapi b/libmemcached.vapi
index 83b4f3a..32b0e7a 100644
--- a/libmemcached.vapi
+++ b/libmemcached.vapi
@@ -85,8 +85,10 @@ namespace Memcached {
// get.h
[CCode (array_length_pos = 1.5, array_length_type = "size_t")]
- public uint8[] get (uint8[] key, out uint32 flags, out Memcached.ReturnCode error);
+ public uint8[]? @get ([CCode (array_length_type = "size_t")] uint8[] key, out uint32 flags, out
Memcached.ReturnCode error);
public Memcached.ReturnCode mget ([CCode (array_length_type = "size_t", array_length_pos = 2.5)]
uint8*[] keys, [CCode (array_length = false)] size_t[] keys_length);
+ [CCode (array_length_pos = 2.5, array_length_type = "size_t")]
+ public uint8[]? get_by_key ([CCode (array_length_type = "size_t")] uint8[] group_key, [CCode
(array_length_type = "size_t")] uint8[] key, out uint32 flags, out Memcached.ReturnCode error);
// server.h
public Memcached.Instance server_by_key ([CCode (array_length_type = "size_t")] uint8[] key, out
Memcached.ReturnCode error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]