mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 18:28:49 +00:00 
			
		
		
		
	 39506ee565
			
		
	
	
		39506ee565
		
			
		
	
	
	
	
		
			
			Move _PyCapsule_SetTraverse() definition to a new internal header file: pycore_capsule.h.
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			397 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			397 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef Py_INTERNAL_PYCAPSULE_H
 | |
| #define Py_INTERNAL_PYCAPSULE_H
 | |
| #ifdef __cplusplus
 | |
| extern "C" {
 | |
| #endif
 | |
| 
 | |
| #ifndef Py_BUILD_CORE
 | |
| #  error "this header requires Py_BUILD_CORE define"
 | |
| #endif
 | |
| 
 | |
| // Export for '_socket' shared extension
 | |
| PyAPI_FUNC(int) _PyCapsule_SetTraverse(PyObject *op, traverseproc traverse_func, inquiry clear_func);
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| }
 | |
| #endif
 | |
| #endif /* !Py_INTERNAL_PYCAPSULE_H */
 |