mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-24 08:52:18 +01:00
Don't resume/suspend vars containing pointers.
This commit is contained in:
1 parent
d5c8e20268
commit
10b7d5a031
7 files changed
+78
-38
No files matched your search
@@ -384,6 +384,15 @@ func (g *gen) writeCTypeName(b *buffer, n *a.TypeExpr, varNamePrefix string, var
|
||||
return nil
|
||||
}
|
||||
|
||||
var builtInPointerTypes = [...]bool{
|
||||
t.KeyBuf1: true,
|
||||
t.KeyBuf1Mark: true,
|
||||
// TODO: uncomment, after figuring out how limit's should really work.
|
||||
// t.KeyReader1: true,
|
||||
t.KeyWriter1: true,
|
||||
t.KeyBuf2: true,
|
||||
}
|
||||
|
||||
var cTypeNames = [...]string{
|
||||
t.KeyI8: "int8_t",
|
||||
t.KeyI16: "int16_t",
|
||||
|
||||
Reference in new issue
Block a user