Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macgetargv.c @ 2399:438a8c265eb9 legacy-trunk
ported back to Think C
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Sun, 19 Feb 1995 23:32:59 +0000 |
| parents | b156bf4be62f |
| children | dd1ab20f8223 |
line wrap: on
line diff
--- a/Mac/Python/macgetargv.c Sun Feb 19 15:59:49 1995 +0000 +++ b/Mac/Python/macgetargv.c Sun Feb 19 23:32:59 1995 +0000 @@ -41,6 +41,10 @@ #include <AEObjects.h> #include <Desk.h> #include <Fonts.h> +#include <TextEdit.h> +#include <Menus.h> +#include <Dialogs.h> +#include <Windows.h> #ifdef GENERATINGCFM /* Defined to 0 or 1 in Universal headers */ #define HAVE_UNIVERSAL_HEADERS @@ -147,7 +151,6 @@ { static char appname[256]; FSSpec appspec; - long size; if (current_process_location(&appspec)) return NULL; @@ -282,6 +285,9 @@ static void init_mac_world() { +#ifdef THINK_C + printf("\n"); +#else MaxApplZone(); InitGraf(&qd.thePort); InitFonts(); @@ -290,6 +296,7 @@ InitDialogs((long)0); InitMenus(); InitCursor(); +#endif } /* Get the argv vector, return argc */
