Cosmetics on Py_Get/SetRecursionLimit (for the style guide)

This commit is contained in:
Vladimir Marangozov 2000-09-01 11:07:19 +00:00
parent 57a5932f13
commit 7bd25be508
1 changed files with 4 additions and 2 deletions

View File

@ -302,12 +302,14 @@ Py_MakePendingCalls(void)
static int recursion_limit = 1000; static int recursion_limit = 1000;
int Py_GetRecursionLimit(void) int
Py_GetRecursionLimit(void)
{ {
return recursion_limit; return recursion_limit;
} }
void Py_SetRecursionLimit(int new_limit) void
Py_SetRecursionLimit(int new_limit)
{ {
recursion_limit = new_limit; recursion_limit = new_limit;
} }