include/SDL_main.h
changeset 7281 cd5516b9263d
parent 7191 75360622e65f
child 7335 13b67be8e3af
     1.1 --- a/include/SDL_main.h	Wed Jun 05 21:14:26 2013 -0700
     1.2 +++ b/include/SDL_main.h	Wed Jun 05 21:23:59 2013 -0700
     1.3 @@ -72,6 +72,15 @@
     1.4  extern "C" {
     1.5  #endif
     1.6  
     1.7 +/*
     1.8 + *  This is called by the real SDL main function to let the rest of the
     1.9 + *  library know that initialization was done properly.
    1.10 + *
    1.11 + *  Calling this yourself without knowing what you're doing can cause
    1.12 + *  crashes and hard to diagnose problems with your application.
    1.13 + */
    1.14 +extern DECLSPEC void SDL_SetMainReady(void);
    1.15 +
    1.16  #ifdef __WIN32__
    1.17  
    1.18  /**