diff options
author | nobled <[email protected]> | 2011-05-01 12:47:31 +0000 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-03-10 21:42:04 +0100 |
commit | 5ab088c7e201ea7e55459a24a945abcaa90d12c6 (patch) | |
tree | a0dd7d4b98b58f75f17bc54c22ada97f11b7adb9 /src/mesa/main/imports.h | |
parent | 60218b604ae3422983dd1cd24f5d913e18f73ac0 (diff) |
mesa: split error handling into its own file
Also add _mesa_vsnprintf.
Diffstat (limited to 'src/mesa/main/imports.h')
-rw-r--r-- | src/mesa/main/imports.h | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index ce7b45d7733..aa5eb3200af 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -38,7 +38,7 @@ #include "compiler.h" #include "glheader.h" - +#include "errors.h" #ifdef __cplusplus extern "C" { @@ -622,19 +622,8 @@ _mesa_str_checksum(const char *str); extern int _mesa_snprintf( char *str, size_t size, const char *fmt, ... ) PRINTFLIKE(3, 4); -struct gl_context; - -extern void -_mesa_warning( struct gl_context *gc, const char *fmtString, ... ) PRINTFLIKE(2, 3); - -extern void -_mesa_problem( const struct gl_context *ctx, const char *fmtString, ... ) PRINTFLIKE(2, 3); - -extern void -_mesa_error( struct gl_context *ctx, GLenum error, const char *fmtString, ... ) PRINTFLIKE(3, 4); - -extern void -_mesa_debug( const struct gl_context *ctx, const char *fmtString, ... ) PRINTFLIKE(2, 3); +extern int +_mesa_vsnprintf(char *str, size_t size, const char *fmt, va_list arg); #if defined(_MSC_VER) && !defined(snprintf) |