Method

GUsbContextsave

Declaration

gboolean
g_usb_context_save (
  GUsbContext* self,
  JsonBuilder* json_builder,
  GError** error
)

Description

Saves the context to an existing JSON builder.

Available since:0.4.0

Parameters

json_builder JsonBuilder
 

A JsonBuilder.

 The data is owned by the caller of the function.
error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE on success.