23 #ifndef INCLUDED_ALLOCATORS_SHARED_PTR 24 #define INCLUDED_ALLOCATORS_SHARED_PTR 53 LIB_API 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
const Status OK
Definition: status.h:386
Definition: shared_ptr.h:29
void operator()(T *t)
Definition: shared_ptr.h:59
LIB_API shared_ptr< u8 > Allocate(size_t size)
Definition: shared_ptr.cpp:55
i64 Status
Error handling system.
Definition: status.h:171
#define T(string_literal)
Definition: secure_crt.cpp:76
shared_ptr< T > DummySharedPtr(T *ptr)
Definition: shared_ptr.h:38
void operator()(T *)
Definition: shared_ptr.h:32
static Status AllocateAligned(shared_ptr< T > &p, size_t size, size_t alignment=cacheLineSize)
Definition: shared_ptr.h:66
Definition: shared_ptr.h:56
#define WARN_RETURN(status)
Definition: status.h:255
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:430
static const size_t cacheLineSize
Definition: alignment.h:73
Definition: shared_ptr.h:43