[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] XLib egg question
From: |
Elf |
Subject: |
Re: [Chicken-users] XLib egg question |
Date: |
Mon, 24 Mar 2008 06:20:49 -0700 (PDT) |
hi bill,
use make-xcolor to make the structures. :)
the xlib egg is a bit of a mess atm and not particularly up to date. cleaning
it up is on my todo list (as i use it) but its not particularly high, apologies.
if other people would find it useful to have cleaner interfaces as well,
please let me know and ill escalate it.
-elf
On Mon, 24 Mar 2008, William Ramsay wrote:
Hi,
I'm trying to use the XLib egg, which brings up a very basic question. How
do I get back a value embedded in an XLib function call. For instance, take
xallocnamedcolor. The call is (xallocnamecolor display colormap name
sreturn exact). The results in C are placed in the pointers "sreturn" and
"exact". How is this handled in Scheme? Both are defined as C-Pointer
types.
Bill
_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users