Loading...
Searching...
No Matches
Atoms configuration

Functions

gpr_atoms_t gpr_atoms_create (const gpr_atoms_config_t *config)
 Create an atoms configuration handle from descriptor. Returns NULL on failure (check gpr_last_error()).
void gpr_atoms_destroy (gpr_atoms_t atoms)
 Destroy atoms configuration. Destroying NULL or a live handle clears gpr_last_status() and gpr_last_error(), while preserving a pending GPR_ERR_ORACLE during cleanup. A second call reports GPR_ERR_INVALID_ARG through gpr_last_status() and does not free the handle again.
int gpr_atoms_n_moving (gpr_atoms_t atoms)
 Number of moving (non-frozen) atoms.
int gpr_atoms_n_pairtypes (gpr_atoms_t atoms)
 Number of pair types.

Detailed Description

Function Documentation

◆ gpr_atoms_create()

gpr_atoms_t gpr_atoms_create ( const gpr_atoms_config_t * config)

Create an atoms configuration handle from descriptor. Returns NULL on failure (check gpr_last_error()).

◆ gpr_atoms_destroy()

void gpr_atoms_destroy ( gpr_atoms_t atoms)

Destroy atoms configuration. Destroying NULL or a live handle clears gpr_last_status() and gpr_last_error(), while preserving a pending GPR_ERR_ORACLE during cleanup. A second call reports GPR_ERR_INVALID_ARG through gpr_last_status() and does not free the handle again.

◆ gpr_atoms_n_moving()

int gpr_atoms_n_moving ( gpr_atoms_t atoms)

Number of moving (non-frozen) atoms.

◆ gpr_atoms_n_pairtypes()

int gpr_atoms_n_pairtypes ( gpr_atoms_t atoms)

Number of pair types.