mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	 61691d8336
			
		
	
	
		61691d8336
		
			
		
	
	
	
	
		
			
			Use forward declaration of types to avoid includes in the internal C API. Add also comment to justify other includes.
		
			
				
	
	
		
			19 lines
		
	
	
	
		
			442 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			442 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef Py_INTERNAL_TUPLEOBJECT_H
 | |
| #define Py_INTERNAL_TUPLEOBJECT_H
 | |
| #ifdef __cplusplus
 | |
| extern "C" {
 | |
| #endif
 | |
| 
 | |
| #ifndef Py_BUILD_CORE
 | |
| #  error "this header requires Py_BUILD_CORE define"
 | |
| #endif
 | |
| 
 | |
| #include "tupleobject.h"   /* _PyTuple_CAST() */
 | |
| 
 | |
| #define _PyTuple_ITEMS(op) (_PyTuple_CAST(op)->ob_item)
 | |
| PyAPI_FUNC(PyObject *) _PyTuple_FromArray(PyObject *const *, Py_ssize_t);
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| }
 | |
| #endif
 | |
| #endif   /* !Py_INTERNAL_TUPLEOBJECT_H */
 |