diff --git a/src/clj/coffi/ffi.clj b/src/clj/coffi/ffi.clj index a455fe9..7c300b3 100644 --- a/src/clj/coffi/ffi.clj +++ b/src/clj/coffi/ffi.clj @@ -186,7 +186,7 @@ [handle args ret] (insn/new-instance (downcall-class args ret) ^MethodHandle handle)) -(defn- ensure-symbol +(defn ensure-symbol "Returns the argument if it is a [[MemorySegment]], otherwise calls [[find-symbol]] on it." ^MemorySegment [symbol-or-addr]