add llListSortStrided and osListSortInPlaceStrided

This commit is contained in:
UbitUmarov
2023-04-26 20:26:01 +01:00
parent f37071ba0c
commit 4c061a0602
7 changed files with 156 additions and 5 deletions

View File

@@ -1280,6 +1280,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
return m_LSL_Functions.llListSort(src, stride, ascending);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public LSL_List llListSortStrided(LSL_List src, int stride, int stride_index, int ascending)
{
return m_LSL_Functions.llListSortStrided(src, stride, stride_index, ascending);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public LSL_Float llListStatistics(int operation, LSL_List src)
{

View File

@@ -1636,6 +1636,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
m_OSSL_Functions.osListSortInPlace(src, stride, ascending);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public void osListSortInPlaceStrided(LSL_List src, LSL_Integer stride, LSL_Integer stride_index, LSL_Integer ascending)
{
m_OSSL_Functions.osListSortInPlaceStrided(src, stride, stride_index, ascending);
}
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public LSL_List osGetParcelDetails(LSL_Key id, LSL_List param)
{