mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 01:01:35 +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
@@ -566,7 +566,7 @@ func (g *gen) writeStruct(b *buffer, n *a.Struct) error {
|
||||
b.writes("struct {\n")
|
||||
if k.coroSuspPoint != 0 {
|
||||
b.writes("uint32_t coro_susp_point;\n")
|
||||
if err := g.writeVars(b, o.Body()); err != nil {
|
||||
if err := g.writeVars(b, o.Body(), true); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user