Re: [Vala] memory management with structs
- From: Jim Nelson <jim yorba org>
- To: rastersoft <raster rastersoft com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] memory management with structs
- Date: Mon, 20 May 2013 17:41:39 -0007
If you're using structs in Vala, be aware of this issue:
https://bugzilla.gnome.org/show_bug.cgi?id=661041
-- Jim
On Sat, May 18, 2013 at 2:41 AM, rastersoft <raster rastersoft com>
wrote:
Hi all:
How is the memory management in vala when using structs instead of
classes? I presume they are not ref-counted...
The real questions are:
* is it possible to use structs as elements in a Gee list without
running into memory management problems?
* How to avoid them, in case there are such problems? Or so Imust
use true classes?
* Can I use instead compact classes inside Gee lists adding them
the memory management decorator?
* In case the last answer is true, how are presented the compact
classes outside Vala? (for programs using gobject-introspection). Is
it possible to work with them from C?
Thanks.
--
Nos leemos
RASTER (Linux user #228804)
raster rastersoft com http://www.rastersoft.com
_______________________________________________
vala-list mailing list
vala-list gnome org
https://mail.gnome.org/mailman/listinfo/vala-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]