19unsigned SampNdx_size(
SampNdx * self);
void SampNdx_init(SampNdx *self)
Set everything to zero.
Definition: sampndx.c:17
void SampNdx_addSamples(SampNdx *self, unsigned nsamples, void *ptr)
Add samples for a single population.
Definition: sampndx.c:24
void SampNdx_sanityCheck(SampNdx *self, const char *file, int line)
Check sanity of a SampNdx.
Definition: sampndx.c:58
void SampNdx_remapPtrs(SampNdx *self, PtrPtrMap *ppm)
Remap pointers.
Definition: sampndx.c:79
int SampNdx_ptrsLegal(SampNdx *self, void *start, void *end)
Return 1 if all pointers in SampNdx are in [start,end); return 0 otherwise.
Definition: sampndx.c:69
void * SampNdx_get(SampNdx *self, unsigned i)
Return pointer to home of i'th sample.
Definition: sampndx.c:35
int SampNdx_equals(const SampNdx *lhs, const SampNdx *rhs)
This equality check doesn't do much, because the pointers in different SampNdx objects don't have to ...
Definition: sampndx.c:47