parse_allocation


Description:

public void parse_allocation (out unowned Caps? caps, out bool need_pool)

Parse an allocation query, writing the requested caps in caps and whether a pool is needed in need_pool, if the respective parameters are non-%NULL.

Pool details can be retrieved using get_n_allocation_pools and parse_nth_allocation_pool.

Parameters:

this

a Query

caps

The Caps

need_pool

Whether a BufferPool is needed