[Vala] Gst.TypeFindFactory cast fails
- From: Robert Powell <rob yorba org>
- To: vala-list <vala-list gnome org>
- Subject: [Vala] Gst.TypeFindFactory cast fails
- Date: Tue, 2 Nov 2010 10:22:19 -0700
Hi,
I'm trying to use Gst.TypeFindFactory, but the cast call generates incorrect
C code.
Gst.TypeFindFactory type_find = (Gst.TypeFindFactory)feature;
generates
GstTypeFindFactory* type_find;
type_find = _gst_object_ref0 (GST_TYPEFIND_FACTORY (feature));
but gst/gsttypefindfactory.h has
#define GST_TYPE_TYPE_FIND_FACTORY
(gst_type_find_factory_get_type())
Is there any vapi magic that will tell vala to generate
GST_TYPE_TYPE_FIND_FACTORY rather than GST_TYPEFIND_FACTORY? I could not
find any combination that worked.
Thanks,
Rob
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]