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

Method getEntries

library/include/Console.h:114–118  ·  view source on GitHub ↗

adds the current list of entries to the given vector

Source from the content-addressed store, hash-verified

112 }
113 /// adds the current list of entries to the given vector
114 void getEntries(std::vector<std::string> &entries)
115 {
116 for (auto &entry : history)
117 entries.push_back(entry);
118 }
119 private:
120 std::size_t capacity;
121 std::deque <std::string> history;

Callers 1

getCommandHistoryFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected