Add style/indent meta to macros

This commit is contained in:
Joshua Suskalo 2021-09-24 14:23:37 -05:00
parent b6fbd3eccb
commit f7c9796134

View file

@ -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]