declare HashFunc and EqualFunc as callback functions, patch by David
authorRaffaele Sandrini <rasa@gmx.ch>
Wed, 28 Mar 2007 12:09:46 +0000 (12:09 +0000)
committerRaffaele Sandrini <rasa@src.gnome.org>
Wed, 28 Mar 2007 12:09:46 +0000 (12:09 +0000)
2007-03-28  Raffaele Sandrini  <rasa@gmx.ch>

* vapi/glib-2.0.vala: declare HashFunc and EqualFunc as callback
  functions, patch by David Keijser

svn path=/trunk/; revision=269

vala/ChangeLog
vala/vapi/glib-2.0.vala

index 6e52882..37078c4 100644 (file)
@@ -1,3 +1,8 @@
+2007-03-28  Raffaele Sandrini  <rasa@gmx.ch>
+
+       * vapi/glib-2.0.vala: declare HashFunc and EqualFunc as callback
+         functions, patch by David Keijser
+
 2007-03-25  Raffaele Sandrini  <rasa@gmx.ch>
 
        * vapi/vte.vala, vapi/vte.deps: add vte binding
index cd2ad40..40afd1a 100644 (file)
@@ -1387,11 +1387,8 @@ namespace GLib {
                public bool remove (K key);
        }
        
-       public struct HashFunc {
-       }
-       
-       public struct EqualFunc {
-       }
+       public callback uint HashFunc (pointer key);
+       public callback bool EqualFunc (pointer a, pointer b);
        
        public callback void DestroyNotify (pointer data);