[libgee] gee: move the delegates into the Gee namespace.



commit 366fbafe7eb820b8faff6e3b2276834c94bd2fe0
Author: Alban Browaeys <prahal yahoo com>
Date:   Tue Aug 17 17:54:18 2010 +0200

    gee: move the delegates into the Gee namespace.
    
    Fix for the gir generation breakage where callbacks where
    out of the namespace.

 gee/hashset.vala |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/gee/hashset.vala b/gee/hashset.vala
index c2c0e04..be86a10 100644
--- a/gee/hashset.vala
+++ b/gee/hashset.vala
@@ -24,8 +24,10 @@
 
 using GLib;
 
-public delegate uint HashDataFunc (void* v);
-public delegate bool EqualDataFunc (void* a, void* b);
+namespace Gee {
+	public delegate uint HashDataFunc (void* v);
+	public delegate bool EqualDataFunc (void* a, void* b);
+}
 
 /**
  * Hash table implementation of the { link Set} interface.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]