23#ifndef INCLUDED_ALLOCATORS_SHARED_PTR
24#define INCLUDED_ALLOCATORS_SHARED_PTR
53std::shared_ptr<u8>
Allocate(
size_t size);
static const size_t cacheLineSize
Definition: alignment.h:75
const Status NO_MEM
Definition: status.h:432
const Status OK
Definition: status.h:388
void rtl_FreeAligned(void *alignedPointer)
Definition: gcc.cpp:93
void * rtl_AllocateAligned(size_t size, size_t alignment)
Definition: gcc.cpp:66
#define T(string_literal)
Definition: secure_crt.cpp:77
std::shared_ptr< T > DummySharedPtr(T *ptr)
Definition: shared_ptr.h:38
static Status AllocateAligned(std::shared_ptr< T > &p, size_t size, size_t alignment=cacheLineSize)
Definition: shared_ptr.h:66
std::shared_ptr< u8 > Allocate(size_t size)
Definition: shared_ptr.cpp:55
#define WARN_RETURN(status)
Definition: status.h:257
i64 Status
Error handling system.
Definition: status.h:173
Definition: shared_ptr.h:57
void operator()(T *t)
Definition: shared_ptr.h:59
Definition: shared_ptr.h:44
void operator()(T *p)
Definition: shared_ptr.h:46
Definition: shared_ptr.h:30
void operator()(T *)
Definition: shared_ptr.h:32