add pprint impl for struct types
This commit is contained in:
parent
21c547c469
commit
53a8435768
1 changed files with 1 additions and 0 deletions
|
|
@ -1780,6 +1780,7 @@
|
||||||
~(first (generate-deserialize coffi-typename 0)))
|
~(first (generate-deserialize coffi-typename 0)))
|
||||||
(defmethod serialize-into ~coffi-typename ~[(with-meta 'source-obj {:tag typename}) '_type 'segment '_]
|
(defmethod serialize-into ~coffi-typename ~[(with-meta 'source-obj {:tag typename}) '_type 'segment '_]
|
||||||
~(generate-serialize coffi-typename (with-meta 'source-obj {:tag typename}) 0))
|
~(generate-serialize coffi-typename (with-meta 'source-obj {:tag typename}) 0))
|
||||||
|
(defmethod clojure.pprint/simple-dispatch ~typename [~'obj] (clojure.pprint/simple-dispatch (into {} ~'obj)))
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue