diff --git a/src/coffi/ffi.clj b/src/coffi/ffi.clj index a128b07..2cbb4b7 100644 --- a/src/coffi/ffi.clj +++ b/src/coffi/ffi.clj @@ -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."