From 3ca5d97376151d6f1a4a1787b6609c470a05a82c Mon Sep 17 00:00:00 2001 From: Autumn! Date: Wed, 24 May 2023 20:37:00 +0000 Subject: Use types::c:: instead of char and strings:: Signed-off-by: Autumn! --- sdl2/rwops.ha | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sdl2/rwops.ha') diff --git a/sdl2/rwops.ha b/sdl2/rwops.ha index ec961a2..9b9a190 100644 --- a/sdl2/rwops.ha +++ b/sdl2/rwops.ha @@ -1,5 +1,5 @@ use io; -use strings; +use types::c; // RWops types export type rwops_type = enum u32 { @@ -39,8 +39,8 @@ export type SDL_RWops = struct { }; @symbol("SDL_RWFromFile") fn _rw_from_file( - file: const *char, - mode: const *char, + file: const *c::char, + mode: const *c::char, ) *SDL_RWops; // Returns the size of an [[SDL_RWops]], or 0 if unknown or error. -- cgit v1.2.3