X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/d3409d5ecf2492cff862616de72a580d1a8e8dc0..1c42b46256f9cd956c7e7fe0fb98b47f7ac1d804:/mptext.h diff --git a/mptext.h b/mptext.h index 667c098..93cbf50 100644 --- a/mptext.h +++ b/mptext.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mptext.h,v 1.1 1999/11/17 18:02:16 mdw Exp $ + * $Id: mptext.h,v 1.3 1999/12/22 15:56:30 mdw Exp $ * * Textual representation of multiprecision numbers * @@ -30,13 +30,19 @@ /*----- 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. + * * Revision 1.1 1999/11/17 18:02:16 mdw * New multiprecision integer arithmetic suite. * */ -#ifndef MPTEXT_H -#define MPTEXT_H +#ifndef CATACOMB_MPTEXT_H +#define CATACOMB_MPTEXT_H #ifdef __cplusplus extern "C" { @@ -44,7 +50,7 @@ /*----- Header files ------------------------------------------------------*/ -#ifndef MP_H +#ifndef CATACOMB_MP_H # include "mp.h" #endif @@ -53,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 ------------------------------------------------*/