Kaydet (Commit) 7b53cf05 authored tarafından Nick Treleaven's avatar Nick Treleaven

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
üst 76a36690
......@@ -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++)
......
......@@ -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);
......
......@@ -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)
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment