mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Replace RGBLINK non-null pointers with references
This commit is contained in:
@@ -58,13 +58,13 @@ struct Section {
|
||||
* This is to avoid exposing the data structure in which sections are stored.
|
||||
* @param callback The function to call for each structure.
|
||||
*/
|
||||
void sect_ForEach(void (*callback)(Section *));
|
||||
void sect_ForEach(void (*callback)(Section &));
|
||||
|
||||
/*
|
||||
* Registers a section to be processed.
|
||||
* @param section The section to register.
|
||||
*/
|
||||
void sect_AddSection(Section *section);
|
||||
void sect_AddSection(Section §ion);
|
||||
|
||||
/*
|
||||
* Finds a section by its name.
|
||||
|
||||
Reference in New Issue
Block a user