summaryrefslogtreecommitdiff
path: root/Lisp/data-types.lisp
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2007-09-17 21:29:00 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2007-09-17 21:29:00 +0200
commit47d7a405495b68062924a4d9cb4738e0b0af14a1 (patch)
tree830f34cffcfb8b05d4483b36ba12627b03e2ddd0 /Lisp/data-types.lisp
parent924df92528bfe9b8dce833f04d1d809a5a8e1220 (diff)
Juggle some definitions around to make the compiler happy.
darcs-hash:c0210649a47d759ee7efbf23eb03ff7e9aa02261
Diffstat (limited to 'Lisp/data-types.lisp')
-rw-r--r--Lisp/data-types.lisp17
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))