Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
felipensp committed Oct 14, 2024
1 parent f9ed1e2 commit fbb24d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/v/gen/c/struct.v
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ fn (mut g Gen) struct_decl(s ast.Struct, name string, is_anon bool) {
if s.is_union {
g.typedefs.writeln('typedef union ${name} ${name};')
} else {
g.typedefs.writeln('typedef struct ${name} ${name}; // 3')
g.typedefs.writeln('typedef struct ${name} ${name};')
}
}
// TODO: avoid buffer manip
Expand Down

0 comments on commit fbb24d1

Please sign in to comment.