MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / _fetch_data

Method _fetch_data

src/core/object.cpp:104–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104wf::custom_data_t*wf::object_base_t::_fetch_data(std::string name)
105{
106 auto it = obase_priv->data.find(name);
107 if (it == obase_priv->data.end())
108 {
109 return nullptr;
110 }
111
112 return it->second.get();
113}
114
115wf::custom_data_t*wf::object_base_t::_fetch_erase(std::string name)
116{

Callers

nothing calls this directly

Calls 2

endMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected