defcfun is confused by typedef of struct as return type w/cffi-libffi
Bug #1473260 reported by
3b
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CFFI |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
(asdf:load-system 'cffi-libffi)
(cffi:defcstruct .foo)
(cffi:defctype foo (:struct .foo))
(cffi:defcfun foo (:struct .foo))
=> OK
(cffi:defcfun foo foo)
=>
; Undefined function:
; :STRUCT
; Undefined variable:
; .FOO
expected same as with (:struct .foo)
tested on sbcl linux and windows, with cffi from ~2014 and 066a38140e9569f
Changed in cffi: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
cannot reproduce anymore, i think it's been fixed meanwhile.