Hi,
First you wrongly used hb_gcRefDec() instead of hb_gcRefFree().
hb_gcRefDec() does not free allocated block. It only decrease
number of reference counters. If you do not have any cross
references then this block will be cleanly freed on next GC
collect call. If you have such references
On Mon, 30 Nov 2009, Mindaugas Kavaliauskas wrote:
Hi,
2009-11-30 21:31 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbour/contrib/hbcairo
I'll write down a few issues I found in hbcairo development.
1) #include std.ch generates compile time errors.
Just like in Clipper.
Hi Mindaugas,
2) I'm a little confused how to implement GC pointers. So, I've implemented
two version in hbcairo/core.c. It can be selected [not]using HB_USE_ITEM
define. In current code the switch is not defined and more low level
version is used (actually, I even forgot to test using
Hi,
Viktor Szakáts wrote:
2) I'm a little confused how to implement GC pointers. So, I've implemented two version
in hbcairo/core.c. It can be selected [not]using HB_USE_ITEM define. In current code the
switch is not defined and more low level version is used (actually, I even
forgot to
I did not want to use extra container for GC pointer. This code operates on
low level things like GC mark and programmer must know how GC work, so I do
not think it can not use hb_gcRefInc/Dec. These functions are not more
internal in that context.
I do not think there is something
-Original Message-
From: Mindaugas Kavaliauskas [mailto:dbto...@dbtopas.lt]
Sent: Monday, November 30, 2009 8:37 PM
To: Harbour Project Main Developer List.
Subject: Re: [Harbour] SF.net SVN: harbour-project:[13074]
trunk/harbour
Sample test code results. Part 2
A good example would
Revision: 13074
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13074view=rev
Author: snaiperis
Date: 2009-11-30 19:33:57 + (Mon, 30 Nov 2009)
Log Message:
---
2009-11-30 21:31 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+
Hi,
2009-11-30 21:31 UTC+0200 Mindaugas Kavaliauskas (dbtopas/at/dbtopas.lt)
+ harbour/contrib/hbcairo
Since make system is not yet read and some people can experience
problems building this library and tests, I'll send a few samples test
code results to the mailing list.
Regards,
Sample test code results. Part 2
hellow.pdf
Description: Adobe PDF document
fancytxt.pdf
Description: Adobe PDF document
___
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
Hi Mindaugas,
That's great.
Is it possible to link cairo lib statically to final commercial apps?
Brgds,
Viktor
On 2009 Nov 30, at 20:33, snaipe...@users.sourceforge.net wrote:
Revision: 13074
http://harbour-project.svn.sourceforge.net/harbour-project/?rev=13074view=rev
Author:
4) Should implementation of procedures end with hb_ret(); ?
No. It's a dummy call. Only use it if you want to
make clear in a function that there is no value
to return. The only places where this is meaningful,
is when a function can return both value and non-value
(which is NIL). In this
Hi,
On Mon, Nov 30, 2009 at 10:33 PM, snaipe...@users.sourceforge.net wrote:
; TODO: I've implemted not all functions of Cairo. Actually, the
minority, but it's enough to do some fancy things.
You may use this code, although also not complete:
12 matches
Mail list logo