Header And Logo

PostgreSQL
| The world's most advanced open source database.

Defines | Typedefs

regcustom.h File Reference

#include "postgres.h"
#include <ctype.h>
#include <limits.h>
#include "mb/pg_wchar.h"
#include "regex.h"
Include dependency graph for regcustom.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define FUNCPTR(name, args)   (*name) args
#define MALLOC(n)   malloc(n)
#define FREE(p)   free(VS(p))
#define REALLOC(p, n)   realloc(VS(p),n)
#define assert(x)   Assert(x)
#define NOCELT   (-1)
#define CHR(c)   ((unsigned char) (c))
#define DIGITVAL(c)   ((c)-'0')
#define CHRBITS   32
#define CHR_MIN   0x00000000
#define CHR_MAX   0xfffffffe
#define iscalnum(x)   pg_wc_isalnum(x)
#define iscalpha(x)   pg_wc_isalpha(x)
#define iscdigit(x)   pg_wc_isdigit(x)
#define iscspace(x)   pg_wc_isspace(x)

Typedefs

typedef pg_wchar chr
typedef unsigned uchr
typedef int celt

Define Documentation

#define assert (   x  )     Assert(x)

Definition at line 56 of file regcustom.h.

#define CHR (   c  )     ((unsigned char) (c))

Definition at line 64 of file regcustom.h.

Referenced by brenext(), element(), lexdigits(), lexescape(), newline(), next(), prefixes(), and skip().

#define CHR_MAX   0xfffffffe

Definition at line 68 of file regcustom.h.

Referenced by initcm().

#define CHR_MIN   0x00000000

Definition at line 67 of file regcustom.h.

Referenced by initcm().

#define CHRBITS   32

Definition at line 66 of file regcustom.h.

#define DIGITVAL (   c  )     ((c)-'0')

Definition at line 65 of file regcustom.h.

Referenced by brenext(), lexdigits(), and next().

#define FREE (   p  )     free(VS(p))
#define FUNCPTR (   name,
  args 
)    (*name) args

Definition at line 52 of file regcustom.h.

#define iscalnum (   x  )     pg_wc_isalnum(x)

Definition at line 71 of file regcustom.h.

Referenced by brenext(), lexescape(), and next().

#define iscalpha (   x  )     pg_wc_isalpha(x)

Definition at line 72 of file regcustom.h.

Referenced by lexescape(), and prefixes().

#define iscdigit (   x  )     pg_wc_isdigit(x)

Definition at line 73 of file regcustom.h.

Referenced by next().

#define iscspace (   x  )     pg_wc_isspace(x)

Definition at line 74 of file regcustom.h.

Referenced by skip().

#define MALLOC (   n  )     malloc(n)
#define NOCELT   (-1)

Definition at line 63 of file regcustom.h.

#define REALLOC (   p,
  n 
)    realloc(VS(p),n)

Definition at line 55 of file regcustom.h.

Referenced by moresubs(), newcolor(), and newlacon().


Typedef Documentation

typedef int celt

Definition at line 61 of file regcustom.h.

typedef pg_wchar chr

Definition at line 59 of file regcustom.h.

typedef unsigned uchr

Definition at line 60 of file regcustom.h.