updating oE check_all_blocks


include std/machine.e 

Scans the list of registered blocks for any corruption.


safe.e maintains a list of acquired memory blocks. Those gained through allocate are automatically included. Any other block, for debugging purposes, must be registered by register_block and unregistered by unregister_block.

The list is scanned and, if any block shows signs of corruption, it is displayed on the screen and the program terminates. Otherwise, nothing happens.

Unless SAFE is defined, this routine does nothing. It is there to make switching between debugged and normal version of your program easier.

See Also:

register_block, unregister_block

Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu