Edit

kc3-lang/SDL/visualtest/include/SDL_visualtest_mischelper.h

Branch :

  • Show log

    Commit

  • Author : Sam Lantinga
    Date : 2013-11-27 10:29:27
    Hash : 2bb344d6
    Message : Don't crash when no WM is present. CR: Sam Lantinga.

  • visualtest/include/SDL_visualtest_mischelper.h
  • /**
     * \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 */