MCPcopy Create free account
hub / github.com/KebsCS/KBotExt / GetSpan

Method GetSpan

KBotExt/imgui/imgui_internal.h:641–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

639 inline void* GetSpanPtrEnd(int n) { IM_ASSERT(n >= 0 && n < CHUNKS && CurrIdx == CHUNKS); return (void*)(BasePtr + Offsets[n] + Sizes[n]); }
640 template<typename T>
641 inline void GetSpan(int n, ImSpan<T>* span) { span->set((T*)GetSpanPtrBegin(n), (T*)GetSpanPtrEnd(n)); }
642};
643
644// Helper: ImPool<>

Callers 1

TableBeginInitMemoryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected