X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Falien-type.lisp;h=5aed5cd2cf981d859ffc39c45c5f7bc8b58a61aa;hb=15d6e7c9a2c3234f95dfe278046fa2fee1b0c007;hp=86b7121c08c1bf28ff4f3c861d1ce2e869715f5a;hpb=9489abab7f981b8eea2aec8a883f2eb48d4cb138;p=sbcl.git diff --git a/src/code/alien-type.lisp b/src/code/alien-type.lisp index 86b7121..5aed5cd 100644 --- a/src/code/alien-type.lisp +++ b/src/code/alien-type.lisp @@ -26,6 +26,9 @@ (!define-type-class alien) +(!define-type-method (alien :negate) (type) + (make-negation-type :type type)) + (!define-type-method (alien :unparse) (type) `(alien ,(unparse-alien-type (alien-type-type-alien-type type))))