mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	Added the const qualifier for char* argument of Py_EnterRecursiveCall().
This commit is contained in:
		
						commit
						dcbff7d4e1
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -712,7 +712,7 @@ Py_SetRecursionLimit(int new_limit)
 | 
			
		|||
   to guarantee that _Py_CheckRecursiveCall() is regularly called.
 | 
			
		||||
   Without USE_STACKCHECK, there is no need for this. */
 | 
			
		||||
int
 | 
			
		||||
_Py_CheckRecursiveCall(char *where)
 | 
			
		||||
_Py_CheckRecursiveCall(const char *where)
 | 
			
		||||
{
 | 
			
		||||
    PyThreadState *tstate = PyThreadState_GET();
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue