2010/2/18, Nor Jaidi Tuah <[email protected]>:
> Vala version: 0.7.10
>
>  Problem:
>  ========
>  Posix.qsort (an_array, an_array.length, sizeof_array_element, cmp);
>
>  is compiled to:
>
>  qsort(.... 5 arguments, the last of which is cmp_target ....)
>
>  This didn't happen with version 0.7.8.
You should replace :
    public static delegate int compar_fn_t (void* key1, void* key2);
in posix.vapi with :
    [CCode (has_target=false)]
    public delegate int compar_fn_t (void* key1, void* key2);
This may be fixed already in git, if not, it needs to be fixed.

HTH,
Abderrahim
_______________________________________________
Vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list

Reply via email to