mirror of
https://github.com/gbdev/rgbds.git
synced 2026-10-04 03:05:36 +00:00
Use std::map for rgblink symbols and sections
This commit is contained in:
1 parent
d5de3fa111
commit
f44701c02d
7 files changed
+30
-49
No files matched your search
+2
-2
@@ -661,7 +661,7 @@ static void freeNode(struct FileStackNode *node)
|
||||
}
|
||||
}
|
||||
|
||||
static void freeSection(struct Section *section, void *)
|
||||
static void freeSection(struct Section *section)
|
||||
{
|
||||
do {
|
||||
struct Section *next = section->nextu;
|
||||
@@ -698,7 +698,7 @@ void obj_Cleanup(void)
|
||||
|
||||
sym_CleanupSymbols();
|
||||
|
||||
sect_ForEach(freeSection, NULL);
|
||||
sect_ForEach(freeSection);
|
||||
sect_CleanupSections();
|
||||
|
||||
for (struct SymbolList &list : symbolLists) {
|
||||
|
||||
Reference in new issue
Block a user