23 #ifndef INCLUDED_ALLOCATORS_SHARED_PTR 24 #define INCLUDED_ALLOCATORS_SHARED_PTR 53 std::shared_ptr<u8>
Allocate(
size_t size);
75 #endif // #ifndef INCLUDED_ALLOCATORS_SHARED_PTR void * rtl_AllocateAligned(size_t size, size_t align)
Definition: gcc.cpp:66
std::shared_ptr< T > DummySharedPtr(T *ptr)
Definition: shared_ptr.h:38
const Status OK
Definition: status.h:384
Definition: shared_ptr.h:29
void operator()(T *t)
Definition: shared_ptr.h:59
std::shared_ptr< u8 > Allocate(size_t size)
Definition: shared_ptr.cpp:55
static Status AllocateAligned(std::shared_ptr< T > &p, size_t size, size_t alignment=cacheLineSize)
Definition: shared_ptr.h:66
i64 Status
Error handling system.
Definition: status.h:169
#define T(string_literal)
Definition: secure_crt.cpp:77
void operator()(T *)
Definition: shared_ptr.h:32
Definition: shared_ptr.h:56
#define WARN_RETURN(status)
Definition: status.h:253
void rtl_FreeAligned(void *alignedPointer)
Definition: gcc.cpp:93
void operator()(T *p)
Definition: shared_ptr.h:46
const Status NO_MEM
Definition: status.h:428
static const size_t cacheLineSize
Definition: alignment.h:73
Definition: shared_ptr.h:43