This commit is contained in:
John Cupitt 2008-07-03 22:07:45 +00:00
parent d407291a15
commit 7c649f7af1

View File

@ -7,6 +7,8 @@
* - evalend callbacks added * - evalend callbacks added
* 16/1/04 JC * 16/1/04 JC
* - now always calls all callbacks, even if some fail * - now always calls all callbacks, even if some fail
* 2/7/08
* - added invalidate callbacks
*/ */
/* /*
@ -119,6 +121,12 @@ im_add_evalstart_callback( IMAGE *im, int (*fn)(), void *a, void *b )
return( add_callback( im, &im->evalstartfns, fn, a, b ) ); return( add_callback( im, &im->evalstartfns, fn, a, b ) );
} }
int
im_add_invalidate_callback( IMAGE *im, int (*fn)(), void *a, void *b )
{
return( add_callback( im, &im->invalidatefns, fn, a, b ) );
}
/* Perform a user callback. /* Perform a user callback.
*/ */
static void * static void *