List Archive
Thread
-
Progress callbacks - no userdata pointer?,
Andreas Falkenhahn
(2017/11/09 16:52:34)
- <Possible follow-ups>
-
Re: Progress callbacks - no userdata pointer?,
Andreas Falkenhahn
(2017/11/10 14:42:59)
- Re: Progress callbacks - no userdata pointer?, Thomas Klausner (2017/11/13 10:40:04)
Message
Is it true that progress callbacks in libzip don't provide any userdata mechanism or am I missing something here? I see that progress' callbacks are defined like this typedef void (*zip_progress_callback_t)(double); But this doesn't allow me to pass any userdata to the callback which forces me to use global variables to access certain data from the callback but that is rather ugly... -- Best regards, Andreas Falkenhahn mailto:andreas%falkenhahn.com@localhost
Made by MHonArc.