diff --git a/src/coffi/ffi.clj b/src/coffi/ffi.clj index c9808c8..60ad392 100644 --- a/src/coffi/ffi.clj +++ b/src/coffi/ffi.clj @@ -487,6 +487,10 @@ segment scope))) +(defmethod deserialize-from ::union + [segment type] + (slice segment 0 (size-of type))) + ;;; FFI Code loading and function access (defn load-system-library