MeshLib C Docs
Loading...
Searching...
No Matches
MRProgressCallback.h
Go to the documentation of this file.
1#pragma once
2
3#include <MRCMisc/common.h>
4#include <MRCMisc/exports.h>
5
6#include <stdbool.h>
7
8#ifdef __cplusplus
9extern "C" {
10#endif
11
12typedef struct MR_std_function_bool_from_float MR_std_function_bool_from_float; // Defined in `#include <MRCMisc/std_function_bool_from_float.h>`.
13
14
18
22MRC_API bool MR_reportProgress_4(MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, float v, MR_uint64_t counter, int divider);
23
28
33
34#ifdef __cplusplus
35} // extern "C"
36#endif
struct MR_std_function_bool_from_float MR_std_function_bool_from_float
Definition MR3mf.h:10
MRC_API MR_std_function_bool_from_float * MR_subprogress_float(MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, float from, float to)
MRC_API bool MR_reportProgress_2(MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, float v)
MRC_API bool MR_reportProgress_4(MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, float v, MR_uint64_t counter, int divider)
MRC_API MR_std_function_bool_from_float * MR_subprogress_uint64_t(MR_PassBy cb_pass_by, MR_std_function_bool_from_float *cb, MR_uint64_t index, MR_uint64_t count)
MR_PassBy
Definition common.h:19
uint64_t MR_uint64_t
Definition common.h:14
#define MRC_API
Definition exports.h:11