Fix crash when returning void in an upcall
This commit is contained in:
parent
48942da099
commit
4f0d151c7a
2 changed files with 6 additions and 0 deletions
|
|
@ -2,6 +2,8 @@
|
||||||
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).
|
All notable changes to this project will be documented in this file. This change log follows the conventions of [keepachangelog.com](http://keepachangelog.com/).
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
### Fixed
|
||||||
|
- Void return types on upcalls would crash on serialization
|
||||||
|
|
||||||
## [0.1.251] - 2021-10-14
|
## [0.1.251] - 2021-10-14
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
||||||
|
|
@ -417,6 +417,10 @@
|
||||||
obj)
|
obj)
|
||||||
(MemoryAddress/NULL)))
|
(MemoryAddress/NULL)))
|
||||||
|
|
||||||
|
(defmethod serialize* ::void
|
||||||
|
[_obj _type _scope]
|
||||||
|
nil)
|
||||||
|
|
||||||
(defmulti serialize-into
|
(defmulti serialize-into
|
||||||
"Writes a serialized version of the `obj` to the given `segment`.
|
"Writes a serialized version of the `obj` to the given `segment`.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue