Freezerburn wrote: > [...] > I know I can define a _my_c_struct-pointer, but > how do I make a pointer to that pointer to pass to the C function? > [...]
Hello, you probably want an output parameter created using a (_ptr o _my_c_struct-pointer) argument type specification in the binding of the function. If necessary, you can also create a block of memory containing a pointer using (malloc _my_c_struct-pointer) and pass the returned pointer around, but that entails more manual management overhead. Ciao, Thomas -- When C++ is your hammer, every problem looks like your thumb. ____________________ Racket Users list: http://lists.racket-lang.org/users

