feat(ui): add SystemUnregisterFunctions

This commit is contained in:
fallenoak committed 2026-01-26 16:37:50 -06:00
1 parent c0ec4aed44
commit 95a8f4287f
2 files changed
+8

No files matched your search

+6
View File
@@ -42,3 +42,9 @@ void SystemRegisterFunctions() {
FrameScript_RegisterFunction(func.name, func.method);
}
}
void SystemUnregisterFunctions() {
for (auto& func : s_SystemFunctions) {
FrameScript_UnregisterFunction(func.name);
}
}
+2
View File
@@ -3,4 +3,6 @@
void SystemRegisterFunctions();
void SystemUnregisterFunctions();
#endif