(ct:cref :long a-test) ?
"lcluke" <[email protected]> Fri, 04 Apr 2003 08:34:49 -0000
| Newsgroups | gmane.lisp.corman |
|---|---|
| Message-ID | <[email protected]> |
I am trying to access a variable of type :long which I have created using... (setf value (ct:malloc (ct:sizeof :long))) ... however when I try to use cref, I get the following error ... (ct:cref :long value) ;;; An error occurred in function MACROEXPAND: ;;; Error: Cannot access C type LONG using CREF Basically, I am trying to call a fuction that requires a pointer as a parameter... int SDL_GL_GetAttribute(SDLGLattr attr, int *value); ... which I can do, however I don't know how to access the *value because of the problem described above. ------------------------ Yahoo! Groups Sponsor ---------------------~--> Get 128 Bit SSL Encryption! http://us.click.yahoo.com/xaxhjB/hdqFAA/VygGAA/SyjtlB/TM ---------------------------------------------------------------------~-> To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/