diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-02-07 01:07:49 +0900 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-02-15 13:50:31 +1100 |
commit | bf3101afdc5d315f1fb42eb74ec1b8b0d4101aae (patch) | |
tree | e695f8f82764133d1fdad38ecc5fcdc329f7880d /src/mesa/pipe/p_debug.h | |
parent | 560416b263d10dae5d235b4cdaf44699181da74a (diff) |
gallium: Bring latest fixes.
Diffstat (limited to 'src/mesa/pipe/p_debug.h')
-rw-r--r-- | src/mesa/pipe/p_debug.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mesa/pipe/p_debug.h b/src/mesa/pipe/p_debug.h index b037eba2a3..2a11627b36 100644 --- a/src/mesa/pipe/p_debug.h +++ b/src/mesa/pipe/p_debug.h @@ -38,6 +38,10 @@ #ifndef P_DEBUG_H_ #define P_DEBUG_H_ + +#include <stdarg.h> + + #ifdef __cplusplus extern "C" { #endif @@ -55,8 +59,12 @@ extern "C" { void debug_printf(const char *format, ...); + +void debug_vprintf(const char *format, va_list ap); + void debug_assert_fail(const char *expr, const char *file, unsigned line); + /** Assert macro */ #ifdef DEBUG #define debug_assert(expr) ((expr) ? (void)0 : debug_assert_fail(#expr, __FILE__, __LINE__)) @@ -66,7 +74,6 @@ void debug_assert_fail(const char *expr, const char *file, unsigned line); #ifdef assert -#warning Standard C Library assert macro usage detected. #undef assert #endif #define assert(expr) debug_assert(expr) |