Re: [Vala] Class finalizer
- From: Jacques-Pascal Deplaix <jp deplaix gmail com>
- To: Luca Bruno <lethalman88 gmail com>
- Cc: vala-list <vala-list gnome org>
- Subject: Re: [Vala] Class finalizer
- Date: Thu, 08 Mar 2012 22:46:05 +0100
On 03/08/2012 12:30 PM, Luca Bruno wrote:
On Thu, Mar 8, 2012 at 7:03 AM, Derek Dai <daiderek gmail com> wrote:
Hi,
In Vala, if I allocate resource in static construct block, where can I free
it? Thanks.
static ~Foo () { }
Hi,
I'm very interested about that. But when I tried that solution, valac
wrote an error:
error: static destructors are only supported for dynamic types
What is 'dynamic types' ?
And how I'm supposed to use this code ?
Thanks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]