diff options
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-09-18 09:38:01 +0900 |
---|---|---|
committer | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2016-09-18 09:38:01 +0900 |
commit | dc8479928c5aee4c6ad6fe4f59006fb604cee701 (patch) | |
tree | 569a7f13128450bbab973236615587ff00bced5f /src/common/memory_util.h | |
parent | fe948af0952d7badacbce62a8e35a3a1421245ba (diff) |
Sources: Run clang-format on everything.
Diffstat (limited to 'src/common/memory_util.h')
-rw-r--r-- | src/common/memory_util.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/memory_util.h b/src/common/memory_util.h index 9bf37c44fd..76ca5a30c8 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; +} |