]> wimlib.net Git - wimlib/blobdiff - include/wimlib/lz.h
Get rid of input_idx_t
[wimlib] / include / wimlib / lz.h
index 4206f144be8e6578bf5ebfc8456c44aa7e448aa3..7870c9725db1e5440b00abd2a59c8d810813eaff 100644 (file)
@@ -5,12 +5,9 @@
 
 //#define ENABLE_LZ_DEBUG
 #ifdef ENABLE_LZ_DEBUG
-#  define LZ_DEBUG DEBUG
 #  define LZ_ASSERT wimlib_assert
 #  include "wimlib/assert.h"
-#  include "wimlib/error.h"
 #else
-#  define LZ_DEBUG(...)
 #  define LZ_ASSERT(...)
 #endif
 
@@ -22,9 +19,9 @@
  *
  * This can alternatively be used to represent a literal byte if @len is less
  * than the minimum match length.  */
-struct raw_match {
-       input_idx_t len;
-       input_idx_t offset;
+struct lz_match {
+       u32 len;
+       u32 offset;
 };
 
 #endif /* _WIMLIB_LZ_H */