Changeset 15327
- Timestamp:
- Apr 14, 2012, 4:29:10 PM (13 years ago)
- Location:
- trunk/source
- Files:
-
- 3 edited
-
cocoa-ide/builder-utilities.lisp (modified) (1 diff)
-
cocoa-ide/cocoa-application.lisp (modified) (1 diff)
-
objc-bridge/objc-runtime.lisp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/cocoa-ide/builder-utilities.lisp
r13035 r15327 233 233 (document-class nil) 234 234 (exportable-as nil)) 235 (declare (ignorable bundlep exportable-as icon-file)) 235 236 ;; certain values are required 236 237 (assert (or ls-item-content-types extensions mime-types ostypes) -
trunk/source/cocoa-ide/cocoa-application.lisp
r15291 r15327 39 39 (load-ide *cocoa-ide-force-compile*) 40 40 41 #+darwin-target 42 ;;; Nuke any command-line arguments, to keep the Cocoa runtime from 43 ;;; trying to process them. 44 (let* ((argv (foreign-symbol-address "NXArgv")) 45 (argc (foreign-symbol-address "NXArgc"))) 46 (when argc 47 (setf (pref argc :int) 1)) 48 (when argv 49 (setf (paref (%get-ptr argv) (:* :char) 1) +null-ptr+))) 41 50 42 51 43 -
trunk/source/objc-bridge/objc-runtime.lisp
r14821 r15327 394 394 (pushnew #'load-cocoa-framework *lisp-system-pointer-functions* :key #'function-name) 395 395 396 #+darwin-target 397 ;;; Nuke any command-line arguments, to keep the Cocoa runtime from 398 ;;; trying to process them. 399 (let* ((argv (foreign-symbol-address "NXArgv")) 400 (argc (foreign-symbol-address "NXArgc"))) 401 (when argc 402 (setf (pref argc :int) 1)) 403 (when argv 404 (setf (paref (%get-ptr argv) (:* :char) 1) +null-ptr+))) 405 396 406 #-cocotron 397 407 (load-cocoa-framework)
Note:
See TracChangeset
for help on using the changeset viewer.
