Constructor

GlyLoadernew_for_bytes

since: 2.0

Declaration [src]

GlyLoader*
gly_loader_new_for_bytes (
  GBytes* bytes
)

Description [src]

Creates a new loader for bytes.

Available since: 2.0

Parameters

bytes

Type: GBytes

Data from which to load the image.

The data is owned by the caller of the function.

Return value

Type: GlyLoader

A new GlyLoader

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