---
name: "CL_AssertListener"
section: "3"
platform: "linux"
package: "clanlib0-common-dev"
version: "0.4.4-8"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/CL_AssertListener"
---

# CL\_AssertListener(3)

Interface used by the CL\_Assert class.

## NAME

CL\_AssertListener - Interface used by the CL\_Assert class.

## CLASS MEMBERS

- virtual **~CL\_AssertListener**()

  - virtual void **assert\_occoured**(

  ```
  const char *file,
  int line)
  ```

## MEMBERS WITH DESCRIPTIONS

- virtual **~CL\_AssertListener**()

  ```
  Description:
  ```

- virtual void **assert\_occoured**(

  ```
  const char *file,
  int line)
  ```

  ```
  Parameters:
  file - Filename where the assert occoured.
  line - Line number in the file where the assert occoured.
  ```

  ```
  Description:
  ```

  Called by CL\_Assert::die() when assertion occours. Remember toadd it as an listener - otherwise it will \_NOT\_ be called.

## SEE ALSO

All ClanLib API classes can be found in **clanlib (3)**.

## AUTHORS

Originally written by Magnus Norddahl \<*mbn@dark.x.dtu.dk*\> and Martin Starch \<*starch@dark.x.dtu.dk*\>. ClanLib is now developed by the ClanLib Development team as an Open Source project.

The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at **http://somewhere.in.the.world.org**).

See **clanlib (3)** to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.
