|
gwenhywfar 5.12.0
|
#include "gwenbuild/parser/p_checkheaders.h"#include "gwenbuild/parser/parser.h"#include "gwenbuild/tools/trycompile.h"#include <gwenhywfar/debug.h>#include <ctype.h>
Go to the source code of this file.
Functions | |
| static int | _checkHeader (GWB_PROJECT *project, GWB_CONTEXT *currentContext, const char *header) |
| static void | _replacePointWithUnderscore (char *ptr) |
| static void | _setDefineHeaderExists (GWB_PROJECT *project, const char *header) |
| static void | _setVarHeaderExists (GWEN_DB_NODE *db, const char *header, int exists) |
| static void | _toUpperAndReplacePointWithUnderscore (char *ptr) |
| int | GWB_ParseCheckHeaders (GWB_PROJECT *project, GWB_CONTEXT *currentContext, GWEN_XMLNODE *xmlNode) |
|
static |
Definition at line 75 of file p_checkheaders.c.
References _setDefineHeaderExists(), _setVarHeaderExists(), DBG_INFO, GWB_Context_GetVars(), GWB_Tools_TryCompile(), GWEN_Buffer_AppendArgs(), GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), GWEN_Buffer_new(), and NULL.
Referenced by GWB_ParseCheckHeaders().


|
static |
Definition at line 146 of file p_checkheaders.c.
Referenced by _setVarHeaderExists().

|
static |
Definition at line 116 of file p_checkheaders.c.
References _toUpperAndReplacePointWithUnderscore(), GWB_Project_SetDefine(), GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), and GWEN_Buffer_new().
Referenced by _checkHeader().


|
static |
Definition at line 99 of file p_checkheaders.c.
References _replacePointWithUnderscore(), GWB_Parser_SetItemValue(), GWEN_Buffer_AppendString(), GWEN_Buffer_free(), GWEN_Buffer_GetStart(), and GWEN_Buffer_new().
Referenced by _checkHeader().


|
static |
Definition at line 131 of file p_checkheaders.c.
Referenced by _setDefineHeaderExists().

| int GWB_ParseCheckHeaders | ( | GWB_PROJECT * | project, |
| GWB_CONTEXT * | currentContext, | ||
| GWEN_XMLNODE * | xmlNode ) |
Definition at line 36 of file p_checkheaders.c.
References _checkHeader(), DBG_INFO, GWB_Context_GetVars(), GWB_Parser_ReadXmlDataIntoStringList(), GWEN_StringList_FirstEntry(), GWEN_StringList_free(), GWEN_StringListEntry_Data(), GWEN_StringListEntry_Next(), GWEN_XMLNode_ExpandProperties(), and NULL.
Referenced by _parseChildNodes().

