]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
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 6e52882fab1c49453d8da58d3ff954a8c5ef7c9b..37078c41b64740c9f773900999b1c6e4595c4731 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 cd2ad4094541f323b4b62139ff1f8c801f95c1de..40afd1ae444f6613606cea308c7f0d1df256449b 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);