add_invalidate_notifier


Description:

public void add_invalidate_notifier (void* notify_data, ClosureNotify notify_func)

Registers an invalidation notifier which will be called when the this is invalidated with invalidate.

Invalidation notifiers are invoked before finalization notifiers, in an unspecified order.

Parameters:

this

a Closure

notify_data

data to pass to notify_func

notify_func

the callback function to register