From: Raffaele Sandrini Date: Wed, 28 Mar 2007 12:09:46 +0000 (+0000) Subject: declare HashFunc and EqualFunc as callback functions, patch by David X-Git-Tag: VALA_0_0_9~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=221a5b2996900ed05c3e121dfd3759e4f0e3af41;p=thirdparty%2Fvala.git declare HashFunc and EqualFunc as callback functions, patch by David 2007-03-28 Raffaele Sandrini * vapi/glib-2.0.vala: declare HashFunc and EqualFunc as callback functions, patch by David Keijser svn path=/trunk/; revision=269 --- diff --git a/vala/ChangeLog b/vala/ChangeLog index 6e52882fa..37078c41b 100644 --- a/vala/ChangeLog +++ b/vala/ChangeLog @@ -1,3 +1,8 @@ +2007-03-28 Raffaele Sandrini + + * vapi/glib-2.0.vala: declare HashFunc and EqualFunc as callback + functions, patch by David Keijser + 2007-03-25 Raffaele Sandrini * vapi/vte.vala, vapi/vte.deps: add vte binding diff --git a/vala/vapi/glib-2.0.vala b/vala/vapi/glib-2.0.vala index cd2ad4094..40afd1ae4 100644 --- a/vala/vapi/glib-2.0.vala +++ b/vala/vapi/glib-2.0.vala @@ -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);