From 7975adbd9488def2a497b61fcf27159fc5872351 Mon Sep 17 00:00:00 2001 From: Joshua Suskalo Date: Wed, 13 Oct 2021 13:51:13 -0500 Subject: [PATCH] Add caveat in primitive-type about evaluated arguments --- src/clj/coffi/mem.clj | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/clj/coffi/mem.clj b/src/clj/coffi/mem.clj index 6ed30cd..8e87d4a 100644 --- a/src/clj/coffi/mem.clj +++ b/src/clj/coffi/mem.clj @@ -224,6 +224,9 @@ but which need additional logic to be performed during serialization and deserialization. + Implementations of this method should take into account that type arguments + may not always be evaluated before passing to this function. + Returns nil for any type which does not have a primitive representation." type-dispatch)