Method

GtkSourceFileLoaderset_max_size

unstable since: 5.22

Declaration [src]

void
gtk_source_file_loader_set_max_size (
  GtkSourceFileLoader* loader,
  guint64 max_size
)

Description [src]

Sets the maximum expanded size that loader will insert into the buffer.

The limit is checked after decompression, so compressed files are limited by the size of their uncompressed contents rather than their on-disk size.

Available since: 5.22

Parameters

max_size

Type: guint64

Maximum expanded size in bytes, or 0 to disable the limit.