mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-15 09:18:27 +00:00
Remove old mutex macros
This commit is contained in:
parent
38d22aed67
commit
170c410d35
1 changed files with 0 additions and 2 deletions
|
@ -172,7 +172,6 @@ extern DECLSPEC SDL_mutex *SDLCALL SDL_CreateMutex(void);
|
||||||
* \since This function is available since SDL 3.0.0.
|
* \since This function is available since SDL 3.0.0.
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC int SDLCALL SDL_LockMutex(SDL_mutex * mutex) SDL_ACQUIRE(mutex);
|
extern DECLSPEC int SDLCALL SDL_LockMutex(SDL_mutex * mutex) SDL_ACQUIRE(mutex);
|
||||||
#define SDL_mutexP(m) SDL_LockMutex(m)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Try to lock a mutex without blocking.
|
* Try to lock a mutex without blocking.
|
||||||
|
@ -213,7 +212,6 @@ extern DECLSPEC int SDLCALL SDL_TryLockMutex(SDL_mutex * mutex) SDL_TRY_ACQUIRE(
|
||||||
* \since This function is available since SDL 3.0.0.
|
* \since This function is available since SDL 3.0.0.
|
||||||
*/
|
*/
|
||||||
extern DECLSPEC int SDLCALL SDL_UnlockMutex(SDL_mutex * mutex) SDL_RELEASE(mutex);
|
extern DECLSPEC int SDLCALL SDL_UnlockMutex(SDL_mutex * mutex) SDL_RELEASE(mutex);
|
||||||
#define SDL_mutexV(m) SDL_UnlockMutex(m)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Destroy a mutex created with SDL_CreateMutex().
|
* Destroy a mutex created with SDL_CreateMutex().
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue