mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 07:31:38 +00:00 
			
		
		
		
	Rename Include/internal/ headers: * pycore_hash.h -> pycore_pyhash.h * pycore_lifecycle.h -> pycore_pylifecycle.h * pycore_mem.h -> pycore_pymem.h * pycore_state.h -> pycore_pystate.h Add missing headers to Makefile.pre.in and PCbuild: * pycore_condvar.h. * pycore_hamt.h * pycore_pyhash.h
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			298 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			298 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* Minimal main program -- everything is loaded from the library */
 | 
						|
 | 
						|
#include "Python.h"
 | 
						|
#include "pycore_pylifecycle.h"
 | 
						|
 | 
						|
#ifdef MS_WINDOWS
 | 
						|
int
 | 
						|
wmain(int argc, wchar_t **argv)
 | 
						|
{
 | 
						|
    return Py_Main(argc, argv);
 | 
						|
}
 | 
						|
#else
 | 
						|
int
 | 
						|
main(int argc, char **argv)
 | 
						|
{
 | 
						|
    return _Py_UnixMain(argc, argv);
 | 
						|
}
 | 
						|
#endif
 |