mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-20 13:06:05 +00:00
Updated source to match SDL function prototype style
This commit is contained in:
parent
92f72682e7
commit
3f1fd5abff
243 changed files with 1218 additions and 2364 deletions
|
|
@ -50,8 +50,7 @@ static void SDL_FreeDataQueueList(SDL_DataQueuePacket *packet)
|
|||
}
|
||||
}
|
||||
|
||||
SDL_DataQueue *
|
||||
SDL_NewDataQueue(const size_t _packetlen, const size_t initialslack)
|
||||
SDL_DataQueue *SDL_NewDataQueue(const size_t _packetlen, const size_t initialslack)
|
||||
{
|
||||
SDL_DataQueue *queue = (SDL_DataQueue *)SDL_calloc(1, sizeof(SDL_DataQueue));
|
||||
|
||||
|
|
@ -316,8 +315,7 @@ SDL_CountDataQueue(SDL_DataQueue *queue)
|
|||
return retval;
|
||||
}
|
||||
|
||||
SDL_mutex *
|
||||
SDL_GetDataQueueMutex(SDL_DataQueue *queue)
|
||||
SDL_mutex *SDL_GetDataQueueMutex(SDL_DataQueue *queue)
|
||||
{
|
||||
return queue ? queue->lock : NULL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue