Skip to content

include/test.h: allow calling check_func() before declare_func()

Instead of setting the function pointers directly, set them internally and just load them at the actual call site via an API function.

The performance hit is insignificant outside of the benchmark, where we can instead just cache the function pointer directly.

Closes: #5

Merge request reports

Loading