Fix prefix for 2 nesting level functions.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@3787 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2009-05-12 15:16:23 +00:00
parent 76a366902c
commit 7b53cf05aa
4 changed files with 8 additions and 8 deletions

View File

@ -22,13 +22,13 @@
* FUNCTION DEFINITIONS
*/
extern NestingLevels *newNestingLevels(void)
extern NestingLevels *nestingLevelsNew(void)
{
NestingLevels *nls = xCalloc (1, NestingLevels);
return nls;
}
extern void freeNestingLevels(NestingLevels *nls)
extern void nestingLevelsFree(NestingLevels *nls)
{
int i;
for (i = 0; i < nls->allocated; i++)

View File

@ -42,8 +42,8 @@ struct NestingLevels
/*
* FUNCTION PROTOTYPES
*/
extern NestingLevels *newNestingLevels(void);
extern void freeNestingLevels(NestingLevels *nls);
extern NestingLevels *nestingLevelsNew(void);
extern void nestingLevelsFree(NestingLevels *nls);
extern void nestingLevelsPush(NestingLevels *nls,
const vString *name, int type);
extern void nestingLevelsPop(NestingLevels *nls);

View File

@ -432,7 +432,7 @@ static void findPythonTags (void)
vString *const name = vStringNew ();
vString *const parent = vStringNew();
NestingLevels *const nesting_levels = newNestingLevels();
NestingLevels *const nesting_levels = nestingLevelsNew();
const char *line;
int line_skip = 0;
@ -549,7 +549,7 @@ static void findPythonTags (void)
vStringDelete (parent);
vStringDelete (name);
vStringDelete (continuation);
freeNestingLevels (nesting_levels);
nestingLevelsFree (nesting_levels);
}
extern parserDefinition *PythonParser (void)

View File

@ -130,7 +130,7 @@ static void findRestTags (void)
const unsigned char *line;
memset(kindchars, 0, sizeof kindchars);
nestingLevels = newNestingLevels();
nestingLevels = nestingLevelsNew();
while ((line = fileReadLine ()) != NULL)
{
@ -156,7 +156,7 @@ static void findRestTags (void)
vStringTerminate(name);
}
vStringDelete (name);
freeNestingLevels(nestingLevels);
nestingLevelsFree(nestingLevels);
}
extern parserDefinition* RestParser (void)