zenilib  0.5.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SDL_error.c File Reference
#include "SDL_config.h"
#include "SDL_log.h"
#include "SDL_error.h"
#include "SDL_error_c.h"

Go to the source code of this file.

Macros

#define SDL_ERRBUFIZE   1024
 

Functions

void SDL_ClearError (void)
 
int SDL_Error (SDL_errorcode code)
 
SDL_errorSDL_GetErrBuf (void)
 
const char * SDL_GetError (void)
 
static char * SDL_GetErrorMsg (char *errstr, unsigned int maxlen)
 
static const char * SDL_LookupString (const char *key)
 
int SDL_SetError (const char *fmt,...)
 

Macro Definition Documentation

#define SDL_ERRBUFIZE   1024

Definition at line 39 of file SDL_error.c.

Referenced by SDL_GetError().

Function Documentation

int SDL_Error ( SDL_errorcode  code)
SDL_error* SDL_GetErrBuf ( void  )

Definition at line 204 of file SDL_thread.c.

Referenced by SDL_ClearError(), SDL_GetErrorMsg(), and SDL_SetError().

static char* SDL_GetErrorMsg ( char *  errstr,
unsigned int  maxlen 
)
static
static const char* SDL_LookupString ( const char *  key)
static

Definition at line 44 of file SDL_error.c.

Referenced by SDL_GetErrorMsg().

int SDL_SetError ( const char *  fmt,
  ... 
)

Definition at line 53 of file SDL_error.c.

References SDL_error::argc, SDL_error::args, SDL_error::buf, ERR_MAX_ARGS, ERR_MAX_STRLEN, SDL_error::error, error, i, SDL_error::key, NULL, SDL_GetErrBuf(), SDL_GetError(), SDL_LOG_CATEGORY_ERROR, SDL_LogError(), SDL_strlcpy(), str, SDL_error::value_f, SDL_error::value_i, and SDL_error::value_ptr.

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().