visualtest/include/SDL_visualtest_mischelper.h
author Ryan C. Gordon
Mon, 28 Dec 2015 13:08:19 -0500
changeset 9974 05770dc93c95
parent 7924 fcb86d323770
child 11382 2c50e79b19e0
permissions -rw-r--r--
Windows: resync num/caps lock when window is gaining focus.
     1 /**
     2  * \file mischelper.c 
     3  *
     4  * Header with miscellaneous helper functions.
     5  */
     6 
     7 #ifndef _SDL_visualtest_mischelper_h
     8 #define _SDL_visualtest_mischelper_h
     9 
    10 /* Set up for C function definitions, even when using C++ */
    11 #ifdef __cplusplus
    12 extern "C" {
    13 #endif
    14 
    15 /**
    16  * Stores a 32 digit hexadecimal string representing the MD5 hash of the
    17  * string \c str in \c hash.
    18  */
    19 void SDLVisualTest_HashString(char* str, char hash[33]);
    20 
    21 /* Ends C function definitions when using C++ */
    22 #ifdef __cplusplus
    23 }
    24 #endif
    25 
    26 #endif /* _SDL_visualtest_mischelper_h */