57void pp_print_status(
void)
119 char **include_path,
int include_path_count)
132 for(ccptr =
name; *ccptr; ccptr++)
147 if(
type && parent_name)
152 if ((
p =
strrchr( parent_name,
'/' )))
p++;
153 else p = parent_name;
172 for(
i = 0;
i < include_path_count;
i++)
342 memset( ppp, 0,
sizeof(*ppp) );
357 ppp->
next->prev = ppp;
401 memset( ppp, 0,
sizeof(*ppp) );
417 ppp->
next->prev = ppp;
451#if defined(_WIN32) || defined(__MSDOS__)
452#define INCLUDESEPARATOR ";"
454#define INCLUDESEPARATOR ":"
481 for(cptr =
dir; *cptr; cptr++)
527 if (newpath) *newpath =
path;
622 ppy_error(
"#{endif,else,elif} without #{if,ifdef,ifndef} (#if-stack underflow)");
693#ifdef WANT_NEAR_INDICATION
char * strcat(char *DstString, const char *SrcString)
int strcmp(const char *String1, const char *String2)
ACPI_SIZE strlen(const char *String)
char * strcpy(char *DstString, const char *SrcString)
char * strtok(char *String, const char *Delimiters)
char * strchr(const char *String, int ch)
int WINAPIV ppy_error(const char *msg,...)
int WINAPIV ppy_warning(const char *msg,...)
static void free_pp_entry(pp_entry_t *ppp, int idx)
static pp_if_state_t if_stack[MAXIFSTACK]
pp_entry_t * pp_add_define(const char *def, const char *text)
pp_if_state_t pp_if_state(void)
char * pp_xstrdup(const char *str)
int pp_get_if_depth(void)
struct pp_def_state pp_def_state_t
void * pp_open_include(const char *name, int type, const char *parent_name, char **newpath)
void * pp_xrealloc(void *p, size_t size)
void * pp_xmalloc(size_t size)
int pp_push_define_state(void)
void pp_next_if_state(int i)
static int pphash(const char *str)
void pp_push_if(pp_if_state_t s)
pp_entry_t * pplookup(const char *ident)
void pp_pop_define_state(void)
pp_if_state_t pp_pop_if(void)
pp_entry_t * pp_add_macro(char *id, marg_t *args[], int nargs, mtext_t *exp)
static pp_def_state_t * pp_def_state
void WINAPIV pp_internal_error(const char *file, int line, const char *s,...)
void pp_del_define(const char *name)
void pp_push_ignore_state(void)
void pp_pop_ignore_state(void)
includelogicentry_t * pp_includelogiclist
GLuint GLuint GLsizei GLenum type
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
_Check_return_opt_ _CRTIMP int __cdecl vfprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format, va_list _ArgList)
_Check_return_opt_ _CRTIMP size_t __cdecl fread(_Out_writes_bytes_(_ElementSize *_Count) void *_DstBuf, _In_ size_t _ElementSize, _In_ size_t _Count, _Inout_ FILE *_File)
_Check_return_ _CRTIMP FILE *__cdecl fopen(_In_z_ const char *_Filename, _In_z_ const char *_Mode)
_Check_return_opt_ _CRTIMP int __cdecl fclose(_Inout_ FILE *_File)
_Check_return_opt_ _CRTIMP size_t __cdecl fwrite(_In_reads_bytes_(_Size *_Count) const void *_Str, _In_ size_t _Size, _In_ size_t _Count, _Inout_ FILE *_File)
#define memcpy(s1, s2, n)
#define memmove(s1, s2, n)
static int sum(int x_, int y_)
_CRT_RESTORE_GCC_WARNINGS _CRT_DISABLE_GCC_WARNINGS _Check_return_ _CRTIMP _CONST_RETURN char *__cdecl strrchr(_In_z_ const char *_Str, _In_ int _Ch)
struct includelogicentry * next
struct includelogicentry * prev
struct pp_def_state * next
pp_entry_t * defines[HASHKEY]
includelogicentry_t * iep
union pp_entry::@240 subst
void(* warning)(const char *file, int line, int col, const char *near, const char *msg, va_list ap)
void *(* open)(const char *filename, int type)
char *(* lookup)(const char *filename, int type, const char *parent_name, char **include_path, int include_path_count)
void(* error)(const char *file, int line, int col, const char *near, const char *msg, va_list ap)
_In_ ULONG _In_ ULONG_PTR ident
void int int ULONGLONG int va_list * ap