kernel/eka/common/array.cpp
changeset 200 73ea206103e6
parent 0 a41df078684a
--- a/kernel/eka/common/array.cpp	Fri Jun 11 15:02:23 2010 +0300
+++ b/kernel/eka/common/array.cpp	Wed Jun 23 19:44:53 2010 +0300
@@ -663,6 +663,12 @@
 	return iCount;
 	}
 
+EXPORT_C void RArrayBase::SetKeyOffset(TInt aKeyOffset)
+	{
+	__ASSERT_ALWAYS(TUint(aKeyOffset)<TUint(iEntrySize) && (aKeyOffset&3)==0, Panic(EBadArrayKeyOffset));
+	iKeyOffset = aKeyOffset;
+	}
+
 #ifndef __ARRAY_MACHINE_CODED__
 EXPORT_C TAny* RArrayBase::At(TInt anIndex) const
 	{