Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 25573:0231cc54f87e legacy-trunk
s/_alloca/alloca/g; Windows doesn't need the former, at least not unless
__STDC__ is defined (or something like that ...).
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Sat, 05 Oct 2002 01:47:34 +0000 |
| parents | 17e95cc06f69 |
| children | 093fe5b9f6f9 |
comparison
equal
deleted
inserted
replaced
| 25572:43671e0116d5 | 25573:0231cc54f87e |
|---|---|
| 1448 */ | 1448 */ |
| 1449 int | 1449 int |
| 1450 PyOS_CheckStack(void) | 1450 PyOS_CheckStack(void) |
| 1451 { | 1451 { |
| 1452 __try { | 1452 __try { |
| 1453 /* _alloca throws a stack overflow exception if there's | 1453 /* alloca throws a stack overflow exception if there's |
| 1454 not enough space left on the stack */ | 1454 not enough space left on the stack */ |
| 1455 _alloca(PYOS_STACK_MARGIN * sizeof(void*)); | 1455 alloca(PYOS_STACK_MARGIN * sizeof(void*)); |
| 1456 return 0; | 1456 return 0; |
| 1457 } __except (EXCEPTION_EXECUTE_HANDLER) { | 1457 } __except (EXCEPTION_EXECUTE_HANDLER) { |
| 1458 /* just ignore all errors */ | 1458 /* just ignore all errors */ |
| 1459 } | 1459 } |
| 1460 return 1; | 1460 return 1; |
