From 98c59ea93645bb9ebedbd88913c2a6b77ea7af4d Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Thu, 7 Jul 2022 11:03:51 -0500 Subject: [PATCH] Correct the docstring of `ensure-sybmol` --- src/clj/coffi/ffi.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/coffi/ffi.clj b/src/clj/coffi/ffi.clj index 999d25c..0ea4c50 100644 --- a/src/clj/coffi/ffi.clj +++ b/src/clj/coffi/ffi.clj @@ -185,7 +185,7 @@ (insn/new-instance (downcall-class args ret) ^MethodHandle handle)) (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." ^NativeSymbol [symbol-or-addr] (if (instance? NativeSymbol symbol-or-addr)