Home | All Classes | Grouped Classes | Index | Search

Class CL_Assert

This is ClanLib's assertion class. More...

Derived from: none
Derived by: none
Group: Core (System)

#include <ClanLib/core.h>

Operations:

enable_channels

Enables the error channels specified by the 'channel_mask'.

die

Produces an assert.

info

Writes an info statements on the specified channel.

add_listener

Adds an assertion listener which will be called in case of an assertion.

remove_listener

Removes an assertion listener.

Detailed description:

It is needed because some implementations requires notification before ClanLib is exited. For instance the svgalib implementation need release the keyboard lock.



Questions or comments, write to the
ClanLib mailing list.