MCPcopy Create free account
hub / github.com/NanoMichael/MicroTeX / addRenewCommand

Method addRenewCommand

src/core/macro.cpp:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void NewCommandMacro::addRenewCommand(
48 const wstring& name, const wstring& code, int nbargs) throw(ex_parse) {
49 checkRenew(name);
50 _macrocode[name] = code;
51 MacroInfo::addMacro(name, new InflationMacroInfo(_instance, nbargs));
52}
53
54void NewCommandMacro::addRenewCommand(
55 const wstring& name,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected