Fix bug where compound types in arglist metadata failed
This commit is contained in:
parent
96f3153c5f
commit
014901233c
2 changed files with 6 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 caused problems in arglists meta on expansion of `defcfn`
|
||||
- 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
|
||||
|
|
|
|||
|
|
@ -582,7 +582,11 @@
|
|||
(or old-list
|
||||
(seq arglists)
|
||||
(list
|
||||
(mapv (comp symbol name)
|
||||
(mapv (fn [type]
|
||||
(-> (cond-> type
|
||||
(vector? type) first)
|
||||
name
|
||||
symbol))
|
||||
(:native-arglist args)))))))
|
||||
(assoc (:attr-map args)
|
||||
::address address)))
|
||||
|
|
|
|||
Loading…
Reference in a new issue