about summary refs log tree commit diff stats
path: root/src/custommem.c
diff options
context:
space:
mode:
authorChi-Kuan Chiu <105687635+devarajabc@users.noreply.github.com>2025-06-09 14:16:43 +0800
committerGitHub <noreply@github.com>2025-06-09 08:16:43 +0200
commitcaba957426f5a93a1e4d6db5a9894708b1ed71b8 (patch)
tree44d92980ab14d398516fcfb2967492f2271a8318 /src/custommem.c
parent873be3cf879e3635a996bcdc34b3e3a6c15969a0 (diff)
downloadbox64-caba957426f5a93a1e4d6db5a9894708b1ed71b8.tar.gz
box64-caba957426f5a93a1e4d6db5a9894708b1ed71b8.zip
Refine the naming scheme in rbtree (#2717)
Replaced all occurrences of `rb_get_righter` with `rb_get_rightmost` and
`rb_get_lefter` with `rb_get_leftmost` for improved semantic clarity.

Also updated related function declarations, definitions, and usage
across:
- rbtree.c
- rbtree.h
- custommem.c
- dynablock.c
- env.c
- box64context.c
Diffstat (limited to 'src/custommem.c')
-rw-r--r--src/custommem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/custommem.c b/src/custommem.c
index 96e1130e..84cf8cc1 100644
--- a/src/custommem.c
+++ b/src/custommem.c
@@ -604,7 +604,7 @@ void* map128_customMalloc(size_t size, int is32bits)
             testAllBlocks();
             if(BOX64ENV(log)>=LOG_DEBUG) {
                 printf_log(LOG_NONE, "Used 32bits address space map:\n");
-                uintptr_t addr = rb_get_lefter(mapallmem);
+                uintptr_t addr = rb_get_leftmost(mapallmem);
                 while(addr<0x100000000LL) {
                     uintptr_t bend;
                     uint32_t val;
@@ -715,7 +715,7 @@ void* internal_customMalloc(size_t size, int is32bits)
             testAllBlocks();
             if(BOX64ENV(log)>=LOG_DEBUG) {
                 printf_log(LOG_NONE, "Used 32bits address space map:\n");
-                uintptr_t addr = rb_get_lefter(mapallmem);
+                uintptr_t addr = rb_get_leftmost(mapallmem);
                 while(addr<0x100000000LL) {
                     uintptr_t bend;
                     uint32_t val;