Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int x;
- Heads=realloc(Heads, TABLESIZE * sizeof(struct HTLink));
- S=realloc(S, TABLESIZE * sizeof(HTHash));
- for(x=TABLESIZE;x<TABLESIZE*2;x++)
- {
- S[x]=(HTNode *)malloc(sizeof(HTNode));
- S[x]->Key=EmptyKey;
- S[x]->Next=NULL;
- Heads[x]=*S[x];
- }
- TABLESIZE*=2;
- return S;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement