visualtest/include/SDL_visualtest_mischelper.h
changeset 7924 fcb86d323770
child 11382 2c50e79b19e0
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/visualtest/include/SDL_visualtest_mischelper.h	Sun Nov 10 00:32:23 2013 -0500
     1.3 @@ -0,0 +1,26 @@
     1.4 +/**
     1.5 + * \file mischelper.c 
     1.6 + *
     1.7 + * Header with miscellaneous helper functions.
     1.8 + */
     1.9 +
    1.10 +#ifndef _SDL_visualtest_mischelper_h
    1.11 +#define _SDL_visualtest_mischelper_h
    1.12 +
    1.13 +/* Set up for C function definitions, even when using C++ */
    1.14 +#ifdef __cplusplus
    1.15 +extern "C" {
    1.16 +#endif
    1.17 +
    1.18 +/**
    1.19 + * Stores a 32 digit hexadecimal string representing the MD5 hash of the
    1.20 + * string \c str in \c hash.
    1.21 + */
    1.22 +void SDLVisualTest_HashString(char* str, char hash[33]);
    1.23 +
    1.24 +/* Ends C function definitions when using C++ */
    1.25 +#ifdef __cplusplus
    1.26 +}
    1.27 +#endif
    1.28 +
    1.29 +#endif /* _SDL_visualtest_mischelper_h */
    1.30 \ No newline at end of file