From 375d0162540a5cb2b56f18e77031d4c06edacee7 Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Wed, 15 Sep 2021 21:32:22 -0500 Subject: [PATCH] Actually serialize based on type --- src/coffi/ffi.clj | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/coffi/ffi.clj b/src/coffi/ffi.clj index 6057c83..53050e7 100644 --- a/src/coffi/ffi.clj +++ b/src/coffi/ffi.clj @@ -227,7 +227,8 @@ This method should only be implemented for types that serialize to primitives." (fn #_{:clj-kondo/ignore [:unused-binding]} - [obj type scope])) + [obj type scope] + type)) (defmethod serialize* :default [obj type _scope]