[Vala] Gst.XML vapi another bug
- From: vasaka gmail com
- To: vala-list gnome org
- Subject: [Vala] Gst.XML vapi another bug
- Date: Wed, 4 Feb 2009 14:46:48 +0200
there is several functions declared in gstreamer-0.10.vapi like
public bool parse_file (uchar[] fname, uchar[] root);
and because of such declaration one can not call it with literal
string as parametr, like that:
parse_file ("filename", null);
valac comlains that it can not convert string to uchar
if one passes uchar[] parameter to this function valac adds length of
the string to the function call and this time gcc complains about
additional parameters.
is it correct to change declararion to
public bool parse_file (string fname, string? root);
if yes I will attach a patch to bug
http://bugzilla.gnome.org/show_bug.cgi?id=539817
--
vasaka
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]