X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/d03ab969116fe715d569304c1c474749b2f64529..d3409d5ecf2492cff862616de72a580d1a8e8dc0:/mpscan.c diff --git a/mpscan.c b/mpscan.c index a49eddf..cbfd138 100644 --- a/mpscan.c +++ b/mpscan.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: mpscan.c,v 1.1 1999/09/03 08:41:12 mdw Exp $ + * $Id: mpscan.c,v 1.2 1999/11/13 01:55:10 mdw Exp $ * * Sequential bit scan of multiprecision integers * @@ -30,6 +30,9 @@ /*----- Revision history --------------------------------------------------* * * $Log: mpscan.c,v $ + * Revision 1.2 1999/11/13 01:55:10 mdw + * Fixed so that they compile. Minor interface changes. + * * Revision 1.1 1999/09/03 08:41:12 mdw * Initial import. * @@ -37,17 +40,14 @@ /*----- Header files ------------------------------------------------------*/ -/*----- Data structures ---------------------------------------------------*/ - -/*----- Static variables --------------------------------------------------*/ +#include "mpscan.h" /*----- Main code ---------------------------------------------------------*/ /* --- @mpscan_initx@ --- * * * Arguments: @mpscan *m@ = pointer to bitscanner structure - * @const mpw *v@ = vector of words to scan - * @size_t len@ = length of vector in words + * @const mpw *v, *vl@ = vector of words to scan * * Returns: --- * @@ -57,9 +57,9 @@ * out. */ -void mpscan_initx(mpscan *m, const mpw *v, size_t len) +void mpscan_initx(mpscan *m, const mpw *v, const mpw *vl) { - MPSCAN_INITX(m, v, len); + MPSCAN_INITX(m, v, vl); } /* --- @mpscan_step@ --- *