allegro

This document pertains to debugging related methods found in the Allegro egg.

Please see the main [allegro] wiki page for more information.

  1. allegro
  2. Functions
    1. Debugging
    2. Errors

Functions

Debugging

[procedure] (trace-prefix (string channel) (int level) (string file) (int line) (string function))

Implements _al_trace_prefix.

[procedure] (trace-level-debug)

Implements ALLEGRO_DEBUG.

[procedure] (trace-level-info)

Implements ALLEGRO_INFO.

[procedure] (trace-level-warn)

Implements ALLEGRO_WARN.

[procedure] (trace-level-error)

Implements ALLEGRO_ERROR.

[procedure] (debug-assert bool)

Implements ALLEGRO_ASSERT.

Errors

[procedure] (error-number)

Implements al_get_errno.

[procedure] (error-number-set!)

Implements al_set_errno.