mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-16 11:06:49 +01:00
b72938c861
An existing hint lets apps that don't need the timer resolution changed avoid this, to save battery, etc, but this fixes several problems in timing, audio callbacks not firing fast enough, etc. Fixes Bugzilla #2944.
26 lines
545 B
C
26 lines
545 B
C
/**
|
|
* \file mischelper.c
|
|
*
|
|
* Header with miscellaneous helper functions.
|
|
*/
|
|
|
|
#ifndef _SDL_visualtest_mischelper_h
|
|
#define _SDL_visualtest_mischelper_h
|
|
|
|
/* Set up for C function definitions, even when using C++ */
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* Stores a 32 digit hexadecimal string representing the MD5 hash of the
|
|
* string \c str in \c hash.
|
|
*/
|
|
void SDLVisualTest_HashString(char* str, char hash[33]);
|
|
|
|
/* Ends C function definitions when using C++ */
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* _SDL_visualtest_mischelper_h */ |