X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/70b904c575877c683e6c79cac4fbf7c6d89d0bde..bbded5340af51980b10b32fb84597e44446c2fd6:/mpint.h diff --git a/mpint.h b/mpint.h index 733292b..f75d5aa 100644 --- a/mpint.h +++ b/mpint.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mpint.h,v 1.1 1999/11/25 11:38:31 mdw Exp $ + * $Id: mpint.h,v 1.2 1999/12/10 23:22:53 mdw Exp $ * * Conversion between MPs and standard C integers * @@ -30,13 +30,16 @@ /*----- Revision history --------------------------------------------------* * * $Log: mpint.h,v $ + * Revision 1.2 1999/12/10 23:22:53 mdw + * Support for uint32. + * * Revision 1.1 1999/11/25 11:38:31 mdw * Support for conversions between MPs and C integers. * */ -#ifndef MPINT_H -#define MPINT_H +#ifndef CATACOMB_MPINT_H +#define CATACOMB_MPINT_H #ifdef __cplusplus extern "C" { @@ -46,7 +49,7 @@ #include -#ifndef MP_H +#ifndef CATACOMB_MP_H # include "mp.h" #endif @@ -168,6 +171,7 @@ mp_fromINT(short, short); mp_fromINT(ushort, unsigned short); mp_fromINT(int, int); mp_fromINT(uint, unsigned); +mp_fromINT(uint32, uint32); mp_fromINT(long, long); mp_fromINT(ulong, unsigned long); @@ -193,6 +197,7 @@ mp_toINT(short, short); mp_toINT(ushort, unsigned short); mp_toINT(int, int); mp_toINT(uint, unsigned); +mp_toINT(uint32, uint32); mp_toINT(long, long); mp_toINT(ulong, unsigned long);