Custom Query (1030 matches)
Results (778 - 780 of 1030)
| Ticket | Resolution | Summary | Owner | Reporter |
|---|---|---|---|---|
| #240 | invalid | setf expander not macroexpanded | ||
| Description |
I'm trying to define a setf expander that itself is a macro which uses other macros. This does not work: (in-package :cl-user) (defvar *foo* 0) (defmacro foo () '*foo*) (defmacro set-foo (new) `(setf *foo* ,new)) (defmacro set-bar (new)
(defsetf foo set-bar) (incf (foo)) ; The error is ; value #:G25 is not of the expected type NUMBER. ; The expansion of the (incf (foo)) form is ; (LET* ((#:G1 1) (#:G0 (+ (FOO) #:G1))) (SET-BAR #:G0)) |
|||
| #241 | fixed | Fixes for UFFI support | ||
| Description |
UFFI uses internal CCL functions, some of which do not work any more: %set-cstring assumed byte-wide characters %find-foreign-record first looked for a structure definition, then for a union definition. For unions, it appears that the struct definition that was created for unions was always returned. I reversed the order (first look for a union definition, then for a structure definition for a given name) which fixes the problem for the UFFI test suite. This needs review. Patch attached. |
|||
| #242 | fixed | %SET-CSTRING assumes 8-bit characters | ||
| Description |
%SET-CSTRING (which is the SETF inverse of %GET-CSTRING) tries to use %COPY-IVECTOR-TO-PTR; that can't work (since strings are always UTF-32 internally). (This was originally part of ticket:241) |
|||
