mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 18:07:37 +00:00 
			
		
		
		
	 773b803c02
			
		
	
	
		773b803c02
		
			
		
	
	
	
	
		
			
			Remove private _PyManagedBuffer_Type variable. Move it to the internal C API and no longer export it.
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			427 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			427 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef Py_INTERNAL_MEMORYOBJECT_H
 | |
| #define Py_INTERNAL_MEMORYOBJECT_H
 | |
| #ifdef __cplusplus
 | |
| extern "C" {
 | |
| #endif
 | |
| 
 | |
| #ifndef Py_BUILD_CORE
 | |
| #  error "this header requires Py_BUILD_CORE define"
 | |
| #endif
 | |
| 
 | |
| extern PyTypeObject _PyManagedBuffer_Type;
 | |
| 
 | |
| PyObject *
 | |
| _PyMemoryView_FromBufferProc(PyObject *v, int flags,
 | |
|                              getbufferproc bufferproc);
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| }
 | |
| #endif
 | |
| #endif /* !Py_INTERNAL_MEMORYOBJECT_H */
 |