summaryrefslogtreecommitdiff
path: root/Lisp/type-conversion.lisp
diff options
context:
space:
mode:
authorMatthias Benkard <code@mail.matthias.benkard.de>2007-08-13 13:59:04 +0200
committerMatthias Benkard <code@mail.matthias.benkard.de>2007-08-13 13:59:04 +0200
commitc31e45dda43e1bf10e66a724cb90d51cd6cfaa26 (patch)
tree407813141cf00e4a505c6b30afbe14c47fe52797 /Lisp/type-conversion.lisp
parentc5fce012e0a31684eb96ee8770c6b4fb229d3e60 (diff)
Add a SELECTOR function and use coerced selectors in Objective C code rather than strings.
darcs-hash:d10f9eafc3b21bfcfc027a263e8cee007155b89c
Diffstat (limited to 'Lisp/type-conversion.lisp')
-rw-r--r--Lisp/type-conversion.lisp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lisp/type-conversion.lisp b/Lisp/type-conversion.lisp
index bba40e7..42f3a98 100644
--- a/Lisp/type-conversion.lisp
+++ b/Lisp/type-conversion.lisp
@@ -10,6 +10,7 @@
'obj-data-union
(type-name->slot-name type-name))
(typecase value
+ (symbol (selector value))
((or id objc-class selector exception)
(pointer-to value))
(string (foreign-string-alloc value))