mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-22 16:47:28 +01:00
Rename token_writer.write_fast_token
This commit is contained in:
1 parent
293b3c7812
commit
3456f39f9d
5 files changed
+67
-66
No files matched your search
@@ -331,7 +331,7 @@ func (g *gen) writeBuiltinIOWriter(b *buffer, recv *a.Expr, method t.ID, args []
|
||||
}
|
||||
|
||||
func (g *gen) writeBuiltinTokenWriter(b *buffer, recv *a.Expr, method t.ID, args []*a.Node, depth uint32) error {
|
||||
if method == t.IDWriteFastToken {
|
||||
if method == t.IDWriteSimpleTokenFast {
|
||||
b.printf("*iop_a_dst++ = wuffs_base__make_token((((uint64_t)(")
|
||||
|
||||
if cv := args[0].AsArg().Value().ConstValue(); (cv == nil) || (cv.Sign() != 0) {
|
||||
|
||||
Reference in new issue
Block a user