Export lisp-name as a generic function
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CFFI |
Fix Released
|
Wishlist
|
Greg Pfeil |
Bug Description
This patch needs to be reviewed. Tests and documentation need to be written. LISP-NAME is probably too generic a name to be exported from CFFI.
Sun Nov 15 10:18:33 EST 2009 Greg Pfeil <email address hidden>
* more flexible name translations
FOREIGN-/LISP-NAME are now exported and take a package argument. This allows users to override the name translations on a package-by-package basis. EG,
(defmethod cffi:lisp-name
"LLVMUpper
(intern (format nil (if varp "*~a*" "~a")
The functions TRANSLATE-
Changed in cffi: | |
assignee: | nobody → Greg Pfeil (greg-technomadic) |
Changed in cffi: | |
status: | Fix Committed → Fix Released |
Updated with docs & tests, also rather than replacing the existing LISP-NAME and FOREIGN-NAME, created new functions called TRANSLATE- NAME-FROM- FOREIGN and TRANSLATE- NAME-TO- FOREIGN that are called by the original functions.