[Vala] vala-gen-introspect struct vs. object
- From: "W. Michael Petullo" <mike flyn org>
- To: vala-list gnome org
- Subject: [Vala] vala-gen-introspect struct vs. object
- Date: Mon, 3 Jan 2011 15:32:54 -0600
How does vala-gen-introspect differentiate between a basic struct and
an object? I am trying to generate a Vala API file for an object, but
vala-gen-introspect is classifying it as a struct:
<struct name="DMAPGstInputStream">
<method name="new" symbol="dmap_gst_input_stream_new">
<return-type type="GInputStream*"/>
<parameters>
<parameter name="transcode_mimetype" type="gchar*"/>
<parameter name="src_stream" type="GInputStream*"/>
</parameters>
</method>
<method name="new_buffer_cb" symbol="dmap_gst_input_stream_new_buffer_cb">
<return-type type="void"/>
<parameters>
<parameter name="element" type="GstElement*"/>
<parameter name="stream" type="DMAPGstInputStream*"/>
</parameters>
</method>
<field name="parent" type="GInputStream"/>
<field name="priv" type="DMAPGstInputStreamPrivate*"/>
</struct>
The object works fine in C, but I suspect I am naming something in a
non-standard way and this is confusing vala-gen-introspect. I just can't
figure out what.
--
Mike
:wq
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]