aboutsummaryrefslogtreecommitdiff
path: root/sdl2/surface.ha
diff options
context:
space:
mode:
Diffstat (limited to 'sdl2/surface.ha')
-rw-r--r--sdl2/surface.ha8
1 files changed, 4 insertions, 4 deletions
diff --git a/sdl2/surface.ha b/sdl2/surface.ha
index 572bdcc..24153c3 100644
--- a/sdl2/surface.ha
+++ b/sdl2/surface.ha
@@ -8,12 +8,12 @@ export type SDL_Surface = struct {
w: int,
h: int,
pitch: int,
- pixels: nullable *void,
+ pixels: nullable *opaque,
- userdata: *void,
+ userdata: *opaque,
locked: int,
- lock_data: *void,
+ lock_data: *opaque,
clip_rect: SDL_Rect,
@@ -22,7 +22,7 @@ export type SDL_Surface = struct {
refcount: int,
};
-export type SDL_BlitMap = void;
+export type SDL_BlitMap = opaque;
@symbol("SDL_CreateRGBSurface") fn _SDL_CreateRGBSurface(flags: u32,
width: int, height: int, depth: int, Rmask: u32, Gmask: u32, Bmask: u32,