Data Structures | Macros | Typedefs | Enumerations
pos.h File Reference
#include <limits.h>

Go to the source code of this file.

Data Structures

struct  pos_T
 
struct  lpos_T
 

Macros

#define PRIdLINENR   "ld"
 Format used to print values which have linenr_T type. More...
 
#define PRIdCOLNR   "d"
 Format used to print values which have colnr_T type. More...
 

Typedefs

typedef long linenr_T
 
typedef int colnr_T
 Column number type. More...
 

Enumerations

enum  { MAXLNUM = 0x7fffffff }
 Maximal (invalid) line number. More...
 
enum  { MAXCOL = INT_MAX }
 Maximal column number. More...
 
enum  { MINLNUM = 1 }
 
enum  { MINCOL = 1 }
 

Macro Definition Documentation

◆ PRIdCOLNR

#define PRIdCOLNR   "d"

Format used to print values which have colnr_T type.

◆ PRIdLINENR

#define PRIdLINENR   "ld"

Format used to print values which have linenr_T type.

Typedef Documentation

◆ colnr_T

typedef int colnr_T

Column number type.

◆ linenr_T

typedef long linenr_T

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Maximal (invalid) line number.

Enumerator
MAXLNUM 

◆ anonymous enum

anonymous enum

Maximal column number.

Enumerator
MAXCOL 

◆ anonymous enum

anonymous enum
Enumerator
MINLNUM 

◆ anonymous enum

anonymous enum
Enumerator
MINCOL