Re: [Vala] memory management with structs (OT a bit)



On 18/05/2013 13:40, Jonas Kulla wrote:
no, compact classes are even simpler than non-Gobject classes. The
latter still have reference count and can be extended, whereas
compact classes are mostly "classified" structs without ref count
which also cannot be extended in subclasses.
Okay, but did that answer the question? I'm not sure.

It was:
You can use classes that don't inherit from GObject, which are
lighter.
Are such classes the:
A) [Compact] classes
or
B) is any class that does not specify a parent class automatically a
"light" class?

i.e. How do you create a class that does *not* inherit from GObject?

\d


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]