Method

AgsFilexml_new_doc

since: 4.0.0

Declaration [src]

xmlDoc*
ags_file_xml_new_doc (
  AgsFile* file,
  gchar* version
)

Description [src]

Create #xmlDoc-struct.

Available since: 4.0.0

This method is not directly available to language bindings.

Parameters

version

Type: gchar*

The version.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: xmlDoc

The newly created #xmlDoc-struct.

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