Changeset 816
- Timestamp:
- May 8, 2004, 1:18:49 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/ccl/examples/cocoa-listener.lisp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ccl/examples/cocoa-listener.lisp
r793 r816 75 75 76 76 77 (defloadvar *NSFileHandleNotificationDataItem*78 (%get-ptr (foreign-symbol-address "_NSFileHandleNotificationDataItem")))79 80 (defloadvar *NSFileHandleReadCompletionNotification*81 (%get-ptr (foreign-symbol-address "_NSFileHandleReadCompletionNotification")))82 83 77 84 78 … … 105 99 :add-observer self 106 100 :selector (@selector "gotData:") 107 :name *NSFileHandleReadCompletionNotification*101 :name #?NSFileHandleReadCompletionNotification 108 102 :object fh) 109 103 (send fh 'read-in-background-and-notify))))) … … 114 108 (with-slots (filehandle) self 115 109 (let* ((data (send (send notification 'user-info) 116 :object-for-key *NSFileHandleNotificationDataItem*))110 :object-for-key #?NSFileHandleNotificationDataItem)) 117 111 (document (send self 'document)) 118 112 (data-length (send data 'length))
Note:
See TracChangeset
for help on using the changeset viewer.
