| 1 | // Maps names from their convenience name (eg Coroutine_New) to their NS names (eg Py_Coroutine_New) |
| 2 | |
| 3 | // This allows you to rename all Coroutine things with your own namespace. |
| 4 | #ifndef Coroutine_NS |
| 5 | #define Coroutine_NS(N) Coroutine_##N |
| 6 | #endif |
| 7 | |
| 8 | #define Coroutine_SetStackLimit Coroutine_NS(SetStackLimit) |
| 9 | #define Coroutine_GetReport Coroutine_NS(GetReport) |
| 10 | #define Coroutine_CheckIntegrity Coroutine_NS(CheckIntegrity) |
| 11 | #define Coroutine_New Coroutine_NS(New) |
| 12 | #define Coroutine_Run_Coroutine Coroutine_NS(Run_Coroutine) |
| 13 | #define Coroutine_RunSystem Coroutine_NS(RunSystem) |
| 14 | #define Coroutine_Run Coroutine_NS(Run) |
| 15 | #define Coroutine_Delete Coroutine_NS(Delete) |
| 16 | #define Coroutine_Continue Coroutine_NS(Continue) |
| 17 | #define Coroutine_Yield Coroutine_NS(Yield) |
| 18 | #define Coroutine_GetValue Coroutine_NS(GetValue) |
| 19 | #define Coroutine_GetActive Coroutine_NS(GetActive) |
| 20 | #define Coroutine_GetStackHeadroom Coroutine_NS(GetStackHeadroom) |
| 21 | #define Coroutine_GetStackHWM Coroutine_NS(GetStackHWM) |
| 22 | #define Coroutine_ClearStackForHWM Coroutine_NS(ClearStackForHWM) |
| 23 | #define Coroutine_CanStartCoroutine Coroutine_NS(CanStartCoroutine) |
| 24 | #define Coroutine_GetCStackTop Coroutine_NS(GetCStackTop) |
| 25 | #define Coroutine_Chain Coroutine_NS(Chain) |
| 26 | #define Coroutine_IsStarted Coroutine_NS(IsStarted) |
| 27 | #define Coroutine_IsRunning Coroutine_NS(IsRunning) |
| 28 | #define Coroutine_IsComplete Coroutine_NS(IsComplete) |
| 29 | #define Coroutine_Dump_ Coroutine_NS(Dump_) |
| 30 | |