Dsymbol.apply

Iterate this dsymbol or members of this scoped dsymbol, then call fp with the found symbol and param.

class Dsymbol
int
apply
(
Dsymbol_apply_ft_t fp
,
void* param
)

Parameters

fp

function pointer to process the iterated symbol. If it returns nonzero, the iteration will be aborted.

param
Type: void*

a parameter passed to fp.

Return Value

Type: int

nonzero if the iteration is aborted by the return value of fp, or 0 if it's completed.

Meta