include/SDL2/SDL_atomic.h
@@ -91,7 +91,7 @@ * The spin lock functions and type are required and can not be * emulated because they are used in the atomic emulation code. */ /* @{ */ /*@{*/ typedef int SDL_SpinLock; @@ -118,7 +118,7 @@ */ extern DECLSPEC void SDLCALL SDL_AtomicUnlock(SDL_SpinLock *lock); /* @} *//* SDL AtomicLock */ /*@}*//*SDL AtomicLock*/ /** include/SDL2/SDL_audio.h
@@ -66,7 +66,7 @@ /** * \name Audio flags */ /* @{ */ /*@{*/ #define SDL_AUDIO_MASK_BITSIZE (0xFF) #define SDL_AUDIO_MASK_DATATYPE (1<<8) @@ -85,7 +85,7 @@ * * Defaults to LSB byte order. */ /* @{ */ /*@{*/ #define AUDIO_U8 0x0008 /**< Unsigned 8-bit samples */ #define AUDIO_S8 0x8008 /**< Signed 8-bit samples */ #define AUDIO_U16LSB 0x0010 /**< Unsigned 16-bit samples */ @@ -94,30 +94,30 @@ #define AUDIO_S16MSB 0x9010 /**< As above, but big-endian byte order */ #define AUDIO_U16 AUDIO_U16LSB #define AUDIO_S16 AUDIO_S16LSB /* @} */ /*@}*/ /** * \name int32 support */ /* @{ */ /*@{*/ #define AUDIO_S32LSB 0x8020 /**< 32-bit integer samples */ #define AUDIO_S32MSB 0x9020 /**< As above, but big-endian byte order */ #define AUDIO_S32 AUDIO_S32LSB /* @} */ /*@}*/ /** * \name float32 support */ /* @{ */ /*@{*/ #define AUDIO_F32LSB 0x8120 /**< 32-bit floating point samples */ #define AUDIO_F32MSB 0x9120 /**< As above, but big-endian byte order */ #define AUDIO_F32 AUDIO_F32LSB /* @} */ /*@}*/ /** * \name Native audio byte ordering */ /* @{ */ /*@{*/ #if SDL_BYTEORDER == SDL_LIL_ENDIAN #define AUDIO_U16SYS AUDIO_U16LSB #define AUDIO_S16SYS AUDIO_S16LSB @@ -129,21 +129,21 @@ #define AUDIO_S32SYS AUDIO_S32MSB #define AUDIO_F32SYS AUDIO_F32MSB #endif /* @} */ /*@}*/ /** * \name Allow change flags * * Which audio format changes are allowed when opening a device. */ /* @{ */ /*@{*/ #define SDL_AUDIO_ALLOW_FREQUENCY_CHANGE 0x00000001 #define SDL_AUDIO_ALLOW_FORMAT_CHANGE 0x00000002 #define SDL_AUDIO_ALLOW_CHANNELS_CHANGE 0x00000004 #define SDL_AUDIO_ALLOW_ANY_CHANGE (SDL_AUDIO_ALLOW_FREQUENCY_CHANGE|SDL_AUDIO_ALLOW_FORMAT_CHANGE|SDL_AUDIO_ALLOW_CHANNELS_CHANGE) /* @} */ /*@}*/ /* @} *//* Audio flags */ /*@}*//*Audio flags*/ /** * This function is called when the audio device needs more data. @@ -218,10 +218,10 @@ * These functions return the list of built in audio drivers, in the * order that they are normally initialized by default. */ /* @{ */ /*@{*/ extern DECLSPEC int SDLCALL SDL_GetNumAudioDrivers(void); extern DECLSPEC const char *SDLCALL SDL_GetAudioDriver(int index); /* @} */ /*@}*/ /** * \name Initialization and cleanup @@ -230,10 +230,10 @@ * you have a specific need to specify the audio driver you want to * use. You should normally use SDL_Init() or SDL_InitSubSystem(). */ /* @{ */ /*@{*/ extern DECLSPEC int SDLCALL SDL_AudioInit(const char *driver_name); extern DECLSPEC void SDLCALL SDL_AudioQuit(void); /* @} */ /*@}*/ /** * This function returns the name of the current audio driver, or NULL @@ -359,7 +359,7 @@ * * Get the current audio state. */ /* @{ */ /*@{*/ typedef enum { SDL_AUDIO_STOPPED = 0, @@ -370,7 +370,7 @@ extern DECLSPEC SDL_AudioStatus SDLCALL SDL_GetAudioDeviceStatus(SDL_AudioDeviceID dev); /* @} *//* Audio State */ /*@}*//*Audio State*/ /** * \name Pause audio functions @@ -381,11 +381,11 @@ * data for your callback function after opening the audio device. * Silence will be written to the audio device during the pause. */ /* @{ */ /*@{*/ extern DECLSPEC void SDLCALL SDL_PauseAudio(int pause_on); extern DECLSPEC void SDLCALL SDL_PauseAudioDevice(SDL_AudioDeviceID dev, int pause_on); /* @} *//* Pause audio functions */ /*@}*//*Pause audio functions*/ /** * This function loads a WAVE from the data source, automatically freeing @@ -482,12 +482,12 @@ * the callback function is not running. Do not call these from the callback * function or you will cause deadlock. */ /* @{ */ /*@{*/ extern DECLSPEC void SDLCALL SDL_LockAudio(void); extern DECLSPEC void SDLCALL SDL_LockAudioDevice(SDL_AudioDeviceID dev); extern DECLSPEC void SDLCALL SDL_UnlockAudio(void); extern DECLSPEC void SDLCALL SDL_UnlockAudioDevice(SDL_AudioDeviceID dev); /* @} *//* Audio lock functions */ /*@}*//*Audio lock functions*/ /** * This function shuts down audio processing and closes the audio device. include/SDL2/SDL_copying.h
File was deleted include/SDL2/SDL_endian.h
@@ -33,10 +33,10 @@ /** * \name The two types of endianness */ /* @{ */ /*@{*/ #define SDL_LIL_ENDIAN 1234 #define SDL_BIG_ENDIAN 4321 /* @} */ /*@}*/ #ifndef SDL_BYTEORDER /* Not defined in SDL_config.h? */ #ifdef __linux__ @@ -206,7 +206,7 @@ * \name Swap to native * Byteswap item from the specified endianness to the native endianness. */ /* @{ */ /*@{*/ #if SDL_BYTEORDER == SDL_LIL_ENDIAN #define SDL_SwapLE16(X) (X) #define SDL_SwapLE32(X) (X) @@ -226,7 +226,7 @@ #define SDL_SwapBE64(X) (X) #define SDL_SwapFloatBE(X) (X) #endif /* @} *//* Swap to native */ /*@}*//*Swap to native*/ /* Ends C function definitions when using C++ */ #ifdef __cplusplus include/SDL2/SDL_error.h
@@ -48,7 +48,7 @@ * \internal * Private error reporting function - used internally. */ /* @{ */ /*@{*/ #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)) @@ -63,7 +63,7 @@ } SDL_errorcode; /* SDL_Error() unconditionally returns -1. */ extern DECLSPEC int SDLCALL SDL_Error(SDL_errorcode code); /* @} *//* Internal error functions */ /*@}*//*Internal error functions*/ /* Ends C function definitions when using C++ */ #ifdef __cplusplus include/SDL2/SDL_events.h
@@ -541,7 +541,7 @@ */ extern DECLSPEC void SDLCALL SDL_PumpEvents(void); /* @{ */ /*@{*/ typedef enum { SDL_ADDEVENT, @@ -570,7 +570,7 @@ extern DECLSPEC int SDLCALL SDL_PeepEvents(SDL_Event * events, int numevents, SDL_eventaction action, Uint32 minType, Uint32 maxType); /* @} */ /*@}*/ /** * Checks to see if certain event types are in the event queue. @@ -681,7 +681,7 @@ extern DECLSPEC void SDLCALL SDL_FilterEvents(SDL_EventFilter filter, void *userdata); /* @{ */ /*@{*/ #define SDL_QUERY -1 #define SDL_IGNORE 0 #define SDL_DISABLE 0 @@ -697,7 +697,7 @@ * current processing state of the specified event. */ extern DECLSPEC Uint8 SDLCALL SDL_EventState(Uint32 type, int state); /* @} */ /*@}*/ #define SDL_GetEventState(type) SDL_EventState(type, SDL_QUERY) /** include/SDL2/SDL_haptic.h
@@ -140,12 +140,12 @@ * * Different haptic features a device can have. */ /* @{ */ /*@{*/ /** * \name Haptic effects */ /* @{ */ /*@{*/ /** * \brief Constant effect supported. @@ -177,7 +177,7 @@ #define SDL_HAPTIC_LEFTRIGHT (1<<2) /* !!! FIXME: put this back when we have more bits in 2.1 */ /* #define SDL_HAPTIC_SQUARE (1<<2) */ /*#define SDL_HAPTIC_SQUARE (1<<2)*/ /** * \brief Triangle wave effect supported. @@ -262,7 +262,7 @@ */ #define SDL_HAPTIC_CUSTOM (1<<11) /* @} *//* Haptic effects */ /*@}*//*Haptic effects*/ /* These last few are features the device has, not effects */ @@ -305,7 +305,7 @@ /** * \name Direction encodings */ /* @{ */ /*@{*/ /** * \brief Uses polar coordinates for the direction. @@ -328,9 +328,9 @@ */ #define SDL_HAPTIC_SPHERICAL 2 /* @} *//* Direction encodings */ /*@}*//*Direction encodings*/ /* @} *//* Haptic features */ /*@}*//*Haptic features*/ /* * Misc defines. include/SDL2/SDL_joystick.h
@@ -187,7 +187,7 @@ /** * \name Hat positions */ /* @{ */ /*@{*/ #define SDL_HAT_CENTERED 0x00 #define SDL_HAT_UP 0x01 #define SDL_HAT_RIGHT 0x02 @@ -197,7 +197,7 @@ #define SDL_HAT_RIGHTDOWN (SDL_HAT_RIGHT|SDL_HAT_DOWN) #define SDL_HAT_LEFTUP (SDL_HAT_LEFT|SDL_HAT_UP) #define SDL_HAT_LEFTDOWN (SDL_HAT_LEFT|SDL_HAT_DOWN) /* @} */ /*@}*/ /** * Get the current state of a POV hat on a joystick. include/SDL2/SDL_mutex.h
@@ -52,7 +52,7 @@ /** * \name Mutex functions */ /* @{ */ /*@{*/ /* The SDL mutex structure, defined in SDL_sysmutex.c */ struct SDL_mutex; @@ -94,13 +94,13 @@ */ extern DECLSPEC void SDLCALL SDL_DestroyMutex(SDL_mutex * mutex); /* @} *//* Mutex functions */ /*@}*//*Mutex functions*/ /** * \name Semaphore functions */ /* @{ */ /*@{*/ /* The SDL semaphore structure, defined in SDL_syssem.c */ struct SDL_semaphore; @@ -154,13 +154,13 @@ */ extern DECLSPEC Uint32 SDLCALL SDL_SemValue(SDL_sem * sem); /* @} *//* Semaphore functions */ /*@}*//*Semaphore functions*/ /** * \name Condition variable functions */ /* @{ */ /*@{*/ /* The SDL condition variable structure, defined in SDL_syscond.c */ struct SDL_cond; @@ -237,7 +237,7 @@ extern DECLSPEC int SDLCALL SDL_CondWaitTimeout(SDL_cond * cond, SDL_mutex * mutex, Uint32 ms); /* @} *//* Condition variable functions */ /*@}*//*Condition variable functions*/ /* Ends C function definitions when using C++ */ include/SDL2/SDL_pixels.h
@@ -39,10 +39,10 @@ * * These define alpha as the opacity of a surface. */ /* @{ */ /*@{*/ #define SDL_ALPHA_OPAQUE 255 #define SDL_ALPHA_TRANSPARENT 0 /* @} */ /*@}*/ /** Pixel type. */ enum include/SDL2/SDL_rwops.h
@@ -148,7 +148,7 @@ * * Functions to create SDL_RWops structures from various data streams. */ /* @{ */ /*@{*/ extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromFile(const char *file, const char *mode); @@ -165,7 +165,7 @@ extern DECLSPEC SDL_RWops *SDLCALL SDL_RWFromConstMem(const void *mem, int size); /* @} *//* RWFrom functions */ /*@}*//*RWFrom functions*/ extern DECLSPEC SDL_RWops *SDLCALL SDL_AllocRW(void); @@ -180,14 +180,14 @@ * * Macros to easily read and write from an SDL_RWops structure. */ /* @{ */ /*@{*/ #define SDL_RWsize(ctx) (ctx)->size(ctx) #define SDL_RWseek(ctx, offset, whence) (ctx)->seek(ctx, offset, whence) #define SDL_RWtell(ctx) (ctx)->seek(ctx, 0, RW_SEEK_CUR) #define SDL_RWread(ctx, ptr, size, n) (ctx)->read(ctx, ptr, size, n) #define SDL_RWwrite(ctx, ptr, size, n) (ctx)->write(ctx, ptr, size, n) #define SDL_RWclose(ctx) (ctx)->close(ctx) /* @} *//* Read/write macros */ /*@}*//*Read/write macros*/ /** @@ -195,7 +195,7 @@ * * Read an item of the specified endianness and return in native format. */ /* @{ */ /*@{*/ extern DECLSPEC Uint8 SDLCALL SDL_ReadU8(SDL_RWops * src); extern DECLSPEC Uint16 SDLCALL SDL_ReadLE16(SDL_RWops * src); extern DECLSPEC Uint16 SDLCALL SDL_ReadBE16(SDL_RWops * src); @@ -203,14 +203,14 @@ extern DECLSPEC Uint32 SDLCALL SDL_ReadBE32(SDL_RWops * src); extern DECLSPEC Uint64 SDLCALL SDL_ReadLE64(SDL_RWops * src); extern DECLSPEC Uint64 SDLCALL SDL_ReadBE64(SDL_RWops * src); /* @} *//* Read endian functions */ /*@}*//*Read endian functions*/ /** * \name Write endian functions * * Write an item of native format to the specified endianness. */ /* @{ */ /*@{*/ extern DECLSPEC size_t SDLCALL SDL_WriteU8(SDL_RWops * dst, Uint8 value); extern DECLSPEC size_t SDLCALL SDL_WriteLE16(SDL_RWops * dst, Uint16 value); extern DECLSPEC size_t SDLCALL SDL_WriteBE16(SDL_RWops * dst, Uint16 value); @@ -218,7 +218,7 @@ extern DECLSPEC size_t SDLCALL SDL_WriteBE32(SDL_RWops * dst, Uint32 value); extern DECLSPEC size_t SDLCALL SDL_WriteLE64(SDL_RWops * dst, Uint64 value); extern DECLSPEC size_t SDLCALL SDL_WriteBE64(SDL_RWops * dst, Uint64 value); /* @} *//* Write endian functions */ /*@}*//*Write endian functions*/ /* Ends C function definitions when using C++ */ include/SDL2/SDL_scancode.h
@@ -49,7 +49,7 @@ * * These values are from usage page 0x07 (USB keyboard page). */ /* @{ */ /*@{*/ SDL_SCANCODE_A = 4, SDL_SCANCODE_B = 5, @@ -339,14 +339,14 @@ * special KMOD_MODE for it I'm adding it here */ /* @} *//* Usage page 0x07 */ /*@}*//*Usage page 0x07*/ /** * \name Usage page 0x0C * * These values are mapped from usage page 0x0C (USB consumer page). */ /* @{ */ /*@{*/ SDL_SCANCODE_AUDIONEXT = 258, SDL_SCANCODE_AUDIOPREV = 259, @@ -366,14 +366,14 @@ SDL_SCANCODE_AC_REFRESH = 273, SDL_SCANCODE_AC_BOOKMARKS = 274, /* @} *//* Usage page 0x0C */ /*@}*//*Usage page 0x0C*/ /** * \name Walther keys * * These are values that Christian Walther added (for mac keyboard?). */ /* @{ */ /*@{*/ SDL_SCANCODE_BRIGHTNESSDOWN = 275, SDL_SCANCODE_BRIGHTNESSUP = 276, @@ -388,7 +388,7 @@ SDL_SCANCODE_APP1 = 283, SDL_SCANCODE_APP2 = 284, /* @} *//* Walther keys */ /*@}*//*Walther keys*/ /* Add any other keys here. */ include/SDL2/SDL_stdinc.h
@@ -89,7 +89,7 @@ * Use proper C++ casts when compiled as C++ to be compatible with the option * -Wold-style-cast of GCC (and -Werror=old-style-cast in GCC 4.2 and above). */ /* @{ */ /*@{*/ #ifdef __cplusplus #define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression) #define SDL_static_cast(type, expression) static_cast<type>(expression) @@ -99,7 +99,7 @@ #define SDL_static_cast(type, expression) ((type)(expression)) #define SDL_const_cast(type, expression) ((type)(expression)) #endif /* @} *//* Cast operators */ /*@}*//*Cast operators*/ /* Define a four character code as a Uint32 */ #define SDL_FOURCC(A, B, C, D) \ @@ -111,7 +111,7 @@ /** * \name Basic data types */ /* @{ */ /*@{*/ typedef enum { @@ -153,7 +153,7 @@ */ typedef uint64_t Uint64; /* @} *//* Basic data types */ /*@}*//*Basic data types*/ #define SDL_COMPILE_TIME_ASSERT(name, x) \ lib/libSDL2-2.0.so.0.1.0Binary files differ
lib/libSDL2_test.aBinary files differ
lib64/libSDL2-2.0.so.0.1.0Binary files differ
lib64/libSDL2_test.aBinary files differ