Method

VipsDbufallocate

Declaration [src]

gboolean
vips_dbuf_allocate (
  VipsDbuf* dbuf,
  size_t size
)

Description [src]

Make sure dbuf has at least size bytes available after the write point.

Parameters

size size_t
 

The size to allocate.

Return value

Returns: gboolean
 

FALSE on out of memory, TRUE otherwise.