MCPcopy Create free account
hub / github.com/DFHack/dfhack / ClearExtension

Method ClearExtension

depends/protobuf/google/protobuf/extension_set.cc:201–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201void ExtensionSet::ClearExtension(int number) {
202 map<int, Extension>::iterator iter = extensions_.find(number);
203 if (iter == extensions_.end()) return;
204 iter->second.Clear();
205}
206
207// ===================================================================
208// Field accessors

Callers 2

TESTFunction · 0.80
ClearFieldMethod · 0.80

Calls 3

findMethod · 0.45
endMethod · 0.45
ClearMethod · 0.45

Tested by 1

TESTFunction · 0.64