visual studio project updated
This commit is contained in:
parent
501ab9cd56
commit
009174ecfc
@ -30,7 +30,7 @@ uint16 Hashtable_height(Hashtable* ht) { return HT_HEIGHTS[ht->hein]; }
|
||||
void Hashtable_expand(Hashtable* ht){
|
||||
if(ht->hein>=HT_HEIN_MAX) throw(ERR_MAXLENGTH);
|
||||
|
||||
Autoarr(KVPair)** newrows=malloc(HT_HEIGHTS[++ht->hein]*sizeof(Autoarr(KVPair)));
|
||||
Autoarr(KVPair)** newrows=malloc(HT_HEIGHTS[++ht->hein]*sizeof(Autoarr(KVPair)*));
|
||||
for(uint16 i=0;i<HT_HEIGHTS[ht->hein];i++)
|
||||
newrows[i]=Autoarr_create(KVPair,ARR_BC,ARR_BL);
|
||||
|
||||
|
||||
@ -51,12 +51,12 @@ void ST_push(STNode* node_first, const char* key, Unitype value){
|
||||
while(*key){
|
||||
indexes3 i3=splitindex((uint8)*key);
|
||||
if(!node_last->branches){
|
||||
node_last->branches=(STNode****)malloc(8*sizeof(STNode*));
|
||||
node_last->branches=(STNode****)malloc(8*sizeof(STNode***));
|
||||
for(uint8 i=0;i<8;i++)
|
||||
node_last->branches[i]=(STNode***)NULL;
|
||||
}
|
||||
if(!node_last->branches[i3.n32]){
|
||||
node_last->branches[i3.n32]=(STNode***)malloc(8*sizeof(STNode*));
|
||||
node_last->branches[i3.n32]=(STNode***)malloc(8*sizeof(STNode**));
|
||||
for(uint8 i=0;i<8;i++)
|
||||
node_last->branches[i3.n32][i]=(STNode**)NULL;
|
||||
}
|
||||
|
||||
@ -204,7 +204,6 @@
|
||||
<ClInclude Include="Autoarr\Autoarr.h" />
|
||||
<ClInclude Include="Autoarr\Autoarr_declare.h" />
|
||||
<ClInclude Include="Autoarr\Autoarr_define.h" />
|
||||
<ClInclude Include="Autoarr\StringBuilder.h" />
|
||||
<ClInclude Include="base\base.h" />
|
||||
<ClInclude Include="base\errors.h" />
|
||||
<ClInclude Include="base\cptr.h" />
|
||||
@ -215,6 +214,8 @@
|
||||
<ClInclude Include="Hashtable\Hashtable.h" />
|
||||
<ClInclude Include="Hashtable\KeyValuePair.h" />
|
||||
<ClInclude Include="SearchTree\SearchTree.h" />
|
||||
<ClInclude Include="String\string.h" />
|
||||
<ClInclude Include="String\StringBuilder.h" />
|
||||
<ClInclude Include="tests\tests.h" />
|
||||
<ClInclude Include="tests\test_marshalling.h" />
|
||||
</ItemGroup>
|
||||
@ -222,9 +223,8 @@
|
||||
<ClCompile Include="Autoarr\Autoarr.c" />
|
||||
<ClCompile Include="Autoarr\Autoarr_KVPair_exported.c" />
|
||||
<ClCompile Include="Autoarr\Autoarr_Unitype_exported.c" />
|
||||
<ClCompile Include="Autoarr\StringBuilder.c" />
|
||||
<ClCompile Include="base\cptr.c" />
|
||||
<ClCompile Include="base\errors.c" />
|
||||
<ClCompile Include="base\mystr.c" />
|
||||
<ClCompile Include="base\types.c" />
|
||||
<ClCompile Include="DtsodParser\DtsodV24.c" />
|
||||
<ClCompile Include="DtsodParser\DtsodV24_deserialize.c" />
|
||||
@ -234,6 +234,8 @@
|
||||
<ClCompile Include="Hashtable\Hashtable.c" />
|
||||
<ClCompile Include="Hashtable\KeyValuePair.c" />
|
||||
<ClCompile Include="SearchTree\SearchTree.c" />
|
||||
<ClCompile Include="String\string.c" />
|
||||
<ClCompile Include="String\StringBuilder.c" />
|
||||
<ClCompile Include="tests\main.c" />
|
||||
<ClCompile Include="tests\test_autoarr.c" />
|
||||
<ClCompile Include="tests\test_dtsod.c" />
|
||||
|
||||
@ -63,6 +63,12 @@
|
||||
<ClInclude Include="tests\tests.h">
|
||||
<Filter>Файлы заголовков</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="String\string.h">
|
||||
<Filter>Файлы заголовков</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="String\StringBuilder.h">
|
||||
<Filter>Файлы заголовков</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="Autoarr\Autoarr.c">
|
||||
@ -134,5 +140,14 @@
|
||||
<ClCompile Include="tests\test_safethrow.c">
|
||||
<Filter>Исходные файлы</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="base\cptr.c">
|
||||
<Filter>Исходные файлы</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="String\string.c">
|
||||
<Filter>Исходные файлы</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="String\StringBuilder.c">
|
||||
<Filter>Исходные файлы</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
Loading…
Reference in New Issue
Block a user