On Mon, 2008-01-21 at 17:00 +0100, Hans Vercammen wrote:
> Just realized you probably ment the o->free () in relation to pointers
>
> Object* o = new Object();
> o->free ();
>
> I don't know why keyword delete isn't used, maybe this can be supported
> in future?
We're planning to add support for
2008/1/21, Hans Vercammen <[EMAIL PROTECTED]>:
> > 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
> 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.
>
Y
2008/1/21, Hans Vercammen <[EMAIL PROTECTED]>:
>
> > - Why do not use g_type_class_add_private for class private members ?
>
> This should normally be the case when you derive from GLib.Object
My first test (http://live.gnome.org/Vala/BasicSample) declare private
structure in public classe structu
On Jan 21, 2008 5:00 PM, Hans Vercammen <[EMAIL PROTECTED]> wrote:
> Just realized you probably ment the o->free () in relation to pointers
>
> Object* o = new Object();
> o->free ();
>
> I don't know why keyword delete isn't used, maybe this can be supported
> in future?
>
Maybe because delete is
Just realized you probably ment the o->free () in relation to pointers
Object* o = new Object();
o->free ();
I don't know why keyword delete isn't used, maybe this can be supported
in future?
Hans
___
Vala-list mailing list
Vala-list@gnome.org
http:
Hi,
> - Why Glib.Object inheritace is not implicit ?
Quoted Jürg:
While most classes (should) derive from GObject, it's not always the
case. For one there are many libraries that don't use GObject at all or
don't use GObject for all class types and we want to be able to use such
libraries from Va
Hello,
I discover Vala language with 0.1.6 release announcement and
congratulate for your work !
However, I have some questions about this language :
- Why Glib.Object inheritace is not implicit ?
- Why do not use g_type_class_add_private for class private members ?
- For free memory object, use