Expose find-symbol and allow named
This commit is contained in:
parent
4215e2a398
commit
f3ee51ea11
1 changed files with 2 additions and 2 deletions
|
|
@ -477,10 +477,10 @@
|
|||
[path]
|
||||
(System/load (.getAbsolutePath (io/file path))))
|
||||
|
||||
(defn- find-symbol
|
||||
(defn find-symbol
|
||||
"Gets the [[MemoryAddress]] of a symbol from the loaded libraries."
|
||||
[sym]
|
||||
(.. (CLinker/systemLookup) (lookup sym) (orElse nil)))
|
||||
(.. (CLinker/systemLookup) (lookup (name sym)) (orElse nil)))
|
||||
|
||||
(defn- method-type
|
||||
"Gets the [[MethodType]] for a set of `args` and `ret` types."
|
||||
|
|
|
|||
Loading…
Reference in a new issue