# HG changeset patch # User Matti Hamalainen # Date 1528287505 -10800 # Node ID 8f47bd264458261d37d4d593ccd532f38e23b287 # Parent bed88d17f28c954c43c6d1658659c4d7204cc92d Make dmEncodeGenericRLESequence() a public function. diff -r bed88d17f28c -r 8f47bd264458 tools/lib64gfx.h --- a/tools/lib64gfx.h Wed Jun 06 14:37:20 2018 +0300 +++ b/tools/lib64gfx.h Wed Jun 06 15:18:25 2018 +0300 @@ -313,6 +313,8 @@ void dmSetupRLEBuffers(DMGrowBuf *dst, DMGrowBuf *src, const DMCompParams *cfg); void dmFinishRLEBuffers(DMGrowBuf *dst, DMGrowBuf *src, const DMCompParams *cfg); int dmGenericRLEOutputRun(DMGrowBuf *dst, const DMCompParams *cfg, const Uint8 data, const unsigned int count); +int dmEncodeGenericRLESequence(DMGrowBuf *dst, const Uint8 data, const unsigned int count, const DMCompParams *cfg); + int dmDecodeGenericRLE(DMGrowBuf *dst, const DMGrowBuf *src, const DMCompParams *cfg); int dmDecodeGenericRLEAlloc(DMGrowBuf *dst, const DMGrowBuf *src, const DMCompParams *cfg);