visualtest/include/SDL_visualtest_mischelper.h
author David Ludwig <dludwig@pobox.com>
Wed, 25 Dec 2013 21:39:48 -0500
changeset 8563 c0e68f3b6bbb
parent 7924 fcb86d323770
child 11382 2c50e79b19e0
permissions -rw-r--r--
WinRT: compiled the d3d11 renderer's shaders into SDL itself

Previously, the shaders would get compiled separately, the output of which would need to be packaged into the app. This change should make SDL's dll be the only binary needed to include SDL in a WinRT app.
     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 */