mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 08:47:28 +01:00
Skip generating wuffs_base__utility typed fields
This commit is contained in:
1 parent
dcf91f6c7e
commit
54a112a130
2 files changed
+3
-5
No files matched your search
@@ -736,6 +736,9 @@ func (g *gen) writeStructPrivateImpl(b *buffer, n *a.Struct) error {
|
|||||||
|
|
||||||
for _, o := range n.Fields() {
|
for _, o := range n.Fields() {
|
||||||
o := o.AsField()
|
o := o.AsField()
|
||||||
|
if o.XType().Eq(typeExprUtility) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
if err := g.writeCTypeName(b, o.XType(), fPrefix, o.Name().Str(g.tm)); err != nil {
|
if err := g.writeCTypeName(b, o.XType(), fPrefix, o.Name().Str(g.tm)); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2705,7 +2705,6 @@ struct wuffs_deflate__decoder__struct {
|
|||||||
uint32_t f_history_index;
|
uint32_t f_history_index;
|
||||||
uint8_t f_code_lengths[320];
|
uint8_t f_code_lengths[320];
|
||||||
bool f_end_of_block;
|
bool f_end_of_block;
|
||||||
wuffs_base__utility f_util;
|
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
uint32_t coro_susp_point;
|
uint32_t coro_susp_point;
|
||||||
@@ -2901,7 +2900,6 @@ struct wuffs_lzw__decoder__struct {
|
|||||||
uint16_t f_prefixes[4096];
|
uint16_t f_prefixes[4096];
|
||||||
uint16_t f_lm1s[4096];
|
uint16_t f_lm1s[4096];
|
||||||
uint8_t f_output[8199];
|
uint8_t f_output[8199];
|
||||||
wuffs_base__utility f_util;
|
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
uint32_t coro_susp_point;
|
uint32_t coro_susp_point;
|
||||||
@@ -3113,7 +3111,6 @@ struct wuffs_gif__decoder__struct {
|
|||||||
uint8_t f_palettes[2][1024];
|
uint8_t f_palettes[2][1024];
|
||||||
uint8_t f_dst_palette[1024];
|
uint8_t f_dst_palette[1024];
|
||||||
wuffs_base__pixel_swizzler f_swizzler;
|
wuffs_base__pixel_swizzler f_swizzler;
|
||||||
wuffs_base__utility f_util;
|
|
||||||
wuffs_lzw__decoder f_lzw;
|
wuffs_lzw__decoder f_lzw;
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
@@ -3356,7 +3353,6 @@ struct wuffs_gzip__decoder__struct {
|
|||||||
wuffs_deflate__decoder f_flate;
|
wuffs_deflate__decoder f_flate;
|
||||||
wuffs_crc32__ieee_hasher f_checksum;
|
wuffs_crc32__ieee_hasher f_checksum;
|
||||||
bool f_ignore_checksum;
|
bool f_ignore_checksum;
|
||||||
wuffs_base__utility f_util;
|
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
uint32_t coro_susp_point;
|
uint32_t coro_susp_point;
|
||||||
@@ -3509,7 +3505,6 @@ struct wuffs_zlib__decoder__struct {
|
|||||||
wuffs_deflate__decoder f_flate;
|
wuffs_deflate__decoder f_flate;
|
||||||
wuffs_adler32__hasher f_checksum;
|
wuffs_adler32__hasher f_checksum;
|
||||||
bool f_ignore_checksum;
|
bool f_ignore_checksum;
|
||||||
wuffs_base__utility f_util;
|
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
uint32_t coro_susp_point;
|
uint32_t coro_susp_point;
|
||||||
|
|||||||
Reference in new issue
Block a user