zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SDL_error.h File Reference
#include "SDL_stdinc.h"
#include "begin_code.h"
#include "close_code.h"

Go to the source code of this file.

Functions

DECLSPEC void SDLCALL SDL_ClearError (void)
 
DECLSPEC const char *SDLCALL SDL_GetError (void)
 
DECLSPEC int SDLCALL SDL_SetError (const char *fmt,...)
 

Internal error functions

#define SDL_OutOfMemory()   SDL_Error(SDL_ENOMEM)
 
#define SDL_Unsupported()   SDL_Error(SDL_UNSUPPORTED)
 
#define SDL_InvalidParamError(param)   SDL_SetError("Parameter '%s' is invalid", (param))
 
enum  SDL_errorcode {
  SDL_ENOMEM, SDL_EFREAD, SDL_EFWRITE, SDL_EFSEEK,
  SDL_UNSUPPORTED, SDL_LASTERROR
}
 
DECLSPEC int SDLCALL SDL_Error (SDL_errorcode code)
 

Detailed Description

Simple error message routines for SDL.

Definition in file SDL_error.h.

Macro Definition Documentation

Enumeration Type Documentation

Enumerator
SDL_ENOMEM 
SDL_EFREAD 
SDL_EFWRITE 
SDL_EFSEEK 
SDL_UNSUPPORTED 
SDL_LASTERROR 

Definition at line 55 of file SDL_error.h.

Function Documentation

DECLSPEC int SDLCALL SDL_Error ( SDL_errorcode  code)
DECLSPEC int SDLCALL SDL_SetError ( const char *  fmt,
  ... 
)

Definition at line 53 of file SDL_error.c.

Referenced by COREAUDIO_OpenDevice(), find_device_by_name(), get_audio_device(), IMA_ADPCM_decode(), InitMS_ADPCM(), mem_seek(), mem_writeconst(), open_audio_device(), prepare_audiospec(), prepare_audiounit(), PSP_EventInit(), PSP_GL_CreateContext(), PSP_GL_DeleteContext(), PSP_GL_MakeCurrent(), PSP_GL_SetSwapInterval(), PSPAUD_OpenDevice(), SDL_AddEvent(), SDL_AudioInit(), SDL_BlendFillRect(), SDL_BlendFillRects(), SDL_BlendLine(), SDL_BlendLines(), SDL_BlendPoint(), SDL_BlendPoints(), SDL_BuildAudioCVT(), SDL_BuildAudioResampleCVT(), SDL_BuildAudioTypeCVT(), SDL_CalculateBlit(), SDL_CondBroadcast(), SDL_CondSignal(), SDL_CondWait(), SDL_CondWaitTimeout(), SDL_ConvertAudio(), SDL_ConvertPixels(), SDL_ConvertSurface(), SDL_CreateColorCursor(), SDL_CreateCond(), SDL_CreateMutex(), SDL_CreateRenderer(), SDL_CreateRGBSurface(), SDL_CreateSemaphore(), SDL_CreateSoftwareRenderer(), SDL_CreateSurfaceOnStack(), SDL_CreateSystemCursor(), SDL_CreateTexture(), SDL_CreateTextureFromSurface(), SDL_CreateWindow(), SDL_CreateWindowTexture(), sdl_dfb_check(), SDL_DrawLine(), SDL_DrawLines(), SDL_DrawPoint(), SDL_DrawPoints(), SDL_Error(), SDL_FillRect(), SDL_FillRects(), SDL_GameControllerOpen(), SDL_GetAudioDeviceName(), SDL_GetClosestDisplayModeForDisplay(), SDL_GetDisplayMode(), SDL_GetRenderDriverInfo(), SDL_GetRendererOutputSize(), SDL_GetTouchFinger(), SDL_GetWindowDisplayIndex(), SDL_GetWindowDisplayMode(), SDL_GL_CreateContext(), SDL_GL_GetAttribute(), SDL_GL_GetProcAddress(), SDL_GL_LoadLibrary(), SDL_GL_MakeCurrent(), SDL_GL_SetAttribute(), SDL_GL_SetSwapInterval(), SDL_GL_SwapWindow(), SDL_HapticGetEffectStatus(), SDL_HapticName(), SDL_HapticNewEffect(), SDL_HapticOpen(), SDL_HapticOpened(), SDL_HapticOpenFromJoystick(), SDL_HapticOpenFromMouse(), SDL_HapticPause(), SDL_HapticRumbleInit(), SDL_HapticRumblePlay(), SDL_HapticRumbleStop(), SDL_HapticSetAutocenter(), SDL_HapticSetGain(), SDL_HapticUpdateEffect(), SDL_InitSubSystem(), SDL_JoystickGetAxis(), SDL_JoystickGetBall(), SDL_JoystickGetButton(), SDL_JoystickGetDeviceGUID(), SDL_JoystickGetHat(), SDL_JoystickNameForIndex(), SDL_JoystickOpen(), SDL_LoadBMP_RW(), SDL_LoadWAV_RW(), SDL_LockMutex(), SDL_LockTexture(), SDL_MixAudioFormat(), SDL_mutexP(), SDL_mutexV(), SDL_OpenAudio(), SDL_PeepEvents(), SDL_PixelFormatEnumToMasks(), SDL_PrivateGameControllerParseButton(), SDL_PrivateGameControllerParseControllerConfigString(), SDL_PrivateJoystickValid(), SDL_RecreateWindow(), SDL_RenderCopy(), SDL_RenderCopyEx(), SDL_RenderDrawLines(), SDL_RenderDrawPoints(), SDL_RenderDrawRects(), SDL_RenderFillRects(), SDL_RWFromFile(), SDL_RWFromFP(), SDL_SaveBMP_RW(), SDL_SaveDollarTemplate(), SDL_SemPost(), SDL_SemTryWait(), SDL_SemValue(), SDL_SemWait(), SDL_SemWaitTimeout(), SDL_SetCursor(), SDL_SetDisplayModeForDisplay(), SDL_SetPixelFormatPalette(), SDL_SetRenderTarget(), SDL_SetSurfacePalette(), SDL_ShowMessageBox(), SDL_SoftStretch(), SDL_SW_CopyYUVToRGB(), SDL_SW_CreateYUVTexture(), SDL_SW_LockYUVTexture(), SDL_SW_SetupYUVDisplay(), SDL_SYS_CreateThread(), SDL_SYS_JoystickClose(), SDL_SYS_JoystickInit(), SDL_SYS_JoystickName(), SDL_SYS_SetThreadPriority(), SDL_SYS_SetTLSData(), SDL_TryLockMutex(), SDL_UninitializedVideo(), SDL_UnlockMutex(), SDL_UpdateWindowSurfaceRects(), SDL_UpdateWindowTexture(), SDL_UpdateYUVTexture(), SDL_UpperBlit(), SDL_UpperBlitScaled(), SDL_VideoInit(), SDLNet_SetError(), SW_CreateRendererForSurface(), SW_CreateTexture(), SW_GetOutputSize(), SW_RenderReadPixels(), ValidEffect(), and ValidHaptic().