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)  

obcommon.h File Reference
#include <stdint.h>
Include dependency graph for obcommon.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  dblbuf
 

Macros

#define EXTERN   extern
 
#define TRUE   1
 
#define FALSE   0
 
#define min(x, y)   ((x) <= (y) ? (x) : (y))
 
#define max(x, y)   ((x) <= (y) ? (y) : (x))
 
#define align(x, k)   (((x)+((k)-1)) & ~((k)-1))
 
#define align_byte(x)   (x)
 
#define align_short(x)   (x)
 
#define BP   0 /* Saved base pointer */
 
#define PC   1 /* Saved program counter */
 
#define CP   2 /* Saved context pointer */
 
#define SL   -1 /* Static link */
 
#define HEAD   3
 
#define FRAME_SHIFT   16 /* Shift for pointer map of stack frame */
 
#define CP_PRIM   0 /* Primitive address (64 bits) */
 
#define CP_CODE   1 /* Bytecode address */
 
#define CP_SIZE   2 /* Size of bytecode */
 
#define CP_FRAME   3 /* Frame size */
 
#define CP_STACK   4 /* Stack size */
 
#define CP_MAP   5 /* Frame map */
 
#define CP_STKMAP   6 /* Stack map table */
 
#define CP_CONST   7 /* First constant */
 
#define DESC_MAP   0 /* Pointer map */
 
#define DESC_DEPTH   1 /* Inheritance depth of record */
 
#define DESC_ANCES   2 /* Ancestor list of record */
 
#define DESC_BOUND   1 /* First bound for flex array */
 
#define GC_BASE   2
 
#define GC_REPEAT   6
 
#define GC_END   10
 
#define GC_MAP   14
 
#define GC_FLEX   18
 
#define GC_BLOCK   22
 
#define GC_MARK   26
 
#define GC_POINTER   30
 
#define E_CAST   1
 
#define E_ASSIGN   2
 
#define E_CASE   3
 
#define E_WITH   4
 
#define E_ASSERT   5
 
#define E_RETURN   6
 
#define E_BOUND   7
 
#define E_NULL   8
 
#define E_DIV   9
 
#define E_FDIV   10
 
#define E_STACK   11
 
#define E_GLOB   12
 

Typedefs

typedef unsigned char uchar
 
typedef int mybool
 
typedef int64_t longint
 

Macro Definition Documentation

◆ align

#define align (   x,
  k 
)    (((x)+((k)-1)) & ~((k)-1))

Definition at line 49 of file obcommon.h.

◆ align_byte

#define align_byte (   x)    (x)

Definition at line 55 of file obcommon.h.

◆ align_short

#define align_short (   x)    (x)

Definition at line 56 of file obcommon.h.

◆ BP

#define BP   0 /* Saved base pointer */

Definition at line 74 of file obcommon.h.

◆ CP

#define CP   2 /* Saved context pointer */

Definition at line 76 of file obcommon.h.

◆ CP_CODE

#define CP_CODE   1 /* Bytecode address */

Definition at line 83 of file obcommon.h.

◆ CP_CONST

#define CP_CONST   7 /* First constant */

Definition at line 89 of file obcommon.h.

◆ CP_FRAME

#define CP_FRAME   3 /* Frame size */

Definition at line 85 of file obcommon.h.

◆ CP_MAP

#define CP_MAP   5 /* Frame map */

Definition at line 87 of file obcommon.h.

◆ CP_PRIM

#define CP_PRIM   0 /* Primitive address (64 bits) */

Definition at line 82 of file obcommon.h.

◆ CP_SIZE

#define CP_SIZE   2 /* Size of bytecode */

Definition at line 84 of file obcommon.h.

◆ CP_STACK

#define CP_STACK   4 /* Stack size */

Definition at line 86 of file obcommon.h.

◆ CP_STKMAP

#define CP_STKMAP   6 /* Stack map table */

Definition at line 88 of file obcommon.h.

◆ DESC_ANCES

#define DESC_ANCES   2 /* Ancestor list of record */

Definition at line 94 of file obcommon.h.

◆ DESC_BOUND

#define DESC_BOUND   1 /* First bound for flex array */

Definition at line 95 of file obcommon.h.

◆ DESC_DEPTH

#define DESC_DEPTH   1 /* Inheritance depth of record */

Definition at line 93 of file obcommon.h.

◆ DESC_MAP

#define DESC_MAP   0 /* Pointer map */

Definition at line 92 of file obcommon.h.

◆ E_ASSERT

#define E_ASSERT   5

Definition at line 112 of file obcommon.h.

◆ E_ASSIGN

#define E_ASSIGN   2

Definition at line 109 of file obcommon.h.

◆ E_BOUND

#define E_BOUND   7

Definition at line 114 of file obcommon.h.

◆ E_CASE

#define E_CASE   3

Definition at line 110 of file obcommon.h.

◆ E_CAST

#define E_CAST   1

Definition at line 108 of file obcommon.h.

◆ E_DIV

#define E_DIV   9

Definition at line 116 of file obcommon.h.

◆ E_FDIV

#define E_FDIV   10

Definition at line 117 of file obcommon.h.

◆ E_GLOB

#define E_GLOB   12

Definition at line 119 of file obcommon.h.

◆ E_NULL

#define E_NULL   8

Definition at line 115 of file obcommon.h.

◆ E_RETURN

#define E_RETURN   6

Definition at line 113 of file obcommon.h.

◆ E_STACK

#define E_STACK   11

Definition at line 118 of file obcommon.h.

◆ E_WITH

#define E_WITH   4

Definition at line 111 of file obcommon.h.

◆ EXTERN

#define EXTERN (   void)    extern

Definition at line 32 of file obcommon.h.

◆ FALSE

#define FALSE   0

Definition at line 39 of file obcommon.h.

◆ FRAME_SHIFT

#define FRAME_SHIFT   16 /* Shift for pointer map of stack frame */

Definition at line 79 of file obcommon.h.

◆ GC_BASE

#define GC_BASE   2

Definition at line 98 of file obcommon.h.

◆ GC_BLOCK

#define GC_BLOCK   22

Definition at line 103 of file obcommon.h.

◆ GC_END

#define GC_END   10

Definition at line 100 of file obcommon.h.

◆ GC_FLEX

#define GC_FLEX   18

Definition at line 102 of file obcommon.h.

◆ GC_MAP

#define GC_MAP   14

Definition at line 101 of file obcommon.h.

◆ GC_MARK

#define GC_MARK   26

Definition at line 104 of file obcommon.h.

◆ GC_POINTER

#define GC_POINTER   30

Definition at line 105 of file obcommon.h.

◆ GC_REPEAT

#define GC_REPEAT   6

Definition at line 99 of file obcommon.h.

◆ HEAD

#define HEAD   3

Definition at line 78 of file obcommon.h.

◆ max

#define max (   x,
  y 
)    ((x) <= (y) ? (y) : (x))

Definition at line 46 of file obcommon.h.

◆ min

#define min (   x,
  y 
)    ((x) <= (y) ? (x) : (y))

Definition at line 42 of file obcommon.h.

◆ PC

#define PC   1 /* Saved program counter */

Definition at line 75 of file obcommon.h.

◆ SL

#define SL   -1 /* Static link */

Definition at line 77 of file obcommon.h.

◆ TRUE

#define TRUE   1

Definition at line 38 of file obcommon.h.

Typedef Documentation

◆ longint

typedef int64_t longint

Definition at line 61 of file obcommon.h.

◆ mybool

typedef int mybool

Definition at line 37 of file obcommon.h.

◆ uchar

typedef unsigned char uchar

Definition at line 35 of file obcommon.h.