GDB (xrefs)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
shared_macro_buffer Struct Reference

Public Member Functions

 shared_macro_buffer ()
 
 shared_macro_buffer (const char *addr, int len)
 
void set_shared (const char *addr, int len_)
 

Public Attributes

const char * text
 
int len
 
int last_token = -1
 
int is_identifier = 0
 

Detailed Description

Definition at line 33 of file macroexp.c.

Constructor & Destructor Documentation

◆ shared_macro_buffer() [1/2]

shared_macro_buffer::shared_macro_buffer ( )
inline

Definition at line 57 of file macroexp.c.

◆ shared_macro_buffer() [2/2]

shared_macro_buffer::shared_macro_buffer ( const char * addr,
int len )
inline

Definition at line 65 of file macroexp.c.

References len, and set_shared().

Member Function Documentation

◆ set_shared()

void shared_macro_buffer::set_shared ( const char * addr,
int len_ )
inline

Definition at line 72 of file macroexp.c.

References len, and text.

Referenced by append_tokens_without_splicing(), expand(), set_token(), and shared_macro_buffer().

Member Data Documentation

◆ is_identifier

int shared_macro_buffer::is_identifier = 0

Definition at line 55 of file macroexp.c.

Referenced by find_parameter(), get_identifier(), maybe_expand(), and set_token().

◆ last_token

int shared_macro_buffer::last_token = -1

Definition at line 51 of file macroexp.c.

Referenced by append_tokens_without_splicing(), gather_arguments(), and set_token().

◆ len

int shared_macro_buffer::len

◆ text

const char* shared_macro_buffer::text

The documentation for this struct was generated from the following file: