mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 21:40:32 +00:00
docs: dlimport -> dynlib (#15175)
This commit is contained in:
@@ -97,7 +97,7 @@ proc libCandidates*(s: string, dest: var seq[string]) =
|
||||
add(dest, s)
|
||||
|
||||
proc loadLibPattern*(pattern: string, globalSymbols = false): LibHandle =
|
||||
## loads a library with name matching `pattern`, similar to what `dlimport`
|
||||
## loads a library with name matching `pattern`, similar to what `dynlib`
|
||||
## pragma does. Returns nil if the library could not be loaded.
|
||||
## Warning: this proc uses the GC and so cannot be used to load the GC.
|
||||
var candidates = newSeq[string]()
|
||||
|
||||
Reference in New Issue
Block a user