Lugdunum  0.1.0
Public Member Functions | Static Private Attributes | List of all members
lug::System::Memory::Policies::SimpleMemoryMarking Class Reference

#include <MemoryMarker.hpp>

Collaboration diagram for lug::System::Memory::Policies::SimpleMemoryMarking:
[legend]

Public Member Functions

void markAllocation (void *ptr, size_t size) const
 
void markDeallocation (void *ptr, size_t size) const
 

Static Private Attributes

static constexpr uint8_t AllocationMagic = 0xCD
 
static constexpr uint8_t DeallocationMagic = 0xDD
 

Detailed Description

Definition at line 17 of file MemoryMarker.hpp.

Member Function Documentation

◆ markAllocation()

void SimpleMemoryMarking::markAllocation ( void *  ptr,
size_t  size 
) const
inline

Definition at line 4 of file MemoryMarker.inl.

◆ markDeallocation()

void SimpleMemoryMarking::markDeallocation ( void *  ptr,
size_t  size 
) const
inline

Definition at line 8 of file MemoryMarker.inl.

Member Data Documentation

◆ AllocationMagic

constexpr uint8_t lug::System::Memory::Policies::SimpleMemoryMarking::AllocationMagic = 0xCD
staticprivate

Definition at line 23 of file MemoryMarker.hpp.

◆ DeallocationMagic

constexpr uint8_t lug::System::Memory::Policies::SimpleMemoryMarking::DeallocationMagic = 0xDD
staticprivate

Definition at line 24 of file MemoryMarker.hpp.


The documentation for this class was generated from the following files: