Chromatic <[EMAIL PROTECTED]> wrote:

>       typedef struct SDL_Surface {

>               void *pixels;               /* Read-write */
>               ...
>       }

> I'd like to be able to access pixels (an array of Uint32s) directly in
> some cases.
> +  set  P2[ 'i' ], .DATATYPE_PTR

Why not just define an array of uintvals? The pointer type does nothing
useful AFAIK.

leo

Reply via email to