w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

alloca.c File Reference

Go to the source code of this file.

Classes

union  hdr
 

Macros

#define ADDRESS_FUNCTION(arg)   &(arg)
 
#define NULL   0
 
#define malloc   xmalloc
 
#define STACK_DIRECTION   0 /* Direction unknown. */
 
#define STACK_DIR   stack_dir
 
#define ALIGN_SIZE   sizeof(double)
 

Typedefs

typedef char * pointer
 
typedef union hdr header
 

Functions

pointer xmalloc ()
 
static void find_stack_direction ()
 
pointer alloca (unsigned size)
 

Variables

static int stack_dir
 
static headerlast_alloca_header = 0
 

Macro Definition Documentation

◆ ADDRESS_FUNCTION

#define ADDRESS_FUNCTION (   arg)    &(arg)

Definition at line 67 of file alloca.c.

◆ ALIGN_SIZE

#define ALIGN_SIZE   sizeof(double)

Definition at line 148 of file alloca.c.

◆ malloc

#define malloc   xmalloc

Definition at line 91 of file alloca.c.

◆ NULL

#define NULL   0

Definition at line 77 of file alloca.c.

◆ STACK_DIR

#define STACK_DIR   stack_dir

Definition at line 114 of file alloca.c.

◆ STACK_DIRECTION

#define STACK_DIRECTION   0 /* Direction unknown. */

Definition at line 104 of file alloca.c.

Typedef Documentation

◆ header

Definition at line 291 of file pbmtomacp.c.

◆ pointer

typedef char* pointer

Definition at line 73 of file alloca.c.

Function Documentation

◆ alloca()

pointer alloca ( unsigned  size)

◆ find_stack_direction()

static void find_stack_direction ( )
static

Definition at line 117 of file alloca.c.

References ADDRESS_FUNCTION, dummy, NULL, and stack_dir.

Referenced by alloca().

◆ xmalloc()

pointer xmalloc ( )

Variable Documentation

◆ last_alloca_header

header* last_alloca_header = 0
static

Definition at line 161 of file alloca.c.

Referenced by alloca().

◆ stack_dir

int stack_dir
static

Definition at line 113 of file alloca.c.

Referenced by find_stack_direction().