From 053166d0f41e849a1633a5ef4dafc128b5ee78d5 Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Thu, 27 Feb 2025 10:43:40 -0500 Subject: [PATCH] Add arglists to serialize-into and deserialize-from --- src/clj/coffi/mem.clj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/clj/coffi/mem.clj b/src/clj/coffi/mem.clj index c6609a4..6170ef8 100644 --- a/src/clj/coffi/mem.clj +++ b/src/clj/coffi/mem.clj @@ -895,6 +895,7 @@ For any other type, this will serialize it as [[serialize*]] before writing the result value into the `segment`." + {:arglists '([obj type segment arena])} (fn #_{:clj-kondo/ignore [:unused-binding]} [obj type segment arena] @@ -974,6 +975,7 @@ For types that serialize to primitives, a default implementation will deserialize the primitive before calling [[deserialize*]]." + {:arglists '([segment type])} (fn #_{:clj-kondo/ignore [:unused-binding]} [segment type]