Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kBool kApiLib_LeaksDetected | ( |  | ) |

Reports whether memory leaks 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
  kTRUE if leaks were detected; kFALSE otherwise.