Skip to content

Conversation

@AsparagusEduardo
Copy link
Contributor

@AsparagusEduardo AsparagusEduardo commented Dec 23, 2025

I previously forgot to make a PR to sync heap functions for pokediamond. This PR accounts for it, while also syncing the contents of the heap.c/heap.h files themselves:

  • Renamed instances of heapId to heapID.
  • Changed functions:
    pokeplatinum                       | PR                          | pokeheartgold
                                       |                             |
    Heap_InitSystem                    | Heap_InitSystem             | InitHeapSystem
    Heap_Create                        | Heap_Create                 | CreateHeap
    Heap_CreateAtEnd                   | Heap_CreateAtEnd            | CreateHeapAtEnd
    Heap_Destroy                       | Heap_Destroy                | DestroyHeap
    Heap_AllocFromHeap                 | Heap_Alloc                  | AllocFromHeap
    Heap_AllocFromHeapAtEnd            | Heap_AllocAtEnd             | AllocFromHeapAtEnd
    Heap_FndGetTotalFreeSizeForExpHeap | HeapExp_FndGetTotalFreeSize | GF_ExpHeap_FndGetTotalFreeSize
    Heap_FndInitAllocatorForExpHeap    | HeapExp_FndInitAllocator    | GF_ExpHeap_FndInitAllocator
    Heap_ReallocFromHeap               | Heap_Realloc                | ReallocFromHeap
    Heap_FreeToHeap                    | Heap_Free                   | FreeToHeap         
    Heap_FreeToHeapExplicit            | Heap_FreeExplicit           | FreeToHeapExplicit 
    

Matching PRs:

@red031000 red031000 merged commit 038ccca into pret:master Dec 24, 2025
1 check passed
@AsparagusEduardo AsparagusEduardo deleted the pret/pr/sinjoh/heap2 branch December 24, 2025 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants