Skip to content
DebugAllocatorCreateWith

DebugAllocatorCreateWith

Description

Same as DebugAllocatorCreate but with a custom configuration.

Usage example (Cross-references)

Usage examples (Cross-references)
    // ---------------------------------------------------------------------------
    
    DebugAllocator *DebugAllocatorCreateWith(Allocator *parent, Allocator *meta_alloc, DebugAllocatorConfig config) {
        if (!parent || !meta_alloc) {
            LOG_ERROR("DebugAllocatorCreate: parent and meta_alloc are required");
    
    DebugAllocator *DebugAllocatorCreate(Allocator *parent, Allocator *meta_alloc) {
        return DebugAllocatorCreateWith(parent, meta_alloc, DEBUG_ALLOCATOR_DEFAULTS);
    }
Last updated on