Ignore:
Timestamp:
Sep 17, 2008, 5:22:08 AM (11 years ago)
Author:
rme
Message:

Don't automatically convert lisp strings to NSString instances. See
ticket:133.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/objc-bridge/objc-runtime.lisp

    r10562 r10781  
    11311131;;;   - T/NIL => #$YES/#$NO
    11321132;;;   - NIL => (%null-ptr)
    1133 ;;;   - Lisp string => NSString
    11341133;;;   - Lisp numbers  => SINGLE-FLOAT when possible
    11351134
     
    11511150    `(let ((,x-temp ,x))
    11521151       (cond ((null ,x-temp) +null-ptr+)
    1153              ((stringp ,x-temp) (%make-nsstring ,x-temp))
    11541152             (t ,x-temp)))))
    11551153
     
    11631161  (etypecase x
    11641162    (macptr x)
    1165     (string (%make-nsstring x))         ; does this ever get released ?
    11661163    (null (%null-ptr))))
    11671164
Note: See TracChangeset for help on using the changeset viewer.