From 66183587d7ac67a921128e8de70645e3dd63e881 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Fri, 8 Nov 2024 13:09:49 +0300 Subject: [PATCH] remove hardcoded path --- src/c2v.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/c2v.v b/src/c2v.v index 2023f17..bd66d03 100644 --- a/src/c2v.v +++ b/src/c2v.v @@ -563,9 +563,9 @@ fn (mut c C2V) fn_decl(mut node Node, gen_types string) { // Don't generate the wrapper for single fn def mode. // Just the definition and exit immediately. if c.single_fn_def { - println('YESSSS XXXXX ${fn_def}') - x := '/Users/alex/code/v/vlib/v/tests/include_c_gen_fn_headers/' - mut f := os.open_append(x + '__cdefs_autogen.v') or { panic(err) } + println('is single fn def XXXXX ${fn_def}') + // x := '/Users/alex/code/v/vlib/v/tests/include_c_gen_fn_headers/' + mut f := os.open_append('__cdefs_autogen.v') or { panic(err) } f.write_string(fn_def) or { panic(err) } f.close() c.out_file.close()