Next: , Previous: , Up: Top   [Contents]

7 Fatal Errors

Libmarpa avoids fatal errors, leaving that decision up to the application, with one exception. Currently, if malloc fails to allocate memory, Libmarpa terminates the program with a fatal error.

While this is in keeping with current practice, future versions of Libmarpa are likely to both allow an alternative memory allocator to be specified, and to allow the user to specifier a handler to be called when an out-of-memory condition occurs.