mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 08:47:28 +01:00
Add base.utility.cpu_arch_is_32_bit()
This commit is contained in:
1 parent
39e2044102
commit
4993f88a66
5 files changed
+43
-23
No files matched your search
+18
-16
@@ -624,14 +624,15 @@ const (
|
||||
|
||||
// -------- 0x200 block.
|
||||
|
||||
IDAdvance = ID(0x200)
|
||||
IDCPUArch = ID(0x201)
|
||||
IDInitialize = ID(0x202)
|
||||
IDLength = ID(0x203)
|
||||
IDReset = ID(0x204)
|
||||
IDSet = ID(0x205)
|
||||
IDUnroll = ID(0x206)
|
||||
IDUpdate = ID(0x207)
|
||||
IDAdvance = ID(0x200)
|
||||
IDCPUArch = ID(0x201)
|
||||
IDCPUArchIs32Bit = ID(0x202)
|
||||
IDInitialize = ID(0x203)
|
||||
IDLength = ID(0x204)
|
||||
IDReset = ID(0x205)
|
||||
IDSet = ID(0x206)
|
||||
IDUnroll = ID(0x207)
|
||||
IDUpdate = ID(0x208)
|
||||
|
||||
// TODO: range/rect methods like intersection and contains?
|
||||
|
||||
@@ -1045,14 +1046,15 @@ var builtInsByID = [nBuiltInIDs]string{
|
||||
|
||||
// -------- 0x200 block.
|
||||
|
||||
IDAdvance: "advance",
|
||||
IDCPUArch: "cpu_arch",
|
||||
IDInitialize: "initialize",
|
||||
IDLength: "length",
|
||||
IDReset: "reset",
|
||||
IDSet: "set",
|
||||
IDUnroll: "unroll",
|
||||
IDUpdate: "update",
|
||||
IDAdvance: "advance",
|
||||
IDCPUArch: "cpu_arch",
|
||||
IDCPUArchIs32Bit: "cpu_arch_is_32_bit",
|
||||
IDInitialize: "initialize",
|
||||
IDLength: "length",
|
||||
IDReset: "reset",
|
||||
IDSet: "set",
|
||||
IDUnroll: "unroll",
|
||||
IDUpdate: "update",
|
||||
|
||||
IDHighBits: "high_bits",
|
||||
IDLowBits: "low_bits",
|
||||
|
||||
Reference in new issue
Block a user