2
1
mirror of https://github.com/qpdf/qpdf.git synced 2025-01-03 15:17:29 +00:00

Clarify qpdf_register_progress_reporter's comment

This commit is contained in:
Jay Berkenbilt 2021-01-19 08:54:47 -05:00
parent ad2c2b8452
commit 9ad6cfd45b

View File

@ -471,7 +471,11 @@ extern "C" {
* a value between 0 and 100 representing the approximate write
* progress. The data object you pass to
* qpdf_register_progress_reporter will be handed back to your
* function.
* function. This function must be called after qpdf_init_write
* (or qpdf_init_write_memory) and before qpdf_write. The
* registered progress reporter applies only to a single write, so
* you must call it again if you perform a subsequent write with a
* new writer.
*/
QPDF_DLL
void qpdf_register_progress_reporter(