Changeset 652
- Timestamp:
- Mar 17, 2004, 7:18:08 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/examples/objc-runtime.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/examples/objc-runtime.lisp
r615 r652 534 534 ;;; Make a persistent (heap-allocated) NSConstantString. 535 535 536 (defun %make- nsstring (string)536 (defun %make-constant-nsstring (string) 537 537 "Make a persistent (heap-allocated) NSConstantString from the 538 538 argument lisp string." … … 549 549 ) 550 550 551 (defun %make-nsstring (string) 552 (with-cstrs ((s string)) 553 (make-objc-instance 'ns:ns-string 554 :with-c-string s))) 555 556 551 557 552 558 ;;; Intern NSConstantString instances. … … 561 567 (setf (gethash string *objc-constant-strings*) 562 568 (make-objc-constant-string :string string 563 :nsstringptr (%make- nsstring string)))))569 :nsstringptr (%make-constant-nsstring string))))) 564 570 565 571 (def-ccl-pointers objc-strings ()
Note:
See TracChangeset
for help on using the changeset viewer.
