Return nil if find-symbol fails
This commit is contained in:
parent
8cd93eaf8e
commit
db9f3b5209
1 changed files with 1 additions and 1 deletions
|
|
@ -416,7 +416,7 @@
|
|||
(defn- find-symbol
|
||||
"Gets the [[MemoryAddress]] of a symbol from the loaded libraries."
|
||||
[sym]
|
||||
(.. (CLinker/systemLookup) (lookup sym) (get)))
|
||||
(.. (CLinker/systemLookup) (lookup sym) (orElse nil)))
|
||||
|
||||
(defn- method-type
|
||||
"Gets the [[MethodType]] for a set of `args` and `ret` types."
|
||||
|
|
|
|||
Loading…
Reference in a new issue