summaryrefslogtreecommitdiffstats
path: root/src/common/memory_util.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/common/memory_util.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/memory_util.h b/src/common/memory_util.h
index 9bf37c44f..76ca5a30c 100644
--- a/src/common/memory_util.h
+++ b/src/common/memory_util.h
@@ -10,10 +10,12 @@
void* AllocateExecutableMemory(size_t size, bool low = true);
void* AllocateMemoryPages(size_t size);
void FreeMemoryPages(void* ptr, size_t size);
-void* AllocateAlignedMemory(size_t size,size_t alignment);
+void* AllocateAlignedMemory(size_t size, size_t alignment);
void FreeAlignedMemory(void* ptr);
void WriteProtectMemory(void* ptr, size_t size, bool executable = false);
void UnWriteProtectMemory(void* ptr, size_t size, bool allowExecute = false);
std::string MemUsage();
-inline int GetPageSize() { return 4096; }
+inline int GetPageSize() {
+ return 4096;
+}