Method
AppStreamComposeUnitread_data
Declaration [src]
GBytes*
asc_unit_read_data (
AscUnit* unit,
const gchar* filename,
GError** error
)
Parameters
filename |
const gchar* |
The file to read data for. |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. | |
error |
GError ** |
The return location for a GError*, or NULL. |
Return value
| Returns: | GBytes |
| No description available. | |
| The caller of the method takes ownership of the data, and is responsible for freeing it. |