MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / reg

Function reg

src/command/command.cpp:35–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35void reg(std::unique_ptr<Command> cmd) {
36 auto name = cmd->name();
37 cmd_map.emplace(name, std::move(cmd));
38}
39
40void unreg(std::string_view name) {
41 cmd_map.erase(find_command(name));

Callers 14

LuaRegisterMethod · 0.85
init_videoFunction · 0.85
init_automationFunction · 0.85
init_recentFunction · 0.85
init_editFunction · 0.85
init_appFunction · 0.85
init_keyframeFunction · 0.85
init_gridFunction · 0.85
init_helpFunction · 0.85
init_timecodeFunction · 0.85
init_visual_toolsFunction · 0.85
init_audioFunction · 0.85

Calls 1

nameMethod · 0.45

Tested by

no test coverage detected