Add style/indent meta to macros
This commit is contained in:
parent
b6fbd3eccb
commit
f7c9796134
1 changed files with 3 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Reference in a new issue