changeset 148 | 31ea0f8e3c99 |
parent 0 | a41df078684a |
--- a/kernel/eka/common/array.cpp Mon May 24 18:45:46 2010 +0100 +++ b/kernel/eka/common/array.cpp Thu Jun 10 11:48:01 2010 +0100 @@ -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 {