Re: [Vala] memory management with structs (OT a bit)
- From: Jonas Kulla <nyocurio gmail com>
- To: Donn <donn ingle gmail com>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] memory management with structs (OT a bit)
- Date: Sat, 18 May 2013 13:40:15 +0200
2013/5/18 Donn <donn ingle gmail com>
On 18/05/2013 12:15, Luca Bruno wrote:
You can use classes that don't inherit from GObject, which are lighter.
Are such classes the [Compact] classes, or is any class that does not
specify a parent class automatically a "light" class?
Hi,
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.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]