[racket] Unknown C Struct definition

From: Cosme Enmanuel Zamudio Salazar (cosmez at gmail.com)
Date: Mon Jul 1 23:53:58 EDT 2013

Theres a libsdl struct i want to use from racket:  SDL_Window
the problem is that there is nothing in the SDL include files about the
struct fields, just this:

typedef struct SDL_Window SDL_Window,

the weird part is that i been looking at other language bindings to sdl2
and it looks like they have a way to define a pointer to an unknown
structure type, for example:


is there a way in Racket to do this? right now im just using a _pointer
(define _SDL_Window _pointer)
, but this looks lacking


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130701/723d09f5/attachment.html>

Posted on the users mailing list.