Method

DexFutureawait_string

Declaration [src]

char*
dex_await_string (
  DexFuture* future
  GError** error
)

Description [src]

Awaits on future and returns the string result.

If the result is not a G_TYPE_STRING, error is set.

Return value

Returns: char*
 

The string or NULL and error is set.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.
 The string is a NUL terminated UTF-8 string.