mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 15:41:43 +00:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
	
		
			220 B
		
	
	
	
		
			C++
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
	
		
			220 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| 
								 | 
							
								/* 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);
							 | 
						||
| 
								 | 
							
								}
							 |