[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Vala] Some implementation questions
- From: gege2061 <gege2061 redaction-developpez com>
- To: "Hans Vercammen" <hveso3 gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Some implementation questions
- Date: Tue, 22 Jan 2008 21:15:39 +0100
2008/1/21, Hans Vercammen <hveso3 gmail com>:
> > 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.
>
Ok, I did not know that it compiled in C.
--
Nicolas Joseph
Responsable de la rubrique GTK+ de developpez.com
http://nicolasj.developpez.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]