[#absl-RegisterLivePointers] = xref:absl.adoc[absl]::RegisterLivePointers :relfileprefix: ../ :mrdocs: Registers `ptr[0,size‐1]` as pointers to memory that is still actively being referenced and for which leak checking should be ignored. This function is useful if you store pointers in mapped memory, for memory ranges that we know are correct but for which normal analysis would flag as leaked code. == Synopsis Declared in `<absl/debugging/leak_check.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void RegisterLivePointers( void const* ptr, size_t size); ---- == Parameters [cols="1,4"] |=== | Name| Description | *ptr* | Pointer to the start of the memory range to register. | *size* | Size, in bytes, of the memory range to register. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#