SDL_GetError -- Get SDL error string.
module "/pliant/SDL/SDL.pli" function SDL_GetError -> s arg CStr s external "libSDL.so" "SDL_GetError"
SDL_GetError returns a C, NULL terminated string containing information about the last internal SDL error. In Pliant,
this string needs to be cast: (cast s Str)
before using. Note: Pliant may
actually implicitely cast CStr type to Str, but I'm not sure.
SDL_GetError returns a string containing the last error.