> My first test (http://live.gnome.org/Vala/BasicSample) declare private > structure in public classe structure : > > [in header file] > struct _Sample { > GObject parent_instance; > SamplePrivate * priv; > }; > > But I don't found SamplePrivate definition... I re-check tomorow. >
Yes, this is correct. The Sample class does not actually contain private members, which means vala would have to create an empty SamplePrivate C struct. The definition and usage is in this case left out. Hans _______________________________________________ Vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
