MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / create

Method create

Source/Utils/ini.hpp:154–165  ·  view source on GitHub ↗

Create a new section and select it

Source from the content-addressed store, hash-verified

152
153 //Create a new section and select it
154 bool create(const section_t section)
155 {
156 if (select(section))
157 return false;
158
159 current = new keys_t;
160 sections[section] = current;
161
162 reserveKeys(current);
163
164 return true;
165 }
166
167 //Select a section for performing operations
168 bool select(const section_t section)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected