Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
Xbyak::Allocator Struct Reference

#include <xbyak.h>

Inheritance diagram for Xbyak::Allocator:

Public Member Functions

virtual uint8alloc (size_t size)
 
virtual void free (uint8 *p)
 
virtual ~Allocator ()
 
virtual bool useProtect () const
 

Detailed Description

Definition at line 309 of file xbyak.h.

Constructor & Destructor Documentation

◆ ~Allocator()

virtual Xbyak::Allocator::~Allocator ( )
inlinevirtual

Definition at line 312 of file xbyak.h.

312{}

Member Function Documentation

◆ alloc()

virtual uint8 * Xbyak::Allocator::alloc ( size_t size)
inlinevirtual

Reimplemented in MyAllocator.

Definition at line 310 of file xbyak.h.

310{ return reinterpret_cast<uint8*>(AlignedMalloc(size, inner::ALIGN_PAGE_SIZE)); }
void * AlignedMalloc(size_t size, size_t alignment)
Definition xbyak.h:254
unsigned char uint8
Here is the call graph for this function:

◆ free()

virtual void Xbyak::Allocator::free ( uint8 * p)
inlinevirtual

Reimplemented in MyAllocator.

Definition at line 311 of file xbyak.h.

311{ AlignedFree(p); }
const mie::Vuint & p
Definition bn.cpp:27
void AlignedFree(void *p)
Definition xbyak.h:267
Here is the call graph for this function:

◆ useProtect()

virtual bool Xbyak::Allocator::useProtect ( ) const
inlinevirtual

Definition at line 314 of file xbyak.h.

314{ return true; }

The documentation for this struct was generated from the following file: