TeX in C
Explore TeX with modern c compiler.
tex_types.h 文件参考
#include <stdbool.h>
#include <stdint.h>
#include <stddef.h>
tex_types.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

结构体

struct  TwoHalves
 [p43#113]: TwoHalves(64) . 更多...
 
struct  FourQuarters
 [p43#113]: FourQuarters(64) . 更多...
 
union  MemoryWord
 [p43#113]: MemoryWord(64) . 更多...
 

宏定义

#define INC_TEX_TYPES
 tex 相关的类型 更多...
 

类型定义

typedef bool Boolean
 布尔类型定义 更多...
 
typedef double Real
 Real::double(64) . 更多...
 
typedef uint8_t UChar
 UChar(8) = [0, 255] 更多...
 
typedef UChar Char
 Char(8) = [0, 255] 更多...
 
typedef int8_t SChar
 SChar(8) = [−127, +127] 更多...
 
typedef int64_t Integer
 Integer(64) = \( [−2^{64}, 2^{64}) \) 更多...
 
typedef uint64_t UInteger
 UInteger(64) = \( [0, 2^{64}) \) . 更多...
 
typedef size_t Pointer
 Pointer::size_t(64), a flag or a location in mem or eqtb. 更多...
 
typedef int16_t Int16
 Int16(16) = \( [-2^{15}, 2^{15}) \) 更多...
 
typedef uint16_t UInt16
 UInt16(16) = \( [0, 2^{16}) \) = [0, 65536) 更多...
 
typedef UChar EightBits
 [#25]: EightBits::UChar(8) = [0, 255] 更多...
 
typedef UChar PackedASCIICode
 #38: PackedASCIICode::UChar(8) = [0, 255] 更多...
 
typedef Integer Scaled
 [p38#101]: Scaled::Integer(64) = \( [−2^{64}, 2^{64}) \) we need Pascal's Integer(32/64), dependent upon the bit size of the target machine . 更多...
 
typedef UInteger NonNegativeInteger
 [p38#101]: NonNegativeInteger::UInteger(64) = \( [0, 2^{64}) \) only need: (31bit)[0, 2^31) . 更多...
 
typedef UChar SmallNumber
 [p38#101]: SmallNumber::UChar(8) = [0, 255] only need: (6bit)[0, 63] . 更多...
 
typedef Real GlueRatio
 one-word representation of a glue expansion factor. 更多...
 
typedef uint16_t QuarterWord
 [p43#113]: QuarterWord(8=>16) . 更多...
 
typedef uint32_t HalfWord
 [p43#113]: HalfWord(16=>32) . 更多...
 
typedef UChar GlueOrd
 INFINITY to the 0, 1, 2, or 3 power. 更多...
 
typedef UChar GroupCode
 #269: GroupCode(8) save level for a level boundary. 更多...
 
typedef Pointer TriePointer
 an index into trie; [0, TRIE_SIZE=131000]. 更多...
 
typedef Pointer HyphPointer
 an index into the ordered hash table; [0, HYPH_SIZE=307]. 更多...
 

宏定义说明

◆ INC_TEX_TYPES

#define INC_TEX_TYPES

tex 相关的类型

类型定义说明

◆ Boolean

typedef bool Boolean

布尔类型定义

◆ Char

typedef UChar Char

Char(8) = [0, 255]

◆ GlueOrd

typedef UChar GlueOrd

INFINITY to the 0, 1, 2, or 3 power.

only need: [normal, filll] = [0, 3]

◆ GlueRatio

typedef Real GlueRatio

one-word representation of a glue expansion factor.

◆ GroupCode

typedef UChar GroupCode

#269: GroupCode(8) save level for a level boundary.

only need [0, MAX_GROUP_CODE] = [0, 16]

◆ HyphPointer

an index into the ordered hash table; [0, HYPH_SIZE=307].

◆ Int16

typedef int16_t Int16

Int16(16) = \( [-2^{15}, 2^{15}) \)

◆ Integer

typedef int64_t Integer

Integer(64) = \( [−2^{64}, 2^{64}) \)

◆ NonNegativeInteger

[p38#101]: NonNegativeInteger::UInteger(64) = \( [0, 2^{64}) \) only need: (31bit)[0, 2^31) .

◆ PackedASCIICode

#38: PackedASCIICode::UChar(8) = [0, 255]

◆ Pointer

typedef size_t Pointer

Pointer::size_t(64), a flag or a location in mem or eqtb.

◆ Real

typedef double Real

Real::double(64) .

◆ Scaled

typedef Integer Scaled

[p38#101]: Scaled::Integer(64) = \( [−2^{64}, 2^{64}) \) we need Pascal's Integer(32/64), dependent upon the bit size of the target machine .

◆ SChar

typedef int8_t SChar

SChar(8) = [−127, +127]

◆ SmallNumber

typedef UChar SmallNumber

[p38#101]: SmallNumber::UChar(8) = [0, 255] only need: (6bit)[0, 63] .

◆ TriePointer

an index into trie; [0, TRIE_SIZE=131000].

◆ UChar

typedef uint8_t UChar

UChar(8) = [0, 255]

◆ UInt16

typedef uint16_t UInt16

UInt16(16) = \( [0, 2^{16}) \) = [0, 65536)

◆ UInteger

typedef uint64_t UInteger

UInteger(64) = \( [0, 2^{64}) \) .