[ion] Add Ion::stackSafe

This allows asserting the stack is within bounds
This commit is contained in:
Romain Goyet
2018-10-10 10:35:01 +02:00
committed by LeaNumworks
parent f4f567814e
commit f1198d3c76
8 changed files with 23 additions and 1 deletions

View File

@@ -43,6 +43,9 @@ uint32_t random();
// Decompress data
void decompress(const uint8_t * src, uint8_t * dst, int srcSize, int dstSize);
// Tells wether the stack pointer is within acceptable bounds
bool stackSafe();
}
#endif