Mercurial > hg > dmlib
view src/dmmutex.h @ 2577:04c035342960
Attribute code in dmperlin.[ch] to be heavily based on Ken Perlin's original C
implementation, which can be found, for example, at
https://cs.nyu.edu/~perlin/doc/oscar.html#noise
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 12 Mar 2022 02:42:16 +0200 |
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