Mercurial > cpython-lru_cache-weakref
comparison Mac/Python/macapplication.c @ 3422:67f5d29d405b legacy-trunk
- Reorganized init code
- Fixed serious bug in code to get options from a resource
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Wed, 28 Feb 1996 15:42:47 +0000 |
| parents | 4fea6cd94dfa |
| children | cf2630a41f87 |
comparison
equal
deleted
inserted
replaced
| 3421:90b54312661a | 3422:67f5d29d405b |
|---|---|
| 29 #endif | 29 #endif |
| 30 | 30 |
| 31 extern void PyMac_InitApplication(); | 31 extern void PyMac_InitApplication(); |
| 32 | 32 |
| 33 main() { | 33 main() { |
| 34 #if defined(USE_GUSI) | |
| 35 GUSIDefaultSetup(); | |
| 36 #endif | |
| 37 #if defined(__MWERKS__) && defined(__CFM68K__) | 34 #if defined(__MWERKS__) && defined(__CFM68K__) |
| 38 printf("Hello, world!\n"); | 35 printf("Hello, world!\n"); |
| 39 #endif | 36 #endif |
| 40 PyMac_InitApplication(); | 37 PyMac_InitApplication(); |
| 41 } | 38 } |
