[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] xlib egg
From: |
Adam C. Emerson |
Subject: |
[Chicken-users] xlib egg |
Date: |
Fri, 01 Dec 2006 23:01:42 -0500 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
I'm experimenting with the xlib egg, and I'm having some trouble with
the xnextevent procedure. As far as I can ascertain, I need to pass
in a C pointer. So I tried this:
(let* ((e (make-vector 1))
(l (make-locative e 0)))
(xnextevent dpy l)
(vector-ref e 0))
However, what I get from my vector-ref is an integer. This doesn't
seem to work, as procedures such as xevent-type expect a pointer. Is
there some trick that I'm not getting?
- [Chicken-users] xlib egg,
Adam C. Emerson <=