From 3fdff93c3f7a5245ff6a45ba70db5d31f5cf17a7 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Tue, 15 Dec 2020 18:55:04 +0200 Subject: [PATCH] dl: run vfmt over all .v files --- vlib/dl/dl.v | 2 +- vlib/dl/dl_windows.c.v | 2 +- vlib/dl/example/use.v | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/vlib/dl/dl.v b/vlib/dl/dl.v index 630ea750b7..46b0a23e6e 100644 --- a/vlib/dl/dl.v +++ b/vlib/dl/dl.v @@ -2,7 +2,7 @@ module dl pub const ( version = 1 - dl_ext = get_shared_library_extension() + dl_ext = get_shared_library_extension() ) pub fn get_shared_library_extension() string { diff --git a/vlib/dl/dl_windows.c.v b/vlib/dl/dl_windows.c.v index d5f91a1bb3..631ece2b4a 100644 --- a/vlib/dl/dl_windows.c.v +++ b/vlib/dl/dl_windows.c.v @@ -1,7 +1,7 @@ module dl pub const ( - rtld_now = 0 + rtld_now = 0 rtld_lazy = 0 ) diff --git a/vlib/dl/example/use.v b/vlib/dl/example/use.v index e5f5580191..600a119d59 100644 --- a/vlib/dl/example/use.v +++ b/vlib/dl/example/use.v @@ -6,7 +6,7 @@ import dl type FNAdder = fn (int, int) int fn main() { - library_file_path := os.join_path(os.getwd(), 'library${dl.dl_ext}') + library_file_path := os.join_path(os.getwd(), 'library$dl.dl_ext') handle := dl.open(library_file_path, dl.rtld_lazy) eprintln('handle: ${ptr_str(handle)}') mut f := &FNAdder(0)