summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorSilvio <silvio@tisato.me>2020-08-11 14:49:57 +0200
committerGitHub <noreply@github.com>2020-08-11 14:49:57 +0200
commit963db9e7dac39f4238f013addfae36439318b67f (patch)
tree5ba70ab424c4185b9858af97bcc3fb28bf1f7524 /lib/pure
parent2260ede247c50b88677e9f80530469d4d7d0c43a (diff)
downloadNim-963db9e7dac39f4238f013addfae36439318b67f.tar.gz
docs: dlimport -> dynlib (#15175)
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/dynlib.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/dynlib.nim b/lib/pure/dynlib.nim
index f31ae94dd..42d13535f 100644
--- a/lib/pure/dynlib.nim
+++ b/lib/pure/dynlib.nim
@@ -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]()