chiark / gitweb /
src/c-types-impl.lisp: Make string -> simple-c-type mapping more useful.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 8 Jun 2018 18:58:28 +0000 (19:58 +0100)
commit14adef2f3c2a0a80be0ca2e1a364256812203bd8
tree35f96b4b04586176407e0fd96f05f652b7bc95e0
parentb6f84c5704b54f0393144d8a0753a69158437cc0
src/c-types-impl.lisp: Make string -> simple-c-type mapping more useful.

  * Arrange for `define-simple-c-type' to accept multiple C type-name
    strings, and keep records in the `*simple-type-map*' allowing simple
    type names to be canonified.

  * Add a new function `find-simple-c-type' to retrieve the appropriate
    type object given one its names.

  * Use this when looking up types in property values.

  * Remove the type declarations from the builtin module because they're
    all entered as simple types directly now.
doc/SYMBOLS
doc/clang.tex
src/builtin.lisp
src/c-types-impl.lisp
src/pset-impl.lisp