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.

This constructor is not directly available to language bindings

Parameters

boxed_type GType
 

The GBoxed-based type.

value gpointer
 

The value for the boxed type.

 The argument can be NULL.
 The called function takes ownership of the data, and is responsible for freeing it.

Return value

Returns: DexFuture
 

A resolved DexFuture.

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