cgen: v fmt fn.v
parent
3b2083801b
commit
628021a7cf
|
@ -113,7 +113,8 @@ fn (mut g Gen) gen_fn_decl(it ast.FnDecl, skip bool) {
|
||||||
arg_start_pos := g.out.len
|
arg_start_pos := g.out.len
|
||||||
fargs, fargtypes := g.fn_args(it.params, it.is_variadic)
|
fargs, fargtypes := g.fn_args(it.params, it.is_variadic)
|
||||||
arg_str := g.out.after(arg_start_pos)
|
arg_str := g.out.after(arg_start_pos)
|
||||||
if it.no_body || ((g.pref.use_cache && g.pref.build_mode != .build_module) && it.is_builtin) || skip {
|
if it.no_body ||
|
||||||
|
((g.pref.use_cache && g.pref.build_mode != .build_module) && it.is_builtin) || skip {
|
||||||
// Just a function header. Builtin function bodies are defined in builtin.o
|
// Just a function header. Builtin function bodies are defined in builtin.o
|
||||||
g.definitions.writeln(');') // // NO BODY')
|
g.definitions.writeln(');') // // NO BODY')
|
||||||
g.writeln(');')
|
g.writeln(');')
|
||||||
|
|
Loading…
Reference in New Issue