mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 16:52:18 +01:00
Add limited read/write status codes.
This commit is contained in:
1 parent
8c795fb2dc
commit
5eb9bce5f7
6 files changed
+78
-39
No files matched your search
+6
-4
@@ -95,10 +95,12 @@ typedef int32_t puffs_flate_status;
|
||||
#define PUFFS_FLATE_ERROR_BAD_RECEIVER -2147483646 // 0x80000002
|
||||
#define PUFFS_FLATE_ERROR_BAD_ARGUMENT -2147483645 // 0x80000003
|
||||
#define PUFFS_FLATE_ERROR_CONSTRUCTOR_NOT_CALLED -2147483644 // 0x80000004
|
||||
#define PUFFS_FLATE_ERROR_UNEXPECTED_EOF -2147483643 // 0x80000005
|
||||
#define PUFFS_FLATE_SUSPENSION_SHORT_READ 6 // 0x00000006
|
||||
#define PUFFS_FLATE_SUSPENSION_SHORT_WRITE 7 // 0x00000007
|
||||
#define PUFFS_FLATE_ERROR_CLOSED_FOR_WRITES -2147483640 // 0x80000008
|
||||
#define PUFFS_FLATE_ERROR_CLOSED_FOR_WRITES -2147483643 // 0x80000005
|
||||
#define PUFFS_FLATE_ERROR_UNEXPECTED_EOF -2147483642 // 0x80000006
|
||||
#define PUFFS_FLATE_SUSPENSION_SHORT_READ 7 // 0x00000007
|
||||
#define PUFFS_FLATE_SUSPENSION_SHORT_WRITE 8 // 0x00000008
|
||||
#define PUFFS_FLATE_SUSPENSION_LIMITED_READ 9 // 0x00000009
|
||||
#define PUFFS_FLATE_SUSPENSION_LIMITED_WRITE 10 // 0x0000000a
|
||||
|
||||
#define PUFFS_FLATE_ERROR_BAD_DISTANCE_CODE_COUNT -1157040128 // 0xbb08f800
|
||||
#define PUFFS_FLATE_ERROR_BAD_FLATE_BLOCK -1157040127 // 0xbb08f801
|
||||
|
||||
+6
-4
@@ -95,10 +95,12 @@ typedef int32_t puffs_gif_status;
|
||||
#define PUFFS_GIF_ERROR_BAD_RECEIVER -2147483646 // 0x80000002
|
||||
#define PUFFS_GIF_ERROR_BAD_ARGUMENT -2147483645 // 0x80000003
|
||||
#define PUFFS_GIF_ERROR_CONSTRUCTOR_NOT_CALLED -2147483644 // 0x80000004
|
||||
#define PUFFS_GIF_ERROR_UNEXPECTED_EOF -2147483643 // 0x80000005
|
||||
#define PUFFS_GIF_SUSPENSION_SHORT_READ 6 // 0x00000006
|
||||
#define PUFFS_GIF_SUSPENSION_SHORT_WRITE 7 // 0x00000007
|
||||
#define PUFFS_GIF_ERROR_CLOSED_FOR_WRITES -2147483640 // 0x80000008
|
||||
#define PUFFS_GIF_ERROR_CLOSED_FOR_WRITES -2147483643 // 0x80000005
|
||||
#define PUFFS_GIF_ERROR_UNEXPECTED_EOF -2147483642 // 0x80000006
|
||||
#define PUFFS_GIF_SUSPENSION_SHORT_READ 7 // 0x00000007
|
||||
#define PUFFS_GIF_SUSPENSION_SHORT_WRITE 8 // 0x00000008
|
||||
#define PUFFS_GIF_SUSPENSION_LIMITED_READ 9 // 0x00000009
|
||||
#define PUFFS_GIF_SUSPENSION_LIMITED_WRITE 10 // 0x0000000a
|
||||
|
||||
#define PUFFS_GIF_ERROR_BAD_GIF_BLOCK -1105848320 // 0xbe161800
|
||||
#define PUFFS_GIF_ERROR_BAD_GIF_EXTENSION_LABEL -1105848319 // 0xbe161801
|
||||
|
||||
Reference in new issue
Block a user