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

Function convert

plugins/devel/memview.cpp:45–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 return CR_OK;
44}
45size_t convert(const std::string& p,bool ishex=false)
46{
47 size_t ret;
48 std::stringstream conv;
49 if(ishex)
50 conv<<std::hex;
51 conv<<p;
52 conv>>ret;
53 return ret;
54}
55bool isAddr(void *trg, vector<t_memrange> &ranges)
56{
57 for (auto &r : ranges)

Callers 1

memviewFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected