Correct the docstring of ensure-sybmol
This commit is contained in:
parent
db242e1445
commit
98c59ea936
1 changed files with 1 additions and 1 deletions
|
|
@ -185,7 +185,7 @@
|
||||||
(insn/new-instance (downcall-class args ret) ^MethodHandle handle))
|
(insn/new-instance (downcall-class args ret) ^MethodHandle handle))
|
||||||
|
|
||||||
(defn- ensure-symbol
|
(defn- ensure-symbol
|
||||||
"Gets the address if the argument is [[Addressable]], otherwise
|
"Returns the argument if it is a [[NativeSymbol]], otherwise
|
||||||
calls [[find-symbol]] on it."
|
calls [[find-symbol]] on it."
|
||||||
^NativeSymbol [symbol-or-addr]
|
^NativeSymbol [symbol-or-addr]
|
||||||
(if (instance? NativeSymbol symbol-or-addr)
|
(if (instance? NativeSymbol symbol-or-addr)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue