MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / boolConfigRewrite

Function boolConfigRewrite

src/config.cpp:2052–2054  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2050}
2051
2052static void boolConfigRewrite(typeData data, const char *name, struct rewriteConfigState *state) {
2053 rewriteConfigYesNoOption(state, name,*(data.yesno.config), data.yesno.default_value);
2054}
2055
2056constexpr standardConfig createBoolConfig(const char *name, const char *alias, unsigned flags, int &config_addr, int defaultValue, int (*is_valid)(int val, const char **err), int (*update)(int val, int prev, const char **err))
2057{

Callers

nothing calls this directly

Calls 1

rewriteConfigYesNoOptionFunction · 0.85

Tested by

no test coverage detected