use the cstruct type directly, not via ctype-basetype
svn: r13345 original commit: cc6ff9d5d75e09c781c1043dd7651034fcb544ff
This commit is contained in:
parent
7a9fd5370c
commit
52854880c8
|
@ -1394,9 +1394,10 @@
|
|||
(define all-tags (cons TYPE-tag super-tags))
|
||||
(define _TYPE*
|
||||
;; c->scheme adjusts all tags
|
||||
(let* ([t (_cpointer TYPE-tag (make-cstruct-type types))]
|
||||
(let* ([cst (make-cstruct-type types)]
|
||||
[t (_cpointer TYPE-tag cst)]
|
||||
[c->s (ctype-c->scheme t)])
|
||||
(make-ctype (ctype-basetype t) (ctype-scheme->c t)
|
||||
(make-ctype cst (ctype-scheme->c t)
|
||||
;; hack: modify & reuse the procedure made by _cpointer
|
||||
(lambda (p)
|
||||
(if p (set-cpointer-tag! p all-tags) (c->s p))
|
||||
|
|
Loading…
Reference in New Issue
Block a user