libguac  0.9.6
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Fields
guac_pool Struct Reference

A pool of integers. More...

Data Fields

int min_size
 The minimum number of integers which must have been returned by guac_pool_next_int before previously-used and freed integers are allowed to be returned.
 
int active
 The number of integers currently in use.
 

Detailed Description

A pool of integers.

Integers can be removed from and later free'd back into the pool. New integers are returned when the pool is exhausted, or when the pool has not met some minimum size. Old, free'd integers are returned otherwise.


The documentation for this struct was generated from the following file: