Function Macro
CamelCHECK_GERROR
since: 2.32
Declaration [src]
#define CAMEL_CHECK_GERROR (
object,
method,
expr,
error
)
Description [src]
This sanity checks return values and GError
. If returning
failure, make sure the GError
is set. If returning success,
make sure the GError
is NOT set.
Example:
success = class->foo (object, some_data, error);
CAMEL_CHECK_GERROR (object, foo, success, error);
return success;
Available since: 2.32
This function is not directly available to language bindings.