From e76d60c53d666cc42408bcea5e4060ac173798dd Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Wed, 26 Nov 2003 23:44:08 +0000 Subject: xprintf clean pass. xprintf now log into new XINE_LOG_TRACE log buffer. scratch buffer enhancement (thanks Thibaut for the malloc tips), enlarge log buffer from 25 lines (very useless), to 150 (better). CVS patchset: 5801 CVS date: 2003/11/26 23:44:08 --- src/xine-engine/scratch.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/scratch.h') diff --git a/src/xine-engine/scratch.h b/src/xine-engine/scratch.h index e79fe6b4b..72d8901c8 100644 --- a/src/xine-engine/scratch.h +++ b/src/xine-engine/scratch.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: scratch.h,v 1.6 2003/11/11 18:45:01 f1rmb Exp $ + * $Id: scratch.h,v 1.7 2003/11/26 23:44:11 f1rmb Exp $ * * scratch buffer for log output * @@ -30,6 +30,8 @@ typedef struct scratch_buffer_s scratch_buffer_t; +#define SCRATCH_LINE_LEN_MAX 1024 + struct scratch_buffer_s { void (*scratch_printf) (scratch_buffer_t *this, const char *format, va_list ap); -- cgit v1.2.3