chiark / gitweb /
src/c-types-impl.lisp (make-or-intern-c-type): Pull out useful function.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 26 May 2016 08:26:09 +0000 (09:26 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 29 May 2016 14:08:43 +0000 (15:08 +0100)
commit2b2252cc8d730004a1c95f227a0024a28b65087c
treeef5f9526b69e586db7d2a8c7cb4563fe91daea5d
parent8d3d1674f1a0b1dabd5877dcb0bd503fe2bcc1d9
src/c-types-impl.lisp (make-or-intern-c-type): Pull out useful function.

There's a recurring pattern whether a subtype is interned and using that
to decide whether to intern the derived type.  Pull it out into its own
function.  We'll want it more later; but even now it simplifies a couple
of call sites.
src/c-types-impl.lisp