mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-20 22:29:16 +02:00
fixing type id extraction
This commit is contained in:
parent
4a2d9474bc
commit
db5927abf7
1 changed files with 2 additions and 2 deletions
|
@ -1040,11 +1040,11 @@
|
|||
(type (cdr type)))
|
||||
(cat " name = sexp_c_string(ctx, \"" (type-name name) "\", -1);\n"
|
||||
" " (type-id-name name)
|
||||
" = sexp_unbox_fixnum(sexp_register_c_type(ctx, name, "
|
||||
" = sexp_unbox_fixnum(sexp_type_tag(sexp_register_c_type(ctx, name, "
|
||||
(cond ((memq 'finalizer: type)
|
||||
=> (lambda (x) (generate-stub-name (cadr x))))
|
||||
(else "sexp_finalize_c_type"))
|
||||
"));\n")
|
||||
")));\n")
|
||||
(cond
|
||||
((memq 'predicate: type)
|
||||
=> (lambda (x)
|
||||
|
|
Loading…
Add table
Reference in a new issue