mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 08:47:56 +01:00
Add base.ANIMATION_DISPOSAL__ETC constants
This commit is contained in:
1 parent
e847766b02
commit
2373340f83
3 files changed
+13
-6
No files matched your search
@@ -94,6 +94,12 @@ var Consts = [...]struct {
|
||||
}{
|
||||
// ----
|
||||
|
||||
{t.IDU8, "0", "ANIMATION_DISPOSAL__NONE"},
|
||||
{t.IDU8, "1", "ANIMATION_DISPOSAL__RESTORE_BACKGROUND"},
|
||||
{t.IDU8, "2", "ANIMATION_DISPOSAL__RESTORE_PREVIOUS"},
|
||||
|
||||
// ----
|
||||
|
||||
{t.IDU32, "1", "MORE_INFORMATION__FLAVOR__IO_REDIRECT"},
|
||||
{t.IDU32, "2", "MORE_INFORMATION__FLAVOR__IO_SEEK"},
|
||||
{t.IDU32, "3", "MORE_INFORMATION__FLAVOR__METADATA_RAW_PASSTHROUGH"},
|
||||
|
||||
@@ -135,6 +135,10 @@ func Check(tm *t.Map, files []*a.File, resolveUse func(usePath string) ([]byte,
|
||||
}
|
||||
xType := (*a.TypeExpr)(nil)
|
||||
switch z.Type {
|
||||
case t.IDU8:
|
||||
xType = typeExprU8
|
||||
case t.IDU16:
|
||||
xType = typeExprU16
|
||||
case t.IDU32:
|
||||
xType = typeExprU32
|
||||
case t.IDU64:
|
||||
|
||||
Reference in new issue
Block a user