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)