Deserialize unions by giving a slice of their segment

This commit is contained in:
Joshua Suskalo 2021-09-20 15:23:05 -05:00
parent 317a08abc6
commit 25a11d4ba0

View file

@ -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