Constructor

DexFuturenew_take_boxed

Declaration [src]

DexFuture*
dex_future_new_take_boxed (
  GType boxed_type,
  gpointer value
)

Description [src]

Creates a new DexFuture that is resolved with value.

Parameters

boxed_type GType
 

The GBoxed-based type.

value gpointer
 

The value for the boxed type.

Return value

Returns: DexFuture
 

A resolved DexFuture.

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