Function Macro

GLibuint64_checked_add

Declaration [src]

#define g_uint64_checked_add (
  dest,
  a,
  b
)

Description [src]

Performs a checked addition of a and b, storing the result in dest.

If the operation is successful, TRUE is returned. If the operation overflows then the state of dest is undefined and FALSE is returned.

Available since:2.48

Parameters

dest -
 

A pointer to the #guint64 destination.

a -
 

The #guint64 left operand.

b -
 

The #guint64 right operand.