setf mem-ref doesn't understant struct typedefs
Bug #1474921 reported by
3b
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CFFI |
New
|
Undecided
|
Unassigned |
Bug Description
(defcstruct a-
(a :int))
(defctype a (:struct a-))
(with-foreign-
(setf (mem-ref b '(:struct a-)) '(a 1)))
;; OK
(with-foreign-
(setf (mem-ref b 'a) '(a 1)))
;; =>
There is no applicable method for the generic function
#<STANDARD-
CFFI:
when called with arguments
((A 1) #<CFFI:
#.(SB-
To post a comment you must log in.