New placement header
This commit is contained in:
parent
f52b351cac
commit
aaa08e4495
18 changed files with 28 additions and 4 deletions
|
|
@ -11,9 +11,6 @@ namespace tp {
|
|||
extern ModuleManifest gModuleAllocators;
|
||||
}
|
||||
|
||||
inline void* operator new(std::size_t aSize, void* aWhere) noexcept { return aWhere; }
|
||||
inline void* operator new[](std::size_t aSize, void* aWhere) noexcept { return aWhere; }
|
||||
|
||||
void* operator new(std::size_t aSize);
|
||||
void* operator new[](std::size_t aSize);
|
||||
void operator delete(void* aPtr) noexcept;
|
||||
|
|
|
|||
6
Allocators/public/NewPlacement.hpp
Normal file
6
Allocators/public/NewPlacement.hpp
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "Common.hpp"
|
||||
|
||||
inline void* operator new(std::size_t aSize, void* aWhere) noexcept { return aWhere; }
|
||||
inline void* operator new[](std::size_t aSize, void* aWhere) noexcept { return aWhere; }
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "CmdLineInterpreter.hpp"
|
||||
|
||||
#define MAX_LINE_LENGTH 1024
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "CommandLine.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "Tests.hpp"
|
||||
|
||||
using namespace tp;
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "Tests.hpp"
|
||||
#include "CmdLineInterpreter.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "Tests.hpp"
|
||||
|
||||
|
||||
int main() {
|
||||
|
||||
tp::ModuleManifest* deps[] = { &tp::gModuleUtils, &tp::gModuleTokenizer, nullptr };
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "LocalConnection.hpp"
|
||||
|
||||
#include "bindings/Disk.hpp"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
|
||||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "LocalConnection.hpp"
|
||||
#include "Testing.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "Tests.hpp"
|
||||
#include "Testing.hpp"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "Tests.hpp"
|
||||
#include "Buffer.hpp"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "Tests.hpp"
|
||||
#include "Testing.hpp"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "Tests.hpp"
|
||||
#include "Testing.hpp"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "Tests.hpp"
|
||||
#include "Tree.hpp"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "Logging.hpp"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "Tests.hpp"
|
||||
#include "Strings.hpp"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "Tests.hpp"
|
||||
#include "StringLogic.hpp"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
#include "NewPlacement.hpp"
|
||||
|
||||
#include "Testing.hpp"
|
||||
#include "Tokenizer.hpp"
|
||||
#include <cstdio>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue