| 30 | function<bool(size_t progress, size_t total)> func; |
| 31 | |
| 32 | static bool UpdateCallback(void* ctxt, size_t progress, size_t total) |
| 33 | { |
| 34 | UpdateProgress* self = (UpdateProgress*)ctxt; |
| 35 | return self->func(progress, total); |
| 36 | } |
| 37 | }; |
| 38 | } // namespace BinaryNinja |
| 39 |