Constructor

GlyLoadernew_for_bytes

unstable since: 1.1

Declaration [src]

GlyLoader*
gly_loader_new_for_bytes (
  GBytes* bytes
)

Description [src]

Creates a new loader for bytes.

Available since: 1.1

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.