From f22cf8f81ddec70351d8659bccad46db2610b246 Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Tue, 28 Mar 2023 14:24:39 -0500 Subject: [PATCH] Fix uses of `defvar` not compiling --- 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 7c300b3..e720519 100644 --- a/src/clj/coffi/ffi.clj +++ b/src/clj/coffi/ffi.clj @@ -654,7 +654,7 @@ (def ~(:var-name args) ~@(when-let [doc (:docstring args)] (list doc)) - (static-variable symbol#))))) + (static-variable symbol# ~(:type args)))))) (s/fdef defvar :args ::defconst-args)