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
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users