|
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: http://bitbucket.org/mr_cat/cairo-chicken4/): (define-foreign-type cairo_t (pointer "cairo_t") values (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 explicitly. 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 address@hidden http://lists.nongnu.org/mailman/listinfo/chicken-users
Best Wishes, Kon
[Prev in Thread] | Current Thread | [Next in Thread] |