From 4e9676fb13f60ecdbc247b120031f18cd3febcb0 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 29 Jun 2002 19:48:15 +0000 Subject: Applied Matt Sealey's patch to remove/isolate all stdio.h function calls. Instead of mstdio.[ch], use imports.[ch] to isolate these functions. --- src/mesa/main/imports.h | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/imports.h') diff --git a/src/mesa/main/imports.h b/src/mesa/main/imports.h index 95bcf312a9..2a19ff81d1 100644 --- a/src/mesa/main/imports.h +++ b/src/mesa/main/imports.h @@ -1,4 +1,4 @@ -/* $Id: imports.h,v 1.3 2002/06/13 04:28:29 brianp Exp $ */ +/* $Id: imports.h,v 1.4 2002/06/29 19:48:16 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -32,6 +32,28 @@ #include "glheader.h" +extern int CAPI +_mesa_sprintf(__GLcontext *gc, char *str, const char *fmt, ...); + +extern void +_mesa_warning(__GLcontext *gc, const char *fmtString, ...); + +extern void +_mesa_fatal(__GLcontext *gc, char *str); + +extern void +_mesa_problem( const __GLcontext *ctx, const char *s ); + +extern void +_mesa_error( __GLcontext *ctx, GLenum error, const char *fmtString, ... ); + +extern void +_mesa_debug( const __GLcontext *ctx, const char *fmtString, ... ); + +extern void +_mesa_printf( const __GLcontext *ctx, const char *fmtString, ... ); + + extern void _mesa_init_default_imports(__GLimports *imports, void *driverCtx); -- cgit v1.2.3