Constructor

DexFuturenew_reject

Declaration [src]

DexFuture*
dex_future_new_reject (
  GQuark domain,
  int error_code,
  const char* format,
  ...
)

Description [src]

Creates a new DexFuture that is rejeced.

Parameters

domain GQuark
 

The error domain.

error_code int
 

The error code.

format const char*
 

A printf-style format string.

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

Return value

Returns: DexFuture
 

A new DexFuture.

 The caller of the function takes ownership of the data, and is responsible for freeing it.