mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-12 07:27:33 +02:00
Fixing handling of [un]signed integer type names in the FFI.
This commit is contained in:
parent
d669b8a788
commit
7e67460770
1 changed files with 1 additions and 1 deletions
|
@ -675,7 +675,7 @@
|
||||||
(case base
|
(case base
|
||||||
((string env-string non-null-string) (if *c++?* "string" "char*"))
|
((string env-string non-null-string) (if *c++?* "string" "char*"))
|
||||||
((fileno) "int")
|
((fileno) "int")
|
||||||
(else (symbol->string base))))
|
(else (string-replace (symbol->string base) #\- " "))))
|
||||||
|
|
||||||
(define (type-struct-type type)
|
(define (type-struct-type type)
|
||||||
(let ((type-spec (lookup-type(if (vector? type) (type-base type) type))))
|
(let ((type-spec (lookup-type(if (vector? type) (type-base type) type))))
|
||||||
|
|
Loading…
Add table
Reference in a new issue