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)