From f7c9796134c201475add3ed9c166827688eb4dd1 Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Fri, 24 Sep 2021 14:23:37 -0500 Subject: [PATCH] Add style/indent meta to macros --- src/clj/coffi/ffi.clj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/clj/coffi/ffi.clj b/src/clj/coffi/ffi.clj index 1ef16ce..1ca8429 100644 --- a/src/clj/coffi/ffi.clj +++ b/src/clj/coffi/ffi.clj @@ -1098,7 +1098,8 @@ See [[serialize]], [[deserialize]], [[make-downcall]]." {:arglists '([name docstring? attr-map? symbol arg-types ret-type] - [name docstring? attr-map? symbol arg-types ret-type native-fn & fn-tail])} + [name docstring? attr-map? symbol arg-types ret-type native-fn & fn-tail]) + :style/indent [:defn]} [& args] (let [args (s/conform ::defcfn-args args) args-types (gensym "args-types") @@ -1150,6 +1151,7 @@ This creates needed serialization and deserialization implementations for the aliased type." + {:style/indent [:defn]} [new-type aliased-type] (if (primitive-type aliased-type) `(let [aliased# ~aliased-type]