summaryrefslogtreecommitdiff
path: root/Lisp/type-conversion.lisp
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2008-03-06 21:48:10 +0100
committerMatthias Benkard <code@mail.matthias.benkard.de>2008-03-06 21:48:10 +0100
commit6ffe476ad4c840a00f0c2e72c6020091e3ce801d (patch)
tree13103aea32eb418eae19830cf47998f47479c840 /Lisp/type-conversion.lisp
parentabc0f3b7fc0332dee5382f165d9531d05ddf41b6 (diff)
Refactor data conversion.
darcs-hash:9ff52b1ed764ab58522070fc35eca4ab97844a1c
Diffstat (limited to 'Lisp/type-conversion.lisp')
-rw-r--r--Lisp/type-conversion.lisp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lisp/type-conversion.lisp b/Lisp/type-conversion.lisp
index df9b0e0..eac3687 100644
--- a/Lisp/type-conversion.lisp
+++ b/Lisp/type-conversion.lisp
@@ -40,3 +40,9 @@
(make-struct-wrapper foreign-value-cell typespec t))
((:void) (values))
(otherwise (cffi:mem-ref foreign-value-cell c-type)))))
+
+
+;; COERCE-OBJECT is the high-level facility that other parts of
+;; Objective-CL may rely on for their conversion needs. Its methods
+;; are implemented in type-conversion-policy.lisp.
+(defgeneric coerce-object (object type))