Method
GdkContentFormatsget_gtypes
Declaration [src]
const GType*
gdk_content_formats_get_gtypes (
const GdkContentFormats* formats,
gsize* n_gtypes
)
Description [src]
Gets the GType
s included in formats
.
Note that formats
may not contain any GType
s, in particular when
they are empty. In that case NULL
will be returned.
Parameters
n_gtypes |
gsize* |
Optional pointer to take the
number of |
|
The argument will be set by the function. | |
The argument can be NULL . | |
The instance takes ownership of the data, and is responsible for freeing it. |
Return value
Returns: | An array of GType |
|
|
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 . |