mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-02-15 00:03:16 +00:00
Updated source to match SDL function prototype style
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user