Revision: 3787 http://geany.svn.sourceforge.net/geany/?rev=3787&view=rev Author: ntrel Date: 2009-05-12 15:16:23 +0000 (Tue, 12 May 2009)
Log Message: ----------- Fix prefix for 2 nesting level functions.
Modified Paths: -------------- branches/unstable/tagmanager/nestlevel.c branches/unstable/tagmanager/nestlevel.h branches/unstable/tagmanager/python.c branches/unstable/tagmanager/rest.c
Modified: branches/unstable/tagmanager/nestlevel.c =================================================================== --- branches/unstable/tagmanager/nestlevel.c 2009-05-12 15:11:54 UTC (rev 3786) +++ branches/unstable/tagmanager/nestlevel.c 2009-05-12 15:16:23 UTC (rev 3787) @@ -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++)
Modified: branches/unstable/tagmanager/nestlevel.h =================================================================== --- branches/unstable/tagmanager/nestlevel.h 2009-05-12 15:11:54 UTC (rev 3786) +++ branches/unstable/tagmanager/nestlevel.h 2009-05-12 15:16:23 UTC (rev 3787) @@ -42,8 +42,8 @@ /* * 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);
Modified: branches/unstable/tagmanager/python.c =================================================================== --- branches/unstable/tagmanager/python.c 2009-05-12 15:11:54 UTC (rev 3786) +++ branches/unstable/tagmanager/python.c 2009-05-12 15:16:23 UTC (rev 3787) @@ -432,7 +432,7 @@ 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 @@ vStringDelete (parent); vStringDelete (name); vStringDelete (continuation); - freeNestingLevels (nesting_levels); + nestingLevelsFree (nesting_levels); }
extern parserDefinition *PythonParser (void)
Modified: branches/unstable/tagmanager/rest.c =================================================================== --- branches/unstable/tagmanager/rest.c 2009-05-12 15:11:54 UTC (rev 3786) +++ branches/unstable/tagmanager/rest.c 2009-05-12 15:16:23 UTC (rev 3787) @@ -130,7 +130,7 @@ const unsigned char *line;
memset(kindchars, 0, sizeof kindchars); - nestingLevels = newNestingLevels(); + nestingLevels = nestingLevelsNew();
while ((line = fileReadLine ()) != NULL) { @@ -156,7 +156,7 @@ vStringTerminate(name); } vStringDelete (name); - freeNestingLevels(nestingLevels); + nestingLevelsFree(nestingLevels); }
extern parserDefinition* RestParser (void)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.