src/c-types-impl.lisp: Remember `signed' as a C-level synonym for `int'.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 26 Jul 2019 23:48:46 +0000 (00:48 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 27 Jul 2019 13:56:31 +0000 (14:56 +0100)
src/c-types-impl.lisp

index 255a470..a5969d4 100644 (file)
 (define-simple-c-type (signed-char schar) "signed char" :export t)
 (define-simple-c-type wchar-t "wchar_t" :export t)
 
-(define-simple-c-type (int signed signed-int sint) "int" :export t)
+(define-simple-c-type (int signed signed-int sint)
+  ("int" "signed") :export t)
 (define-simple-c-type (unsigned unsigned-int uint) "unsigned" :export t)
 
 (define-simple-c-type (short signed-short short-int signed-short-int sshort)