From 1bc83625c43afaa52119352024e6fcda514330bc Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Thu, 10 May 2012 20:37:50 -0700 Subject: [PATCH] Added getHandleAt function. --- include/bx/handlealloc.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/bx/handlealloc.h b/include/bx/handlealloc.h index cd6f54b..685b526 100644 --- a/include/bx/handlealloc.h +++ b/include/bx/handlealloc.h @@ -37,6 +37,11 @@ namespace bx return m_dense; } + uint16_t getHandleAt(uint16_t _at) const + { + return m_dense[_at]; + } + uint16_t getNumHandles() const { return m_numHandles;