Makes typedefs pub
This commit is contained in:
parent
8a7d77cdd4
commit
f933cfed13
1 changed files with 1 additions and 1 deletions
|
|
@ -388,7 +388,7 @@ fn writeTypedefs(
|
||||||
|
|
||||||
// Write the typedef prefix
|
// Write the typedef prefix
|
||||||
if (try symbols.put(typedef.name)) {
|
if (try symbols.put(typedef.name)) {
|
||||||
try writer.writeAll("const ");
|
try writer.writeAll("pub const ");
|
||||||
try writeTypeName(writer, typedef.name);
|
try writeTypeName(writer, typedef.name);
|
||||||
try writer.writeAll(" = ");
|
try writer.writeAll(" = ");
|
||||||
try writeType(writer, typedef.type, declarations, .{});
|
try writeType(writer, typedef.type, declarations, .{});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue