view Modules/ccpython.cc @ 31156:94dff4a02ca3 legacy-trunk

Revamped framework search path handling for MacOSX. This should allow two framework builds (in /Library and /System/Library) to coexist with distutils linking against the right one. Should be backported to 2.3, but getting Apple-supplied Python to pick up these fixes is going to be non-trivial.
author Jack Jansen <jack.jansen@cwi.nl>
date Mon, 08 Dec 2003 01:10:12 +0000
parents 57aa277d7a00
children
line wrap: on
line source

/* Minimal main program -- everything is loaded from the library */

#include "Python.h"

extern "C"
DL_EXPORT(int) Py_Main( int argc, char *argv[] );

int main( int argc, char *argv[] )
{
	return Py_Main(argc, argv);
}