[Openmcl-devel] FFI problem
Phil
pbpublist at comcast.net
Mon May 22 00:38:34 PDT 2006
I've been attempting to get the following FFI call to work without much
luck...
Call glGetIntegerv(GLenum pname, GLint *params) using the following:
(let ((gl-int-size (ccl::foreign-size :<GL>int :bytes)))
(ccl::%stack-block ((return-value gl-int-size))
(#_glGetIntegerv #$GL_MAX_LIST_NESTING return-value)
(ccl::%get-unsigned-long return-value)))
The result is the kernel debugger:
? Unhandled exception 11 at 0x92e97ba0, context->regs at #xf0805498
Read operation to unmapped address 0xab0
In foreign code at address 0x92e97ba0
? for help
[28544] OpenMCL kernel debugger:
What am I missing here?
Thanks,
Phil
More information about the Openmcl-devel
mailing list