- __doPostblit
void __doPostblit(void* ptr, size_t len, TypeInfo ti)
Undocumented in source. Be warned that the author may not have intended to support it.
- __getBlkInfo
BlkInfo* __getBlkInfo(void* interior)
Get the cached block info of an interior pointer. Returns null if the
interior pointer's block is not cached.
- __insertBlkInfoCache
void __insertBlkInfoCache(BlkInfo bi, BlkInfo* curpos)
Undocumented in source. Be warned that the author may not have intended to support it.
- __setArrayAllocLength
bool __setArrayAllocLength(BlkInfo info, size_t newlength, bool isshared, TypeInfo tinext, size_t oldlength)
Set the allocated length of the array block. This is called
any time an array is appended to or its length is set.
- _d_allocclass
Object _d_allocclass(ClassInfo ci)
Undocumented in source. Be warned that the author may not have intended to support it.
- _d_allocmemory
void* _d_allocmemory(size_t sz)
Allocate memory using the garbage collector
- _d_allocmemoryT
void* _d_allocmemoryT(TypeInfo ti)
for allocating a single POD value
- _d_arrayappendcTX
byte[] _d_arrayappendcTX(TypeInfo ti, byte[] px, size_t n)
Extend an array by n elements.
- _d_arrayappendcd
void[] _d_arrayappendcd(byte[] x, dchar c)
Append dchar to char[], converting UTF-32 to UTF-8
- _d_arrayappendwd
void[] _d_arrayappendwd(byte[] x, dchar c)
Append dchar to wchar[], converting UTF-32 to UTF-16
- _d_arrayliteralTX
void* _d_arrayliteralTX(TypeInfo ti, size_t length)
Allocate an array literal
- _d_arraysetcapacity
size_t _d_arraysetcapacity(TypeInfo ti, size_t newcapacity, void[]* p)
- _d_arraysetlengthT
void[] _d_arraysetlengthT(TypeInfo ti, size_t newlength, void[]* p)
- _d_arraysetlengthiT
void[] _d_arraysetlengthiT(TypeInfo ti, size_t newlength, void[]* p)
Resize a dynamic array by setting the .length property
- _d_arrayshrinkfit
void _d_arrayshrinkfit(TypeInfo ti, void[] arr)
Shrink the "allocated" length of an array to be the exact size of the array.
- _d_callfinalizer
void _d_callfinalizer(void* p)
- _d_callinterfacefinalizer
void _d_callinterfacefinalizer(void* p)
- _d_delclass
void _d_delclass(Object* p)
- _d_delinterface
void _d_delinterface(void** p)
- _d_delmemory
void _d_delmemory(void** p)
- _d_newarrayT
void[] _d_newarrayT(TypeInfo ti, size_t length)
Allocate an array with the garbage collector.
- _d_newarrayU
void[] _d_newarrayU(TypeInfo ti, size_t length)
- _d_newarrayiT
void[] _d_newarrayiT(TypeInfo ti, size_t length)
Allocate an array with the garbage collector.
- _d_newarraymTX
void[] _d_newarraymTX(TypeInfo ti, size_t[] dims)
- _d_newarraymiTX
void[] _d_newarraymiTX(TypeInfo ti, size_t[] dims)
Create a new multi-dimensional array
- _d_newclass
Object _d_newclass(ClassInfo ci)
- _d_newitemU
void* _d_newitemU(TypeInfo _ti)
- finalize_array
void finalize_array(void* p, size_t size, TypeInfo_Struct si)
Undocumented in source. Be warned that the author may not have intended to support it.
- finalize_array2
void finalize_array2(void* p, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
- finalize_struct
void finalize_struct(void* p, size_t size)
Undocumented in source. Be warned that the author may not have intended to support it.
- hasArrayFinalizerInSegment
int hasArrayFinalizerInSegment(void* p, size_t size, void[] segment)
Undocumented in source. Be warned that the author may not have intended to support it.
- hasPostblit
bool hasPostblit(TypeInfo ti)
Undocumented in source. Be warned that the author may not have intended to support it.
- hasStructFinalizerInSegment
int hasStructFinalizerInSegment(void* p, size_t size, void[] segment)
Undocumented in source. Be warned that the author may not have intended to support it.
- newCapacity
size_t newCapacity(size_t newlength, size_t size)
Given an array of length size that needs to be expanded to newlength,
compute a new capacity.
- printArrayCache
void printArrayCache()
Undocumented in source. Be warned that the author may not have intended to support it.
- rt_finalize
void rt_finalize(void* p, bool det)
- rt_finalize2
void rt_finalize2(void* p, bool det, bool resetMemory)
- rt_finalizeFromGC
void rt_finalizeFromGC(void* p, size_t size, uint attr)
Undocumented in source. Be warned that the author may not have intended to support it.
- rt_hasFinalizerInSegment
int rt_hasFinalizerInSegment(void* p, size_t size, uint attr, const(void)[] segment)
- structTypeInfoSize
size_t structTypeInfoSize(TypeInfo ti)
Undocumented in source. Be warned that the author may not have intended to support it.
- unqualify
inout(TypeInfo) unqualify(inout(TypeInfo) cti)
Undocumented in source. Be warned that the author may not have intended to support it.
This module contains all functions related to an object's lifetime: allocation, resizing, deallocation, and finalization.