The ...Entry functions from the hashtab module have been renamed.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5245 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz
2011-08-21 13:35:36 +00:00
parent 58ffb47250
commit 7fe0958b91
3 changed files with 9 additions and 9 deletions

View File

@@ -597,7 +597,7 @@ void MacUndef (const StrBuf* Name, unsigned char Style)
*/
{
/* Search for the macro */
Macro* M = HT_FindEntry (&MacroTab, Name);
Macro* M = HT_Find (&MacroTab, Name);
/* Don't let the user kid with us */
if (M == 0 || M->Style != Style) {
@@ -610,7 +610,7 @@ void MacUndef (const StrBuf* Name, unsigned char Style)
}
/* Remove the macro from the macro table */
HT_RemoveEntry (&MacroTab, M);
HT_Remove (&MacroTab, M);
/* Free the macro structure */
FreeMacro (M);
@@ -983,7 +983,7 @@ Macro* FindMacro (const StrBuf* Name)
* this name was found, return NULL.
*/
{
Macro* M = HT_FindEntry (&MacroTab, Name);
Macro* M = HT_Find (&MacroTab, Name);
return (M != 0 && M->Style == MAC_STYLE_CLASSIC)? M : 0;
}
@@ -1002,7 +1002,7 @@ Macro* FindDefine (const StrBuf* Name)
}
/* Check if we have such a macro */
M = HT_FindEntry (&MacroTab, Name);
M = HT_Find (&MacroTab, Name);
return (M != 0 && M->Style == MAC_STYLE_DEFINE)? M : 0;
}