GLib.assertion_message_expr
Description: Reference for GLib.assertion_message_expr

### Function

# GLibassertion_message_expr

since: 2.0

#### Declaration

    void
    g_assertion_message_expr (
      const char* domain,
      const char* file,
      int line,
      const char* func,
      const char* expr
    )

#### Description

Internal function used to print messages from the public `g_assert()` and `g_assert_not_reached()` macros.

Available since: 2.0

This function is not directly available to language bindings.

#### Parameters

`domain`

  Type: `const char*`

  Log domain.

  The argument can be `NULL`.
  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`file`

  Type: `const char*`

  File containing the assertion.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`line`

  Type: `int`

  Line number of the assertion.

`func`

  Type: `const char*`

  Function containing the assertion.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`expr`

  Type: `const char*`

  Expression which failed.

  The argument can be `NULL`.
  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.