\( % Arcus cosine. \def\acos{\cos^{-1}} % Vector projection. \def\projection#1#2{{proj_{#1}\left(#2\right)}} % Vector rejection. \def\rejection#1#2{{rej_{#1}\left(#2\right)}} % Norm. \def\norm#1{{\left\|#1\right\|}} % Cross product. \def\cross#1#2{\mathit{cross}\left(#1,#2\right)} % Dot product. \def\dot#1#2{{#1 \cdot #2}} % Magnitude. \def\mag#1{{\left|#1\right}} \def\group#1{\left(#1\right)}} \def\sbgrp#1{\left\{#1\right\}} \)

Ring1_RemovedCallback

The type of a "removed" callback function for collections.

typedef void (Ring1_RemovedCallback)(void* element);

A function of this type can be associated with certain collections. The function is invoked before an element is added to a collection. A pointer to the element is passed to the function as its single argument. A "removed" callback function must not mutate the collection it is associated with. One can safely define a "removed" callback with a more specialized pointer type than void.

Parameter variables

element
A pointer to the element.