branch | RCL_3 |
changeset 39 | 2bb754abd467 |
parent 0 | a41df078684a |
--- a/kernel/eka/common/array.cpp Wed Jun 09 11:10:19 2010 +0300 +++ b/kernel/eka/common/array.cpp Mon Jun 21 17:12:14 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 {