MCPcopy Create free account
hub / github.com/Rezonality/zep / GetBufferFromHandle

Method GetBufferFromHandle

src/editor.cpp:1290–1300  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1288}
1289
1290ZepBuffer* ZepEditor::GetBufferFromHandle(uint64_t handle)
1291{
1292 for (auto& buffer : m_buffers)
1293 {
1294 if (uint64_t(buffer.get()) == handle)
1295 {
1296 return buffer.get();
1297 }
1298 }
1299 return nullptr;
1300}
1301
1302} // namespace Zep

Callers 1

FromHandleMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected