Skip to content

Commit

Permalink
feat: rip 'allocator'
Browse files Browse the repository at this point in the history
  • Loading branch information
Force67 committed Dec 28, 2021
1 parent 68e188b commit 2695f2f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Code/immersive_launcher/memory/RipAllocatorPool.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

// Deliberately in no namespace...

#include <cstdint>

extern char highrip[];
static char* globalPointer = &highrip[0];

void* RipAllocateN(size_t blockLength)
{
void *p = static_cast<void*>(globalPointer);
globalPointer += blockLength;
return p;
}
Empty file.

0 comments on commit 2695f2f

Please sign in to comment.