mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 16:55:11 +01:00
1 parent
b9c737eb37
commit
f81deb6b6e
6 files changed
+194
-50
No files matched your search
@@ -57,20 +57,6 @@
|
||||
|
||||
// --------
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wcast-qual"
|
||||
#endif
|
||||
static inline uint8_t* //
|
||||
wuffs_base__strip_const_from_u8_ptr(const uint8_t* ptr) {
|
||||
return (uint8_t*)ptr;
|
||||
}
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC diagnostic pop
|
||||
#endif
|
||||
|
||||
// --------
|
||||
|
||||
static inline wuffs_base__empty_struct //
|
||||
wuffs_base__ignore_status(wuffs_base__status z) {
|
||||
return wuffs_base__make_empty_struct();
|
||||
|
||||
Reference in new issue
Block a user