Hey!
I'm new to the Chicken FFI...
The xlib function XQueryPointer accepts a few pointers to indicate where to
return the data. I read about locations in the manual and have successfully
called used xquerypointer like this:
(let-location ((root-return unsigned-long)
(child-return unsigned-long)
(root-x-return integer)
(root-y-return integer)
(win-x-return integer)
(win-y-return integer)
(mask-return unsigned-integer))
(xquerypointer dpy-ptr id
(location root-return)
(location child-return)
(location root-x-return)
(location root-y-return)
(location win-x-return)
(location win-y-return)
(location mask-return))
That only works with the compiler (csc). Is there a way to box/unbox data in
the interpreter so I can call xquerypointer from csi? Just curious as it's
easier to experiment via csi instead of recompiling my file each time a
change is made.
Thanks,
Ed
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users