Function Macro

GLibassert_cmpuint

Declaration [src]

#define g_assert_cmpuint (
  n1,
  cmp,
  n2
)

Description [src]

Debugging macro to compare two unsigned integers.

The effect of g_assert_cmpuint (n1, op, n2) is the same as g_assert_true (n1 op n2). The advantage of this macro is that it can produce a message that includes the actual values of n1 and n2.

Available since:2.16

Parameters

n1 -
 

An unsigned integer.

cmp -
 

The comparison operator to use. One of ==, !=, <, >, <=, >=.

n2 -
 

Another unsigned integer.