From 2276dc7ad067f7af7504783239103c1abd7b4433 Mon Sep 17 00:00:00 2001 From: Vlad-Stefan Harbuz Date: Mon, 7 Feb 2022 13:08:52 +0100 Subject: refactor names from e.g. sdl2::init() to sdl2::SDL_Init() Signed-off-by: Vlad-Stefan Harbuz --- sdl2/surface.ha | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'sdl2/surface.ha') diff --git a/sdl2/surface.ha b/sdl2/surface.ha index 7bbe850..39d4d2a 100644 --- a/sdl2/surface.ha +++ b/sdl2/surface.ha @@ -1,10 +1,10 @@ // A collection of pixels used in software blitting. -// +// // This structure should be treated as read-only, except for 'pixels', which, if // not null, contains the raw pixel data for the surface. -export type surface = struct { +export type SDL_Surface = struct { flags: u32, - format: *pixelformat, + format: *SDL_PixelFormat, w: int, h: int, pitch: int, @@ -15,11 +15,11 @@ export type surface = struct { locked: int, lock_data: *void, - clip_rect: rect, + clip_rect: SDL_Rect, - map: *blitmap, + map: *SDL_BlitMap, refcount: int, }; -export type blitmap = void; +export type SDL_BlitMap = void; -- cgit v1.2.3