.
original commit: 63cdc235afd35d1f5a4ca6452764697a2cc5c378
This commit is contained in:
parent
a11e7fdb08
commit
0b39291dbd
|
@ -999,9 +999,9 @@
|
|||
(provide TAG? TAG-length)
|
||||
(provide (rename allocate-TAG make-TAG))
|
||||
(define (allocate-TAG n . init)
|
||||
(let* ([p (malloc n type)]
|
||||
(let* ([p (if (eq? n 0) #f (malloc n type))]
|
||||
[v (make-TAG p n)])
|
||||
(when (pair? init)
|
||||
(when (and p (pair? init))
|
||||
(let ([init (car init)])
|
||||
(let loop ([i (sub1 n)])
|
||||
(unless (< i 0)
|
||||
|
|
Loading…
Reference in New Issue
Block a user