Declaration [src]

const GType*
gdk_content_formats_get_gtypes (
  const GdkContentFormats* formats,
  gsize* n_gtypes

Description [src]

Gets the GTypes included in formats.

Note that formats may not contain any GTypes, in particular when they are empty. In that case NULL will be returned.



Type: gsize*

Optional pointer to take the number of GTypes contained in the return value.

The argument will be set by the function.
The argument can be NULL.

Return value

Type: An array of GType

G_TYPE_INVALID-terminated array of types included in formats.

The array is NULL-terminated.
The length of the array is in the n_gtypes argument.
The data is owned by the instance.
The return value can be NULL.