diff options
author | Matthias Benkard <code@mail.matthias.benkard.de> | 2007-09-17 21:29:00 +0200 |
---|---|---|
committer | Matthias Benkard <code@mail.matthias.benkard.de> | 2007-09-17 21:29:00 +0200 |
commit | 47d7a405495b68062924a4d9cb4738e0b0af14a1 (patch) | |
tree | 830f34cffcfb8b05d4483b36ba12627b03e2ddd0 /Lisp | |
parent | 924df92528bfe9b8dce833f04d1d809a5a8e1220 (diff) |
Juggle some definitions around to make the compiler happy.
darcs-hash:c0210649a47d759ee7efbf23eb03ff7e9aa02261
Diffstat (limited to 'Lisp')
-rw-r--r-- | Lisp/data-types.lisp | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/Lisp/data-types.lisp b/Lisp/data-types.lisp index 25bbc21..533578b 100644 --- a/Lisp/data-types.lisp +++ b/Lisp/data-types.lisp @@ -1,6 +1,14 @@ (in-package #:mulk.objective-cl) +;;;; (@* "Convenience types") +(deftype c-pointer () + '(satisfies pointerp)) + +(deftype argument-number () + `(integer 0 ,call-arguments-limit)) + + ;;;; (@* "Foreign data types") (defctype char-pointer :pointer) @@ -213,12 +221,3 @@ an __exception__, you can simply send it the `self' message. (not (null-pointer-p type))) (foreign-string-free type))) (foreign-free obj-data)) - - -;;;; (@* "Convenience types") -(deftype c-pointer () - '(satisfies pointerp)) - - -(deftype argument-number () - `(integer 0 ,call-arguments-limit)) |