Mercurial > forge
view extra/engine/engOutputBuffer.c @ 0:6b33357c7561 octave-forge
Initial revision
author | pkienzle |
---|---|
date | Wed, 10 Oct 2001 19:54:49 +0000 |
parents | |
children |
line wrap: on
line source
#include <stdio.h> #include "engine.h" int matbuffer = 0; char* matbufptr = NULL; int matbufcnt = 0; int engOutputBuffer( Engine *ep, char *p, int n ) { #ifdef DEBUGAPI fprintf( stdout, "Begin engOutputBuffer ...\n" ); fflush( stdout ); #endif if( p != NULL ) { matbufptr = p; matbufcnt = n; } else { matbufptr = NULL; matbufcnt = 0; } #ifdef DEBUGAPI fprintf( stdout, "Exit engOutputBuffer with status %d\n", 0 ); fflush( stdout ); #endif return 0; }