MCPcopy Create free account
hub / github.com/devkitPro/3ds-hbmenu / _menuAddEntry

Function _menuAddEntry

source/menu-list.c:30–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30static void _menuAddEntry(menu_s* m, menuEntry_s* me)
31{
32 me->menu = m;
33 if (m->lastEntry)
34 {
35 m->lastEntry->next = me;
36 m->lastEntry = me;
37 } else
38 {
39 m->firstEntry = me;
40 m->lastEntry = me;
41 }
42 m->nEntries++;
43}
44
45static void _menuClear(menu_s* menu)
46{

Callers 2

menuFileAssocAddEntryFunction · 0.85
menuAddEntryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected