outdated docs for translate-to-foreign and related function?

Bug #1473837 reported by 3b
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
CFFI
New
Undecided
Unassigned

Bug Description

docs for TRANSLATE-TO-FOREIGN, FREE-TRANSLATED-OBJECT, TRANSLATE-FROM-FOREIGN say the 'type' parameter is a symbol, and results are undefined they are specialized with anything other than EQL specializer on a symbol naming a defctype.

TRANSLATE-INTO-FOREIGN-MEMORY says the 'type' parameter is a symbol or (:struct name).

The examples all specialize on a class instead of a symbol, usually from DEFINE-FOREIGN-TYPE, which seems to match the current behavior.

cffi v0.15

3b (00003b)
description: updated
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.