Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Static Protected Member Functions | List of all members
Ase::Loft::AllocatorBase Struct Reference

Internal Helper. More...

#include "loft.hh"

Inheritance diagram for Ase::Loft::AllocatorBase:
[legend]

Static Protected Member Functions

static void * loft_btalloc (size_t size, size_t align)
 Alloc in a fashion similar to malloc(), using boundary tags.
 
static void loft_btfree (void *p, size_t size)
 Free memory allocted from loft_btalloc().
 

Detailed Description

Internal Helper.

Definition at line 81 of file loft.hh.

Member Function Documentation

◆ loft_btalloc()

void * Ase::Loft::AllocatorBase::loft_btalloc ( size_t  size,
size_t  align 
)
staticprotected

Alloc in a fashion similar to malloc(), using boundary tags.

Definition at line 460 of file loft.cc.

References ASE_UNLIKELY, assert_return, std::unique_ptr::get_deleter(), std::max(), std::unique_ptr::release(), and uintptr_t.

◆ loft_btfree()

void Ase::Loft::AllocatorBase::loft_btfree ( void *  p,
size_t  size 
)
staticprotected

Free memory allocted from loft_btalloc().

Definition at line 488 of file loft.cc.

References ASE_UNLIKELY, assert_return, free(), std::max(), and uintptr_t.


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