Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kSize kApiLib_LeaksDetected ( )

Reports memory leaks that occurred during use of this library.

In debug builds, Zen tracks heap allocations. Call this function after destroying the kApiLib assembly to determine whether leaks occurred during operation.

To receive a detailed account of the detected leaks, ensure that a log handler is registered using the kApiLib_SetLogfHandler function.

This function is not thread-safe.

Returns
Count of leaked bytes.