summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/txr/stdlib/ffi.tl4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/txr/stdlib/ffi.tl b/share/txr/stdlib/ffi.tl
index ed8ad06d..6bbd43a9 100644
--- a/share/txr/stdlib/ffi.tl
+++ b/share/txr/stdlib/ffi.tl
@@ -145,8 +145,8 @@
(define-accessor carray-ref carray-refset)
-(define-place-macro carray-sub (carray : (from 0) (to t))
- ^(sub ,carray ,from ,to))
+(defset carray-sub (carray : (from 0) (to t)) items
+ ^(progn (carray-replace ,carray ,items ,from ,to) ,items))
(defmacro znew (type . pairs)
(if (oddp (length pairs))