CARB_REQUIRE_LINKED
Defined in carb/detail/DeferredLoad.h
-
CARB_REQUIRE_LINKED
Changes how the
carbReallocate
symbol is acquired.If
CARB_REQUIRE_LINKED
is defined as 1 before this file is included, then Carbonite-provided functions (e.g.carbReallocate
andomniGetErrorApi
) will be imported from carb.dll or libcarb.so and the binary must link against the import library for the module. This can be useful for applications that want to use these functions prior to initializing the framework.If not defined or defined as
0
, the functions will be marked weakly-linked and the binary need not link against the import library. Attempting to call these functions will dynamically attempt to find then in the already-loaded carb module. If it cannot be found a warning will be thrown.See also
CARB_DETAIL_DEFINE_DEFERRED_LOAD
See also
carbReallocate