all: cleanups

This commit is contained in:
Markus F.X.J. Oberhumer
2023-08-16 01:06:52 +02:00
parent a9ac4b5e23
commit 394cd77bec
15 changed files with 49 additions and 43 deletions
+3 -3
View File
@@ -59,11 +59,11 @@ public:
// canPack() should throw a cantPackException eplaining why it cannot pack
// a recognized format.
// canPack() can return -1 to stop early; see class PackMaster
// canPack() can return -1 to fail early; see class PackMaster
virtual tribool canPack() = 0;
// canUnpack() should throw a cantUnpackException eplaining why it cannot pack
// a recognized format.
// canUnpack() can return -1 to stop early; see class PackMaster
// canUnpack() can return -1 to fail early; see class PackMaster
virtual tribool canUnpack() = 0;
// PackMaster entries
@@ -82,7 +82,7 @@ protected:
const upx_int64_t file_size; // must get set by constructor
const upx_uint64_t file_size_u; // explicitly unsigned
};
PackHeader ph; // must be filled by canUnpack()
PackHeader ph; // must be filled by canUnpack(); also used by UiPacker
};
/*************************************************************************