A thing in SDL requires dereferencing a pointer in order to work. In C the expression is: *pointer = integer;
pointer is void* and integer is a uint. Can this be done in Vala? You need this when drawing a pixel on screen in SDL: http://www.libsdl.org/intro.en/usingvideo.html All the code leading up to this can be implemented just fine in Vala and SDL.Surface.pixels gives you the void* pointer.
_______________________________________________ Vala-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/vala-list
