diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/extra/engine/engOutputBuffer.c	Wed Oct 10 19:54:49 2001 +0000
@@ -0,0 +1,33 @@
+#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;
+}