v/vlib/dl
2025-03-17 17:04:10 +02:00
..
loader dl.loader: fix minor typo in README.md (#23443) 2025-01-12 12:24:31 +02:00
dl.v fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185) 2024-09-10 11:25:56 +03:00
dl_nix.c.v all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
dl_test.v
dl_windows.c.v cgen,dl: remove workaround in dl, generate a DllMain() in cgen instead for -shared on windows (#23961) 2025-03-17 17:04:10 +02:00
README.md doc: update trim_doc_node_description, make module readmes more uniform (#20792) 2024-02-12 12:38:47 +02:00
rtld_next_test.v cgen,checker: support simple voidptr casts in consts, without delaying the initialisation to _vinit (#15996) 2022-10-08 13:14:26 +03:00

Description

dl can be used to Dynamically Load a library during runtime. It is a thin wrapper over LoadLibrary on Windows, and dlopen on Unix.

Using it, you can implement a plugin system for your application.

Note

We highly recommend using dl.loader instead of dl directly. It provides a more user-friendly API in the V way.