DISTRHO Plugin Framework
Functions
String print functions

Functions

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()

static 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()

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

Print a string to stdout with newline.

◆ d_stderr()

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

Print a string to stderr with newline.

◆ d_stderr2()

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

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

◆ d_safe_assert()

static 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()

static 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()

static 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()

static 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()

static 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()

static 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()

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

Print a safe exception error message.