view src/dmmutex.h @ 2298:b5abfff07ca9

Add new DMGrowBuf helper functions dmGrowBufCopyOffsSize() and dmGrowBufConstCopyOffsSize().
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 04 Jul 2019 10:54:16 +0300
parents 5e5f75b45f8d
children
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)
 */
#ifndef DMMUTEX_H
#define DMMUTEX_H 1

SDL_threadID SDL_ThreadID()
{
    return 0;
}

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

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

SDL_mutex * SDL_CreateMutex()
{
    return NULL;
}

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

#endif