Changeset 652


Ignore:
Timestamp:
Mar 17, 2004, 7:18:08 AM (21 years ago)
Author:
Gary Byers
Message:

%make-nsstring/%make-constant-nsstring.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/examples/objc-runtime.lisp

    r615 r652  
    534534;;; Make a persistent (heap-allocated) NSConstantString.
    535535
    536 (defun %make-nsstring (string)
     536(defun %make-constant-nsstring (string)
    537537  "Make a persistent (heap-allocated) NSConstantString from the
    538538argument lisp string."
     
    549549  )
    550550
     551(defun %make-nsstring (string)
     552  (with-cstrs ((s string))
     553    (make-objc-instance 'ns:ns-string
     554                        :with-c-string s)))
     555                       
     556
    551557
    552558;;; Intern NSConstantString instances.
     
    561567      (setf (gethash string *objc-constant-strings*)
    562568            (make-objc-constant-string :string string
    563                                        :nsstringptr (%make-nsstring string)))))
     569                                       :nsstringptr (%make-constant-nsstring string)))))
    564570
    565571(def-ccl-pointers objc-strings ()
Note: See TracChangeset for help on using the changeset viewer.