diff tools/lib64gfx.h @ 1916:34ba8e2d2dd7

Split dmC64GetOpSize() to dmC64GetSubjectSize() and dmC64GetOpSubjectSize().
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 27 Jun 2018 18:36:03 +0300
parents f382cde6bb58
children 3c6f638ce402
line wrap: on
line diff
--- a/tools/lib64gfx.h	Wed Jun 27 15:43:20 2018 +0300
+++ b/tools/lib64gfx.h	Wed Jun 27 18:36:03 2018 +0300
@@ -320,7 +320,9 @@
 const char *dmC64GetOpSubjectName(const int subject);
 void      dmC64GetOpMemBlock(const DMC64Image *img, const int subject, const int bank, const DMC64MemBlock **blk);
 int       dmC64SanityCheckEncDecOp(const int i, const DMC64EncDecOp *op, const DMC64Image *img);
-BOOL      dmC64GetOpSize(const DMC64EncDecOp *op, const DMC64ImageFormat *fmt, size_t *size);
+
+size_t    dmC64GetSubjectSize(const int subject, const DMC64ImageFormat *fmt);
+size_t    dmC64GetOpSubjectSize(const DMC64EncDecOp *op, const DMC64ImageFormat *fmt);
 
 
 int       dmC64DecodeGenericBMP(DMC64Image *img, const DMGrowBuf *buf, const DMC64ImageFormat *fmt);