callbackpointer

noun
UK /ˈkɔːlbæk ˌpɔɪntə/
US /ˈkɔːlbæk ˌpɔɪntər/

A callback pointer is a little note in a computer that tells it which helper to run next.

The program stored a callback pointer so it knew which function to call when the button was clicked.


OTHER MEANINGS

2. In event-driven programming, a stored address used to invoke a listener when something happens.

The timer kept a callback pointer to the alarm routine.

3. A reference passed to a library so the library can call back into your code later.

We gave the sorting library a callback pointer for comparing items.

4. A memory address that points to executable code meant to be run on completion of a task.

After the download finished, the callback pointer triggered the success message.