regcustom.h File Reference

#include "tclInt.h"
#include "regex.h"

Go to the source code of this file.

Defines

#define FUNCPTR(name, args)   (*name)args
#define MALLOC(n)   ckalloc(n)
#define FREE(p)   ckfree(VS(p))
#define REALLOC(p, n)   ckrealloc(VS(p),n)
#define __REG_WIDE_T   Tcl_UniChar
#define __REG_REGOFF_T   long
#define __REG_VOID_T   void
#define __REG_CONST   const
#define __REG_WIDE_COMPILE   TclReComp
#define __REG_WIDE_EXEC   TclReExec
#define __REG_NOFRONT
#define __REG_NOCHAR
#define regfree   TclReFree
#define regerror   TclReError
#define NOCELT   (-1)
#define CHR(c)   (UCHAR(c))
#define DIGITVAL(c)   ((c)-'0')
#define CHRBITS   16
#define CHR_MIN   0x0000
#define CHR_MAX   0xffff
#define iscalnum(x)   Tcl_UniCharIsAlnum(x)
#define iscalpha(x)   Tcl_UniCharIsAlpha(x)
#define iscdigit(x)   Tcl_UniCharIsDigit(x)
#define iscspace(x)   Tcl_UniCharIsSpace(x)
#define compile   TclReComp
#define exec   TclReExec
#define AllocVars(vPtr)

Typedefs

typedef Tcl_UniChar chr
typedef int pchr
typedef unsigned uchr
typedef int celt


Define Documentation

#define __REG_CONST   const

Definition at line 79 of file regcustom.h.

#define __REG_NOCHAR

Definition at line 84 of file regcustom.h.

#define __REG_NOFRONT

Definition at line 83 of file regcustom.h.

#define __REG_REGOFF_T   long

Definition at line 77 of file regcustom.h.

#define __REG_VOID_T   void

Definition at line 78 of file regcustom.h.

#define __REG_WIDE_COMPILE   TclReComp

Definition at line 81 of file regcustom.h.

#define __REG_WIDE_EXEC   TclReExec

Definition at line 82 of file regcustom.h.

#define __REG_WIDE_T   Tcl_UniChar

Definition at line 76 of file regcustom.h.

#define AllocVars ( vPtr   ) 

Value:

static Tcl_ThreadDataKey varsKey; \
    register struct vars *vPtr = (struct vars *) \
            Tcl_GetThreadData(&varsKey, sizeof(struct vars))

Definition at line 141 of file regcustom.h.

Referenced by compile(), and exec().

#define CHR (  )     (UCHAR(c))

Definition at line 98 of file regcustom.h.

#define CHR_MAX   0xffff

Definition at line 107 of file regcustom.h.

#define CHR_MIN   0x0000

Definition at line 106 of file regcustom.h.

#define CHRBITS   16

Definition at line 105 of file regcustom.h.

#define compile   TclReComp

Definition at line 123 of file regcustom.h.

Referenced by TclMakeEnsemble().

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

Definition at line 99 of file regcustom.h.

#define exec   TclReExec

Definition at line 124 of file regcustom.h.

#define FREE (  )     ckfree(VS(p))

Definition at line 41 of file regcustom.h.

Referenced by exec().

#define FUNCPTR ( name,
args   )     (*name)args

Definition at line 39 of file regcustom.h.

#define iscalnum (  )     Tcl_UniCharIsAlnum(x)

Definition at line 114 of file regcustom.h.

#define iscalpha (  )     Tcl_UniCharIsAlpha(x)

Definition at line 115 of file regcustom.h.

#define iscdigit (  )     Tcl_UniCharIsDigit(x)

Definition at line 116 of file regcustom.h.

#define iscspace (  )     Tcl_UniCharIsSpace(x)

Definition at line 117 of file regcustom.h.

#define MALLOC (  )     ckalloc(n)

Definition at line 40 of file regcustom.h.

Referenced by compile(), and exec().

#define NOCELT   (-1)

Definition at line 97 of file regcustom.h.

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

Definition at line 42 of file regcustom.h.

#define regerror   TclReError

Definition at line 86 of file regcustom.h.

#define regfree   TclReFree

Definition at line 85 of file regcustom.h.


Typedef Documentation

typedef int celt

Definition at line 96 of file regcustom.h.

typedef Tcl_UniChar chr

Definition at line 93 of file regcustom.h.

typedef int pchr

Definition at line 94 of file regcustom.h.

typedef unsigned uchr

Definition at line 95 of file regcustom.h.



Generated on Wed Mar 12 12:18:27 2008 by  doxygen 1.5.1