The ..Entry functions from the hashtable module have been renamed.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5244 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -233,7 +233,7 @@ unsigned SP_Add (StringPool* P, const StrBuf* S)
|
|||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
/* Search for a matching entry in the hash table */
|
/* Search for a matching entry in the hash table */
|
||||||
StringPoolEntry* E = HT_FindEntry (&P->Tab, S);
|
StringPoolEntry* E = HT_Find (&P->Tab, S);
|
||||||
|
|
||||||
/* Did we find it? */
|
/* Did we find it? */
|
||||||
if (E != 0) {
|
if (E != 0) {
|
||||||
@@ -245,7 +245,7 @@ unsigned SP_Add (StringPool* P, const StrBuf* S)
|
|||||||
CollAppend (&P->Entries, E);
|
CollAppend (&P->Entries, E);
|
||||||
|
|
||||||
/* Insert the new entry into the hash table */
|
/* Insert the new entry into the hash table */
|
||||||
HT_InsertEntry (&P->Tab, E);
|
HT_Insert (&P->Tab, E);
|
||||||
|
|
||||||
/* Add up the string size */
|
/* Add up the string size */
|
||||||
P->TotalSize += SB_GetLen (&E->Buf);
|
P->TotalSize += SB_GetLen (&E->Buf);
|
||||||
@@ -280,7 +280,7 @@ unsigned SP_GetCount (const StringPool* P)
|
|||||||
/* Return the number of strings in the pool */
|
/* Return the number of strings in the pool */
|
||||||
{
|
{
|
||||||
return CollCount (&P->Entries);
|
return CollCount (&P->Entries);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user