mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-18 08:32:11 +01:00
Add public max_incl_workbuf_len constants
This commit is contained in:
1 parent
c9830ceb9a
commit
be2d96bb27
8 files changed
+35
-2
No files matched your search
+2
-1
@@ -264,7 +264,8 @@ func (h *genHelper) genWuffs(dirname string, qualifiedFilenames []string) error
|
||||
if !n.Public() {
|
||||
continue
|
||||
}
|
||||
return fmt.Errorf("TODO: genWuffs for consts")
|
||||
fmt.Fprintf(out, "pub const %s %s = %v\n",
|
||||
n.QID().Str(&h.tm), n.XType().Str(&h.tm), n.Value().Str(&h.tm))
|
||||
|
||||
case a.KFunc:
|
||||
n := n.AsFunc()
|
||||
|
||||
Reference in new issue
Block a user