MCPcopy Create free account
hub / github.com/VCVRack/Rack / json_array_foreach

Function json_array_foreach

src/library.cpp:326–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

324 size_t moduleIndex;
325 json_t* moduleSlugJ;
326 json_array_foreach(modulesJ, moduleIndex, moduleSlugJ) {
327 std::string moduleSlug = json_string_value(moduleSlugJ);
328 // Insert module in whitelist
329 pw.moduleSlugs.insert(moduleSlug);
330 }
331 }
332
333 settings::moduleWhitelist = moduleWhitelist;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected