[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Cairo binding
From: |
Luke McCarthy |
Subject: |
Re: [Chicken-users] Cairo binding |
Date: |
Thu, 13 Mar 2008 20:58:55 +0000 |
User-agent: |
KMail/1.9.9 |
On Wednesday 12 March 2008 23:12:28 you wrote:
> I recommend manual destruction. The garbage collector is unable to infer
> whether C variables still refer to the finalized context.
Well cairo_destroy() actually decrements the reference count, so any C
functions which keep a reference should call cairo_reference() to increment
the refcount. But for now I'll err on the conservative side.
Luke McCarthy