From 9aa608a254624d75aa2e345fafd27f8420e8c71b Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Thu, 16 Sep 2021 14:10:07 -0500 Subject: [PATCH] Allow any named type for the symbol name --- src/coffi/ffi.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coffi/ffi.clj b/src/coffi/ffi.clj index 4cbc68d..d1500bd 100644 --- a/src/coffi/ffi.clj +++ b/src/coffi/ffi.clj @@ -464,7 +464,7 @@ `(let [args-types# ~(:native-arglist args) ret-type# ~(:return-type args) downcall# (downcall-handle - (find-symbol ~(:symbol args)) + (find-symbol ~(name (:symbol args))) (method-type args-types# ret-type#) (function-descriptor args-types# ret-type#)) ~(:name args) (fn [& args#]