include/SDL_assert.h
changeset 3668 6952d2b783e6
parent 3666 0d58847d1e2a
child 3670 62b6a5b99918
equal deleted inserted replaced
3667:cc7eca3a4e13 3668:6952d2b783e6
   110     int linenum;
   110     int linenum;
   111     const char *function;
   111     const char *function;
   112     struct SDL_assert_data *next;
   112     struct SDL_assert_data *next;
   113 } SDL_assert_data;
   113 } SDL_assert_data;
   114 
   114 
       
   115 /* Never call this directly. Use the SDL_assert* macros. */
   115 extern DECLSPEC SDL_assert_state SDLCALL SDL_ReportAssertion(SDL_assert_data *,
   116 extern DECLSPEC SDL_assert_state SDLCALL SDL_ReportAssertion(SDL_assert_data *,
   116                                                              const char *,
   117                                                              const char *,
   117                                                              const char *, int);
   118                                                              const char *, int);
   118 
   119 
   119 /* the do {} while(0) avoids dangling else problems:
   120 /* the do {} while(0) avoids dangling else problems: