mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-25 00:55:11 +01:00
Add wuffs_base__pixel_swizzler__func typedef
This commit is contained in:
1 parent
86a2a62313
commit
47ce6ea296
4 files changed
+27
-23
No files matched your search
@@ -1109,14 +1109,17 @@ typedef struct {
|
||||
|
||||
// --------
|
||||
|
||||
// TODO: should the func type take restrict pointers?
|
||||
typedef uint64_t (*wuffs_base__pixel_swizzler__func)(
|
||||
wuffs_base__slice_u8 dst,
|
||||
wuffs_base__slice_u8 dst_palette,
|
||||
wuffs_base__slice_u8 src);
|
||||
|
||||
typedef struct {
|
||||
// Do not access the private_impl's fields directly. There is no API/ABI
|
||||
// compatibility or safety guarantee if you do so.
|
||||
struct {
|
||||
// TODO: should the func type take restrict pointers?
|
||||
uint64_t (*func)(wuffs_base__slice_u8 dst,
|
||||
wuffs_base__slice_u8 dst_palette,
|
||||
wuffs_base__slice_u8 src);
|
||||
wuffs_base__pixel_swizzler__func func;
|
||||
} private_impl;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in new issue
Block a user