Commit 1383ab9f authored by Rico Tzschichholz's avatar Rico Tzschichholz

glib-2.0: Cast strcmp to GCompareFunc

This will silence some incompatible pointer type warnings.
parent 5211ef74
......@@ -4639,7 +4639,7 @@ namespace GLib {
public delegate int CompareDataFunc<G> (G a, G b);
[Version (since = "2.16")]
[CCode (cname = "g_strcmp0")]
[CCode (cname = "((GCompareFunc) g_strcmp0)")]
public static GLib.CompareFunc<string> strcmp;
public delegate G CopyFunc<G> (G src);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment