First pass at Ryan's assertion code, minor tweaks to come.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404398
This commit is contained in:
Sam Lantinga 2010-01-13 06:47:17 +00:00
parent 7f6c455755
commit a8a1ac9acd
15 changed files with 667 additions and 1 deletions

View file

@ -33,6 +33,9 @@
#include <stdarg.h>
/* SDL internal assertion support */
#define SDL_ASSERT_LEVEL 1
#if !defined(_STDINT_H_) && (!defined(HAVE_STDINT_H) || !_HAVE_STDINT_H)
typedef signed char int8_t;
typedef unsigned char uint8_t;