mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 01:01:35 +01:00
Add a TypeExpr.HasPointers method.
This commit is contained in:
1 parent
7b6f7384d1
commit
95391533b3
3 files changed
+18
-25
No files matched your search
@@ -384,15 +384,6 @@ 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