From: Chris Hanson Date: Fri, 24 Feb 1995 00:34:46 +0000 (+0000) Subject: Put normalization case into CANONICALIZE-C-TYPE. X-Git-Tag: 20090517-FFI~6602 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=65c918b60a02772a57a0a06450789e2ccee01b2a;p=mit-scheme.git Put normalization case into CANONICALIZE-C-TYPE. --- diff --git a/v7/src/runtime/os2ctype.scm b/v7/src/runtime/os2ctype.scm index 732f9a247..6721e9fdb 100644 --- a/v7/src/runtime/os2ctype.scm +++ b/v7/src/runtime/os2ctype.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: os2ctype.scm,v 1.1 1995/02/21 23:00:42 cph Exp $ +$Id: os2ctype.scm,v 1.2 1995/02/24 00:34:46 cph Exp $ Copyright (c) 1995 Massachusetts Institute of Technology @@ -89,7 +89,12 @@ MIT in each case. |# (define c-type-names) (define (canonicalize-c-type type) - (cond ((string? type) + (cond ((or (c-number-type? type) + (c-pointer-type? type) + (c-array-type? type) + (c-struct-type? type)) + type) + ((string? type) (lookup-c-type type)) ((and (pair? type) (eq? 'ARRAY (car type))