APIs for building a simple function that calls call specified functions in order.
More...
APIs for building a simple function that calls call specified functions in order.
Called functions should accept a single argument of (void*) and return void.
Given the following constructor call:
record[0] = &func1;
record[1] = &func2;
void(* jit_blocks_funccalls_func_ptr_t)(void *)
Definition jit_blocks.h:84
JIT_BLOCKS_EXPORT jit_blocks_funccalls_output_func_t jit_blocks_funccalls_build(const jit_blocks_funccalls_func_ptr_t *records, int num_records, gcc_jit_result **out_res)
It will build a function like below:
void output_func(void* arg) {
func1(arg);
func2(arg);
}
◆ jit_blocks_funccalls_func_ptr_t
typedef void(* jit_blocks_funccalls_func_ptr_t) (void *) |
◆ jit_blocks_funccalls_output_func_t
typedef void(* jit_blocks_funccalls_output_func_t) (void *arg) |
◆ jit_blocks_funccalls_build()
◆ jit_blocks_funccalls_build_aux()