Make the buffer passed to `put' op constant.
[u/mdw/catacomb] / mptext.h
index e9e68a8..93cbf50 100644 (file)
--- a/mptext.h
+++ b/mptext.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: mptext.h,v 1.2 1999/12/10 23:29:48 mdw Exp $
+ * $Id: mptext.h,v 1.3 1999/12/22 15:56:30 mdw Exp $
  *
  * Textual representation of multiprecision numbers
  *
@@ -30,6 +30,9 @@
 /*----- Revision history --------------------------------------------------* 
  *
  * $Log: mptext.h,v $
+ * Revision 1.3  1999/12/22 15:56:30  mdw
+ * Make the buffer passed to `put' op constant.
+ *
  * Revision 1.2  1999/12/10 23:29:48  mdw
  * Change header file guard names.
  *
@@ -56,7 +59,7 @@
 typedef struct mptext_ops {
   int (*get)(void */*p*/);
   void (*unget)(int /*ch*/, void */*p*/);
-  int (*put)(char */*s*/, size_t /*len*/, void */*p*/);
+  int (*put)(const char */*s*/, size_t /*len*/, void */*p*/);
 } mptext_ops;
 
 /*----- Functions provided ------------------------------------------------*/