mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	
		
			
	
	
		
			18 lines
		
	
	
	
		
			564 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			18 lines
		
	
	
	
		
			564 B
		
	
	
	
		
			C
		
	
	
	
	
	
|   | /*	BBPython
 | |||
|  | 	A simple menu command to send the contents of a window to the Python interpreter | |||
|  | 	 | |||
|  | 	copyright <EFBFBD> 1996 Just van Rossum, Letterror: just@knoware.nl | |||
|  | 	 | |||
|  | 	All Rights Reserved | |||
|  | */ | |||
|  | 
 | |||
|  | #include <MacHeaders68K>
 | |||
|  | #include <A4Stuff.h>
 | |||
|  | #include <SetUpA4.h> // for global variables, multiple segments, etc.
 | |||
|  | #include "ExternalInterface.h"
 | |||
|  | #include <Memory.h>
 | |||
|  | 
 | |||
|  | extern OSErr SendTextAsAE(ExternalCallbackBlock *callbacks, Ptr theText, long theSize, Str255 windowTitle); | |||
|  | extern OSErr LaunchPythonSlave(FSSpec * docSpec); | |||
|  | extern Boolean GetPythonSlaveSpec(FSSpec * docSpec); |