Method

NumCosmoMathMemoryPoolempty

Declaration [src]

guint
ncm_memory_pool_empty (
  NcmMemoryPool* mp,
  gboolean free_slices
)

Description [src]

This function free all the slices in the pool and also the slices if free_slices == TRUE and the pool was built with a free function.

Parameters

free_slices

Type: gboolean

If true and the pool was built with a free function, free the slices.

Return value

Type: guint

The number of slices freed.