src/c-types-impl.lisp: Make string -> simple-c-type mapping more useful.
[sod] / src / pset-impl.lisp
index baa3830..ecad712 100644 (file)
@@ -71,7 +71,7 @@
     ((value string) (type (eql :id)) (wanted (eql :type)))
   (or (and (boundp '*module-type-map*)
           (gethash value *module-type-map*))
-      (gethash value *declspec-map*)
+      (find-simple-c-type value)
       (error "Unknown type `~A'." value)))
 
 ;;;--------------------------------------------------------------------------