GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Loading...
Searching...
No Matches
Data Fields
gp_progress_cb Struct Reference

Progress callback. More...

#include <gp_progress_callback.h>

Data Fields

float percentage
 Current progress.
 
int(* callback )(struct gp_progress_cb *self)
 A progress callback handler.
 
void * priv
 User private pointer.
 
unsigned int threads
 A number of threads.
 

Detailed Description

Progress callback.

Non zero return value from callback will abort current operation free memory and return NULL from filter/loader...

Definition at line 28 of file gp_progress_callback.h.

Field Documentation

◆ threads

unsigned int gp_progress_cb::threads

A number of threads.

Number of threads to use (if supported). This setting could be used to override the default number of threads as returned by gp_nr_threads().

0 == use number returned from gp_nr_threads().

>= 1 use exactly n threads

Definition at line 48 of file gp_progress_callback.h.


The documentation for this struct was generated from the following file: