mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +00:00
EOL fix
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
struct IGpAllocator
|
||||
{
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
|
||||
struct IGpAllocator
|
||||
{
|
||||
virtual void *Realloc(void *buf, size_t newSize) = 0;
|
||||
|
||||
inline void *Alloc(size_t size) { return this->Realloc(nullptr, size); }
|
||||
inline void Release(void *ptr) { this->Realloc(ptr, 0); }
|
||||
};
|
||||
inline void *Alloc(size_t size) { return this->Realloc(nullptr, size); }
|
||||
inline void Release(void *ptr) { this->Realloc(ptr, 0); }
|
||||
};
|
||||
|
Reference in New Issue
Block a user