Fix bug where compound types were not permitted as return values in defcfn
This commit is contained in:
parent
88b2a72f07
commit
96f3153c5f
2 changed files with 2 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file. This change
|
|||
- An `address?` predicate
|
||||
|
||||
### Fixed
|
||||
- Compound types were not allowed as return types in `defcfn`
|
||||
- `nil` was not considered a null pointer
|
||||
- Primitive-serializing types fail to compile as arguments to downcall handles
|
||||
- Primitive-serializing types fail to load as arguments to upcall functions
|
||||
|
|
|
|||
|
|
@ -504,7 +504,7 @@
|
|||
(s/or :string string?
|
||||
:symbol simple-symbol?))
|
||||
:native-arglist (s/coll-of ::mem/type :kind vector?)
|
||||
:return-type qualified-keyword?
|
||||
:return-type ::mem/type
|
||||
:wrapper (s/?
|
||||
(s/cat
|
||||
:native-fn simple-symbol?
|
||||
|
|
|
|||
Loading…
Reference in a new issue