Ignore:
Timestamp:
Aug 19, 2009, 6:09:58 PM (10 years ago)
Author:
gb
Message:

Add a conditionalized-out call to #_NSInitializeProces in the Cocotron
library load code.

File:
1 edited

Legend:

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

    r12592 r12624  
    406406                                path))
    407407                (open-shared-library "Foundation.1.0.dll")
    408                 (open-shared-library "AppKit.1.0.dll"))
     408                (open-shared-library "AppKit.1.0.dll")
     409                ;; We may need to call #_NSInitializeProcess
     410                ;; under Cocotron.  If so, we'd need to do
     411                ;; so on standalone startup, too, and would
     412                ;; have to heap-allocated the string vector
     413                ;; and its strings.
     414                #+notyet
     415                (with-string-vector (argv (kernel-path))
     416                  (#_NSInitializeProcess 1 argv)))
    409417           (setenv "PATH" path)))
    410418       ;(#_GetCurrentEventQueue)
Note: See TracChangeset for help on using the changeset viewer.