Deserialize unions by giving a slice of their segment
This commit is contained in:
parent
317a08abc6
commit
25a11d4ba0
1 changed files with 4 additions and 0 deletions
|
|
@ -487,6 +487,10 @@
|
||||||
segment
|
segment
|
||||||
scope)))
|
scope)))
|
||||||
|
|
||||||
|
(defmethod deserialize-from ::union
|
||||||
|
[segment type]
|
||||||
|
(slice segment 0 (size-of type)))
|
||||||
|
|
||||||
;;; FFI Code loading and function access
|
;;; FFI Code loading and function access
|
||||||
|
|
||||||
(defn load-system-library
|
(defn load-system-library
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue