Last change
on this file was 391, checked in by dmik, 11 years ago |
python: Merge vendor 2.7.6 to trunk.
|
-
Property svn:eol-style
set to
native
|
File size:
340 bytes
|
Rev | Line | |
---|
[2] | 1 | //
|
---|
| 2 | // main.m
|
---|
| 3 | // PythonLauncher
|
---|
| 4 | //
|
---|
| 5 | // Created by Jack Jansen on Fri Jul 19 2002.
|
---|
| 6 | // Copyright (c) 2002 __MyCompanyName__. All rights reserved.
|
---|
| 7 | //
|
---|
| 8 |
|
---|
| 9 | #import <Cocoa/Cocoa.h>
|
---|
| 10 | #include <unistd.h>
|
---|
| 11 |
|
---|
| 12 | int main(int argc, const char *argv[])
|
---|
| 13 | {
|
---|
[391] | 14 | char *home = getenv("HOME");
|
---|
| 15 | if (home) chdir(home);
|
---|
[2] | 16 | return NSApplicationMain(argc, argv);
|
---|
| 17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.