This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project gfxprim.git.
The branch, master has been updated via fa647eaeeb44a5b63a6f2141f3ced35ccf27364a (commit) from 30a31dc2d764c91837a690112c601e6363db224e (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- http://repo.or.cz/w/gfxprim.git/commit/fa647eaeeb44a5b63a6f2141f3ced35ccf273...
commit fa647eaeeb44a5b63a6f2141f3ced35ccf27364a Author: Cyril Hrubis metan@ucw.cz Date: Sun Nov 6 13:17:31 2011 +0100
doc: Update the filter documentation.
diff --git a/doc/filters.txt b/doc/filters.txt index d806786..c189599 100644 --- a/doc/filters.txt +++ b/doc/filters.txt @@ -18,7 +18,7 @@ pointer to store location of user data and percentage. ------------------------------------------------------------------------------- typdedef struct GP_ProgressCallback { float percentage; - void (*callback)(struct GP_ProgressCallback *self); + int (*callback)(struct GP_ProgressCallback *self); void *priv; } GP_ProgressCallback; ------------------------------------------------------------------------------- @@ -26,7 +26,12 @@ typdedef struct GP_ProgressCallback { If non 'NULL' progress callback structure is passed to a filter function, the callback function is periodically called and the percentage is updated.
-The callback is, if supported, the last parameter of the filter function. +The return value from callback could abort the filter execution. If non zero +value is returned the filter is aborted, all memory freed etc. and the filter +either returns 'NULL' if pointer is returned or 'GP_EINTR' in case filter +returns 'GP_RetCode'. + +The callback, if supported, is the last parameter of the filter function.
Common filter API ~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------------
Summary of changes: doc/filters.txt | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-)
repo.or.cz automatic notification. Contact project admin jiri.bluebear.dluhos@gmail.com if you want to unsubscribe, or site admin admin@repo.or.cz if you receive no reply.