view dmmutex.h @ 286:a17e54015bd9

Fix a small memory leak, the special "empty" pattern was not being freed.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 11 Oct 2012 10:24:00 +0300
parents 245b15cd1919
children dd9809a93425
line wrap: on
line source

/*
 * DMLib
 * -- Bogus implementations of SDL mutex functions
 * Programmed and designed by Matti 'ccr' Hamalainen
 * (C) Copyright 2012 Tecnic Software productions (TNSP)
 */

int SDL_mutexP(DMMutex *p)
{
    (void) p;
    return 0;
}

int SDL_mutexV(DMMutex *p)
{
    (void) p;
    return 0;
}

DMMutex * SDL_CreateMutex()
{
    return NULL;
}

void SDL_DestroyMutex(DMMutex *p)
{
    (void) p;
}