mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
Make the status type a struct, not an int32_t
This commit is contained in:
1 parent
9c0b2d2f5c
commit
2a32a86a6c
26 files changed
+791
-668
No files matched your search
@@ -56,9 +56,9 @@ static inline void wuffs_base__ignore_check_wuffs_version_status(
|
||||
case n:;
|
||||
|
||||
#define WUFFS_BASE__COROUTINE_SUSPENSION_POINT_MAYBE_SUSPEND(n) \
|
||||
if (status < 0) { \
|
||||
if (status.code < 0) { \
|
||||
goto exit; \
|
||||
} else if (status == 0) { \
|
||||
} else if (status.code == 0) { \
|
||||
goto ok; \
|
||||
} \
|
||||
coro_susp_point = n; \
|
||||
|
||||
Reference in new issue
Block a user