rename `NativeString` to `CString`
[nit.git] / lib / sdl2 / image.nit
index a1373ec..bdceeac 100644 (file)
@@ -51,12 +51,12 @@ class IMG
        fun quit `{ IMG_Quit(); `}
 
        # Get the latest image library error
-       fun error: NativeString `{ return (char*)IMG_GetError(); `}
+       fun error: CString `{ return (char*)IMG_GetError(); `}
 end
 
 redef extern class SDLSurface
        # Load the image at `path` inferring its type from the file extension
-       new load(path: NativeString) `{ return IMG_Load(path); `}
+       new load(path: CString) `{ return IMG_Load(path); `}
 end
 
 # Flags from `sys.sdl.img.initialize`