[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Foreign pointers in chicken4

From: Kon Lovett
Subject: Re: [Chicken-users] Foreign pointers in chicken4
Date: Wed, 3 Jun 2009 10:00:34 -0700

On Jun 3, 2009, at 1:29 AM, Alexey Bakhirkin wrote:

I started porting cairo egg from chicken3 to chicken4 and encountered
the following:
Consider a pointe defned in the egg as follows (you can find the egg
I'm working on here:

(define-foreign-type cairo_t (pointer "cairo_t")
   (cut tag-pointer <> 'cairo))

I found out, that the code which uses this egg fails with
"unbound-variable: tag-pointer" unless it also imports lolevel
Is it a bug or a feature? Or maybe I am doing something wrong?

None of the above. 'tag-pointer' is just defined in Unit lolevel so must be imported.

The Chicken 3 'cairo' egg did a '(require 'lolevel)' for the same reason.

Chicken-users mailing list

Best Wishes,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]