summaryrefslogtreecommitdiffhomepage
path: root/include/CompilerKit/MachO.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-24 17:11:15 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-24 17:25:33 +0100
commit34e82c2ecbbdc0aa3e9bc9937b8187580952ed11 (patch)
treefe17e055c7d6cc8016dcd722fd3f244362153b83 /include/CompilerKit/MachO.h
parent97868f338a02ad5acd8049f0ba0474d330e11877 (diff)
chore: wip: Inner calls (aka stubs in Nectar)
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/CompilerKit/MachO.h')
-rw-r--r--include/CompilerKit/MachO.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/CompilerKit/MachO.h b/include/CompilerKit/MachO.h
index 1b6282d..a9276f1 100644
--- a/include/CompilerKit/MachO.h
+++ b/include/CompilerKit/MachO.h
@@ -35,7 +35,9 @@ namespace MachO {
constexpr uint32_t kSectionAlign = 4;
/// @brief Helper to align a value to page boundary
- inline uint64_t AlignToPage(uint64_t value) { return (value + kPageSize - 1) & ~(kPageSize - 1); }
+ inline uint64_t AlignToPage(uint64_t value) {
+ return (value + kPageSize - 1) & ~(kPageSize - 1);
+ }
/// @brief Helper to copy segment/section name safely
inline void CopySegmentName(char* dest, const char* src) {