defcfun is confused by typedef of struct as return type w/cffi-libffi

Bug #1473260 reported by 3b
6
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 066a38140e9569f04dc9813cb0c6bcfca4075e6d (a few commits past 0.15)

Revision history for this message
Attila Lendvai (attila-lendvai) wrote :

cannot reproduce anymore, i think it's been fixed meanwhile.

Changed in cffi:
status: New → Fix Committed
Luís Oliveira (luismbo)
Changed in cffi:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.