mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 16:52:18 +01:00
Export token Key and Flags bit sizes.
This commit is contained in:
1 parent
6d32fd8a97
commit
6424985f0f
2 files changed
+220
-218
No files matched your search
+1
-1
@@ -44,7 +44,7 @@ func (m *IDMap) insert(name string) (ID, error) {
|
||||
} else {
|
||||
flags |= FlagsIdent
|
||||
}
|
||||
id := ID(key<<idShift) | ID(flags)
|
||||
id := ID(key<<KeyShift) | ID(flags)
|
||||
m.byName[name] = id
|
||||
m.byKey = append(m.byKey, name)
|
||||
return id, nil
|
||||
|
||||
Reference in new issue
Block a user