Spaces:
Runtime error
Runtime error
/* Many allocated structures contains a magic number. | |
* | |
* These numbers are used solely to make sure that when a pointer is | |
* provided, it is really pointing on the expected type of data. | |
* It helps also for the detection of memory corruption. | |
* This mechanism is simple, but add a non-negligeable level of | |
* reliability at a very low cost (speed/memory wise). | |
*/ | |