Bond 0.9
Bond Standard Library API Documentation
Loading...
Searching...
No Matches
memory.bond

API for scope-based and manual dynamic memory management, as well as other memory related functions. More...

Classes

struct  Bond::Collector

Functions

CollectorBond::GetCollector ()
void * Bond::Allocate (ulong size)
void * Bond::AllocateCollected (ulong size)
void * Bond::AllocateWithCollector (Collector *collector, ulong size)
void * Bond::AllocateAligned (ulong size, uint alignment)
void * Bond::AllocateAlignedCollected (ulong size, uint alignment)
void * Bond::AllocateAlignedWithCollector (Collector *collector, ulong size, uint alignment)
void Bond::Free (void *ptr)
void Bond::FreeAligned (void *ptr)
void Bond::Memcpy (void *dest, void *src, ulong size)

Detailed Description

API for scope-based and manual dynamic memory management, as well as other memory related functions.

include "memory.bond";

Function Documentation

◆ Allocate()

void * Bond::Allocate ( ulong size)

◆ AllocateAligned()

void * Bond::AllocateAligned ( ulong size,
uint alignment )

◆ AllocateAlignedCollected()

void * Bond::AllocateAlignedCollected ( ulong size,
uint alignment )

◆ AllocateAlignedWithCollector()

void * Bond::AllocateAlignedWithCollector ( Collector * collector,
ulong size,
uint alignment )

◆ AllocateCollected()

void * Bond::AllocateCollected ( ulong size)

◆ AllocateWithCollector()

void * Bond::AllocateWithCollector ( Collector * collector,
ulong size )

◆ Free()

void Bond::Free ( void * ptr)

◆ FreeAligned()

void Bond::FreeAligned ( void * ptr)

◆ GetCollector()

Collector * Bond::GetCollector ( )

◆ Memcpy()

void Bond::Memcpy ( void * dest,
void * src,
ulong size )