mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Add a (table T).row method
This commit is contained in:
1 parent
00c3f7ef1e
commit
f43afd8236
6 files changed
+38
-8
No files matched your search
@@ -200,4 +200,5 @@ var TableFuncs = []string{
|
||||
"T2.width()(ret u64)",
|
||||
|
||||
"T2.linearize()(ret T1)",
|
||||
"T2.row(y u32)(ret T1)",
|
||||
}
|
||||
+5
-3
@@ -491,9 +491,10 @@ const (
|
||||
IDLength = ID(0x242)
|
||||
IDLinearize = ID(0x243)
|
||||
IDPrefix = ID(0x244)
|
||||
IDStride = ID(0x245)
|
||||
IDSuffix = ID(0x246)
|
||||
IDWidth = ID(0x247)
|
||||
IDRow = ID(0x245)
|
||||
IDStride = ID(0x246)
|
||||
IDSuffix = ID(0x247)
|
||||
IDWidth = ID(0x248)
|
||||
)
|
||||
|
||||
var builtInsByID = [nBuiltInIDs]string{
|
||||
@@ -713,6 +714,7 @@ var builtInsByID = [nBuiltInIDs]string{
|
||||
IDLength: "length",
|
||||
IDLinearize: "linearize",
|
||||
IDPrefix: "prefix",
|
||||
IDRow: "row",
|
||||
IDStride: "stride",
|
||||
IDSuffix: "suffix",
|
||||
IDWidth: "width",
|
||||
|
||||
Reference in new issue
Block a user