From e5ecdfae981ca0b603892deffa9ef2892c5d1d9c Mon Sep 17 00:00:00 2001 From: Morten Fangel Date: Thu, 15 Dec 2016 15:59:23 +0100 Subject: Made number of iterations configurable with a flag Introduced a new -n flag where you can set the number of iterations to run. More iterations = longer running time, but smaller output --- woff.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'woff.h') diff --git a/woff.h b/woff.h index d8c6f55..e792526 100644 --- a/woff.h +++ b/woff.h @@ -107,7 +107,8 @@ extern "C" { */ const uint8_t * woffEncode(const uint8_t * sfntData, uint32_t sfntLen, uint16_t majorVersion, uint16_t minorVersion, - uint32_t * woffLen, uint32_t * status); + int32_t numiterations, uint32_t * woffLen, + uint32_t * status); /***************************************************************************** -- cgit v1.2.3