diff options
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
Diffstat (limited to 'woff.h')
-rw-r--r-- | woff.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); /***************************************************************************** |