CARB_DETAIL_DEFINE_DEFERRED_LOAD

Defined in carb/detail/DeferredLoad.h

CARB_DETAIL_DEFINE_DEFERRED_LOAD(fn_name_, symbol_, type_pack_)

Create a “deferred loader” function.

Parameters
  • fn_name_ – The name of the function to define.

  • symbol_ – The target function to attempt to load.

  • type_pack_ – The type of the symbol to load as a parenthesized pack. For example, if the target symbol_ refers to something like int foo(char, double), this would be (int (*)(char, double)). The enclosing parenthesis are needed because these arguments contain spaces and commas.