[vala] posix: fix qsort binding



commit d25d97c8052838deab2f466a279a59c60794b109
Author: Ryan Lortie <desrt desrt ca>
Date:   Fri Oct 30 22:47:28 2009 -0400

    posix: fix qsort binding

 vapi/posix.vapi |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vapi/posix.vapi b/vapi/posix.vapi
index 462a39d..61822e5 100644
--- a/vapi/posix.vapi
+++ b/vapi/posix.vapi
@@ -946,7 +946,7 @@ namespace Posix {
 	[CCode (cheader_filename = "stdlib.h")]
 	public int system (string command);
 
-	public delegate int compar_fn_t (void* key1, void* key2);
+	public static delegate int compar_fn_t (void* key1, void* key2);
 
 	[CCode (cheader_filename = "stdlib.h")]
 	public void* bsearch (void* key, void* base, size_t nmemb, size_t size, compar_fn_t func);



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