mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-23 16:52:18 +01:00
Add base.io_transformer
This commit is contained in:
1 parent
4b669a4181
commit
e9fa8d3c28
6 files changed
+115
-11
No files matched your search
+10
-2
@@ -334,7 +334,11 @@ func insertInterfaceDeclarations(buf *buffer) error {
|
||||
}
|
||||
|
||||
buf.writes("// ---------------- Interface Declarations.\n\n")
|
||||
for _, n := range builtin.Interfaces {
|
||||
for i, n := range builtin.Interfaces {
|
||||
if i > 0 {
|
||||
buf.writes("// --------\n\n")
|
||||
}
|
||||
|
||||
qid := t.QID{t.IDBase, builtInTokenMap.ByName(n)}
|
||||
|
||||
buf.printf("extern const char* wuffs_base__%s__vtable_name;\n\n", n)
|
||||
@@ -402,7 +406,11 @@ func insertInterfaceDefinitions(buf *buffer) error {
|
||||
}
|
||||
|
||||
buf.writes("// ---------------- Interface Definitions.\n\n")
|
||||
for _, n := range builtin.Interfaces {
|
||||
for i, n := range builtin.Interfaces {
|
||||
if i > 0 {
|
||||
buf.writes("// --------\n\n")
|
||||
}
|
||||
|
||||
qid := t.QID{t.IDBase, builtInTokenMap.ByName(n)}
|
||||
|
||||
buf.printf("const char* wuffs_base__%s__vtable_name = "+
|
||||
|
||||
Reference in new issue
Block a user