[vala] glib-2.0: AsyncQueue.try_pop() and timed_pop() may return null
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] glib-2.0: AsyncQueue.try_pop() and timed_pop() may return null
- Date: Thu, 2 Feb 2012 14:48:34 +0000 (UTC)
commit 206ab85db95d4ef22c861dca3be2e0a325ef4bb1
Author: Alexander Kurtz <kurtz alex googlemail com>
Date: Thu Feb 2 14:26:04 2012 +0100
glib-2.0: AsyncQueue.try_pop() and timed_pop() may return null
Fixes bug 669242.
vapi/glib-2.0.vapi | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/vapi/glib-2.0.vapi b/vapi/glib-2.0.vapi
index a428bb1..9cd49a0 100644
--- a/vapi/glib-2.0.vapi
+++ b/vapi/glib-2.0.vapi
@@ -1968,8 +1968,8 @@ namespace GLib {
public void push (owned G data);
public void push_sorted (owned G data, CompareDataFunc<G> func);
public G pop ();
- public G try_pop ();
- public G timed_pop (ref TimeVal end_time);
+ public G? try_pop ();
+ public G? timed_pop (ref TimeVal end_time);
public int length ();
public void sort (CompareDataFunc<G> func);
public void @lock ();
@@ -1979,8 +1979,8 @@ namespace GLib {
public void push_unlocked (owned G data);
public void push_sorted_unlocked (owned G data, CompareDataFunc<G> func);
public G pop_unlocked ();
- public G try_pop_unlocked ();
- public G timed_pop_unlocked (ref TimeVal end_time);
+ public G? try_pop_unlocked ();
+ public G? timed_pop_unlocked (ref TimeVal end_time);
public int length_unlocked ();
public void sort_unlocked (CompareDataFunc<G> func);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]