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

Function shortcutCreate

source/parsing/shortcut.cpp:56–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56Result shortcutCreate(shortcut_s* s, const char* path)
57{
58 memset(s, 0, sizeof(*s));
59 Result res = shortcutLoad(s, path);
60 if (R_FAILED(res))
61 shortcutFree(s);
62 return res;
63}
64
65void shortcutFree(shortcut_s* s)
66{

Callers 1

menuEntryLoadFunction · 0.85

Calls 2

shortcutLoadFunction · 0.85
shortcutFreeFunction · 0.85

Tested by

no test coverage detected