mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 01:01:35 +01:00
Make the status type a const char*, not a struct
This commit is contained in:
1 parent
e0311e3bb2
commit
b840c80040
24 files changed
+624
-815
No files matched your search
@@ -56,10 +56,10 @@ static inline void wuffs_base__ignore_check_wuffs_version_status(
|
||||
case n:;
|
||||
|
||||
#define WUFFS_BASE__COROUTINE_SUSPENSION_POINT_MAYBE_SUSPEND(n) \
|
||||
if (status.code < 0) { \
|
||||
goto exit; \
|
||||
} else if (status.code == 0) { \
|
||||
if (!status) { \
|
||||
goto ok; \
|
||||
} else if (*status != '$') { \
|
||||
goto exit; \
|
||||
} \
|
||||
coro_susp_point = n; \
|
||||
goto suspend; \
|
||||
|
||||
Reference in new issue
Block a user