mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 16:47:28 +01:00
Prepare to add cpu_arch_utility types
This commit is contained in:
1 parent
869be76fae
commit
492068f3dc
8 files changed
+77
-29
No files matched your search
@@ -801,6 +801,10 @@ func (n *TypeExpr) IsCPUArchType() bool {
|
||||
return n.id0 == 0 && n.id1 == t.IDBase && n.id2.IsBuiltInCPUArch()
|
||||
}
|
||||
|
||||
func (n *TypeExpr) IsEtcUtilityType() bool {
|
||||
return n.id0 == 0 && n.id1 == t.IDBase && n.id2.IsEtcUtility()
|
||||
}
|
||||
|
||||
func (n *TypeExpr) IsIdeal() bool {
|
||||
return n.id0 == 0 && n.id1 == t.IDBase && n.id2 == t.IDQIdeal
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user