GDB (xrefs)
Typedefs | Functions
/tmp/gdb-7.10/gdb/macroexp.h File Reference

Go to the source code of this file.

Typedefs

typedef struct macro_definition *( macro_lookup_ftype) (const char *name, void *baton)
 

Functions

char * macro_expand (const char *source, macro_lookup_ftype *lookup_func, void *lookup_func_baton)
 
char * macro_expand_once (const char *source, macro_lookup_ftype *lookup_func, void *lookup_func_baton)
 
char * macro_expand_next (const char **lexptr, macro_lookup_ftype *lookup_func, void *lookup_baton)
 
int macro_is_whitespace (int c)
 
int macro_is_identifier_nondigit (int c)
 
int macro_is_digit (int c)
 
char * macro_stringify (const char *str)
 

Typedef Documentation

typedef struct macro_definition*( macro_lookup_ftype) (const char *name, void *baton)

Definition at line 31 of file macroexp.h.

Function Documentation

char* macro_expand ( const char *  source,
macro_lookup_ftype lookup_func,
void *  lookup_func_baton 
)
char* macro_expand_next ( const char **  lexptr,
macro_lookup_ftype lookup_func,
void *  lookup_baton 
)
char* macro_expand_once ( const char *  source,
macro_lookup_ftype lookup_func,
void *  lookup_func_baton 
)

Definition at line 1433 of file macroexp.c.

References _, and error().

Referenced by macro_expand_once_command().

int macro_is_digit ( int  c)

Definition at line 197 of file macroexp.c.

Referenced by extract_identifier(), get_identifier(), and get_pp_number().

int macro_is_identifier_nondigit ( int  c)

Definition at line 204 of file macroexp.c.

Referenced by extract_identifier(), get_identifier(), and get_pp_number().

int macro_is_whitespace ( int  c)

Definition at line 186 of file macroexp.c.

Referenced by get_token(), skip_ws(), and stringify().

char* macro_stringify ( const char *  str)

Definition at line 702 of file macroexp.c.

References appendc(), free_buffer_return_text(), init_buffer(), len, and stringify().

Referenced by fixup_definition().