Add more "typedef struct { ... } foo" names

This commit is contained in:
Nigel Tao committed 2020-09-24 11:20:24 +10:00
1 parent 46cd8105f4
commit 3bb5af905f
2 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -387,7 +387,7 @@ func insertInterfaceDeclarations(buf *buffer) error {
buf.printf("extern const char wuffs_base__%s__vtable_name[];\n\n", n)
buf.writes("typedef struct {\n")
buf.printf("typedef struct wuffs_base__%s__func_ptrs__struct {\n", n)
for _, f := range builtInInterfaceMethods[qid] {
buf.writes(" ")
if err := g.writeFuncSignature(buf, f, wfsCFuncPtrField); err != nil {