v/vlib/dl
2024-04-12 13:53:02 +03:00
..
loader breaking,checker: disallow initializing private struct fields outside structs module (#21183) 2024-04-12 13:53:02 +03:00
dl.v all: update attributes to use new syntax 2023-11-15 16:16:01 +11: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: add windows dll support, fix (#20447) (#20459) 2024-01-10 10:59:52 +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.