Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
ioforge_new.hpp
Go to the documentation of this file.
1#ifndef __IOFORGE__IOFORGE_NEW_HPP__
2#define __IOFORGE__IOFORGE_NEW_HPP__
3
4#include <type.h>
5
6inline void* operator new(size_t, void* ptr) noexcept {
7 return ptr;
8}
9inline void* operator new[](size_t, void* ptr) noexcept {
10 return ptr;
11}
12inline void operator delete(void*, void*) noexcept {
13}
14inline void operator delete[](void*, void*) noexcept {
15}
16
17#endif // __IOFORGE__IOFORGE_NEW_HPP__
unsigned long size_t
Definition type.h:55
uint64_t ptr
Definition xhci.hpp:0