docs: dlimport -> dynlib (#15175)
This commit is contained in:
parent
2260ede247
commit
963db9e7da
1 changed files with 1 additions and 1 deletions
|
|
@ -97,7 +97,7 @@ proc libCandidates*(s: string, dest: var seq[string]) =
|
||||||
add(dest, s)
|
add(dest, s)
|
||||||
|
|
||||||
proc loadLibPattern*(pattern: string, globalSymbols = false): LibHandle =
|
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.
|
## 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.
|
## Warning: this proc uses the GC and so cannot be used to load the GC.
|
||||||
var candidates = newSeq[string]()
|
var candidates = newSeq[string]()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue