Dusk Audio Framework
Loading...
Searching...
No Matches
String print functions

Functions

static FILE * __d_fopen (const char *const filename, FILE *const fallback) noexcept
static void d_debug (const char *const fmt,...) noexcept
static void d_stdout (const char *const fmt,...) noexcept
static void d_stderr (const char *const fmt,...) noexcept
static void d_stderr2 (const char *const fmt,...) noexcept
static void d_safe_assert (const char *const assertion, const char *const file, const int line) noexcept
static void d_safe_assert_int (const char *const assertion, const char *const file, const int line, const int value) noexcept
static void d_safe_assert_uint (const char *const assertion, const char *const file, const int line, const uint value) noexcept
static void d_safe_assert_int2 (const char *const assertion, const char *const file, const int line, const int v1, const int v2) noexcept
static void d_safe_assert_uint2 (const char *const assertion, const char *const file, const int line, const uint v1, const uint v2) noexcept
static void d_custom_safe_assert (const char *const message, const char *const assertion, const char *const file, const int line) noexcept
static void d_safe_exception (const char *const exception, const char *const file, const int line) noexcept

Detailed Description

Function Documentation

◆ d_debug()

void d_debug ( const char *const fmt,
... )
inlinestaticnoexcept

Print a string to stdout with newline (gray color). Does nothing if DEBUG is not defined.

◆ d_stdout()

void d_stdout ( const char *const fmt,
... )
inlinestaticnoexcept

Print a string to stdout with newline.

◆ d_stderr()

void d_stderr ( const char *const fmt,
... )
inlinestaticnoexcept

Print a string to stderr with newline.

◆ d_stderr2()

void d_stderr2 ( const char *const fmt,
... )
inlinestaticnoexcept

Print a string to stderr with newline (red color).

◆ d_safe_assert()

void d_safe_assert ( const char *const assertion,
const char *const file,
const int line )
inlinestaticnoexcept

Print a safe assertion error message.

◆ d_safe_assert_int()

void d_safe_assert_int ( const char *const assertion,
const char *const file,
const int line,
const int value )
inlinestaticnoexcept

Print a safe assertion error message, with 1 extra signed integer value.

◆ d_safe_assert_uint()

void d_safe_assert_uint ( const char *const assertion,
const char *const file,
const int line,
const uint value )
inlinestaticnoexcept

Print a safe assertion error message, with 1 extra unsigned integer value.

◆ d_safe_assert_int2()

void d_safe_assert_int2 ( const char *const assertion,
const char *const file,
const int line,
const int v1,
const int v2 )
inlinestaticnoexcept

Print a safe assertion error message, with 2 extra signed integer values.

◆ d_safe_assert_uint2()

void d_safe_assert_uint2 ( const char *const assertion,
const char *const file,
const int line,
const uint v1,
const uint v2 )
inlinestaticnoexcept

Print a safe assertion error message, with 2 extra unsigned integer values.

◆ d_custom_safe_assert()

void d_custom_safe_assert ( const char *const message,
const char *const assertion,
const char *const file,
const int line )
inlinestaticnoexcept

Print a safe assertion error message, with a custom error message.

◆ d_safe_exception()

void d_safe_exception ( const char *const exception,
const char *const file,
const int line )
inlinestaticnoexcept

Print a safe exception error message.