mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 03:44:55 +00:00 
			
		
		
		
	No longer export _PyUnicode_FromId() internal C API function. Change comment style to "// comment" and add comment explaining why other functions have to be exported. Update Tools/build/generate_token.py to update Include/internal/pycore_token.h comments.
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			610 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			610 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef Py_INTERNAL_SETOBJECT_H
 | 
						|
#define Py_INTERNAL_SETOBJECT_H
 | 
						|
#ifdef __cplusplus
 | 
						|
extern "C" {
 | 
						|
#endif
 | 
						|
 | 
						|
#ifndef Py_BUILD_CORE
 | 
						|
#  error "this header requires Py_BUILD_CORE define"
 | 
						|
#endif
 | 
						|
 | 
						|
// Export for '_pickle' shared extension
 | 
						|
PyAPI_FUNC(int) _PySet_NextEntry(
 | 
						|
    PyObject *set,
 | 
						|
    Py_ssize_t *pos,
 | 
						|
    PyObject **key,
 | 
						|
    Py_hash_t *hash);
 | 
						|
 | 
						|
// Export for '_pickle' shared extension
 | 
						|
PyAPI_FUNC(int) _PySet_Update(PyObject *set, PyObject *iterable);
 | 
						|
 | 
						|
// Export for the gdb plugin's (python-gdb.py) benefit
 | 
						|
PyAPI_DATA(PyObject *) _PySet_Dummy;
 | 
						|
 | 
						|
#ifdef __cplusplus
 | 
						|
}
 | 
						|
#endif
 | 
						|
#endif  // !Py_INTERNAL_SETOBJECT_H
 |