X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/b3f050848e5d285c2a1d7f8a4bea98984c201805..d34decd2b2b88240cf4ca68a2a5feb7bf36de6e7:/mptext.h diff --git a/mptext.h b/mptext.h index e9e68a8..93cbf50 100644 --- 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 ------------------------------------------------*/