visualtest/include/SDL_visualtest_mischelper.h
author Sam Lantinga <slouken@libsdl.org>
Sat, 23 Sep 2017 12:38:47 -0700
changeset 11543 53b03749a7ff
parent 11382 2c50e79b19e0
permissions -rw-r--r--
Fixed bug 3842 - fix SDL_thread.h for emx

Ozkan Sezer

EMX declares _beginthread() / _endthread() in stdlib.h, not process.h.
The attached patch updates the OS/2 case of SDL_thread.h for it. (It
also tidies the unreadable whitespace in win32 case.)
icculus@7924
     1
/**
icculus@7924
     2
 * \file mischelper.c 
icculus@7924
     3
 *
icculus@7924
     4
 * Header with miscellaneous helper functions.
icculus@7924
     5
 */
icculus@7924
     6
slouken@11382
     7
#ifndef SDL_visualtest_mischelper_h_
slouken@11382
     8
#define SDL_visualtest_mischelper_h_
icculus@7924
     9
icculus@7924
    10
/* Set up for C function definitions, even when using C++ */
icculus@7924
    11
#ifdef __cplusplus
icculus@7924
    12
extern "C" {
icculus@7924
    13
#endif
icculus@7924
    14
icculus@7924
    15
/**
icculus@7924
    16
 * Stores a 32 digit hexadecimal string representing the MD5 hash of the
icculus@7924
    17
 * string \c str in \c hash.
icculus@7924
    18
 */
icculus@7924
    19
void SDLVisualTest_HashString(char* str, char hash[33]);
icculus@7924
    20
icculus@7924
    21
/* Ends C function definitions when using C++ */
icculus@7924
    22
#ifdef __cplusplus
icculus@7924
    23
}
icculus@7924
    24
#endif
icculus@7924
    25
slouken@11382
    26
#endif /* SDL_visualtest_mischelper_h_ */
slouken@11382
    27
slouken@11382
    28
/* vi: set ts=4 sw=4 expandtab: */