Modules

SDL

moduleSource
macOSLinuxWindows

#import "SDL";

Procedures#

(window: *SDL_Window, info: *SDL_SysWMinfo) -> SDL_bool

The public WM record is a platform prefix, while current SDL2 reserves a 64-byte native union. Never let SDL write into the public prefix.

(src: *SDL_RWops, freesrc: int) -> *SDL_Surface

SDK-owned native pointer remains unchanged. Public int is 64-bit, while C int is 32-bit; normalize the specified nonzero close flag before the C call.