DLTypes.h File Reference

#include <cmath>
#include <cstdio>

Go to the source code of this file.

Defines

#define dlSetarr(a, n, y, v)
#define dlRealloc(w, x, inc, y, z)

Typedefs

typedef unsigned char DL_BYTE
typedef short DL_SHORT
typedef unsigned char DL_UBYTE


Define Documentation

#define dlRealloc ( w,
x,
inc,
y,
 ) 

Value:

{ \
    x = x  + inc;  \
    w = (y *)realloc(w,x*sizeof(y)); \
    if (w == NULL) { \
    printf("Error. Out of memory - %s\n",z); \
    exit (0); \
    } \
}

Definition at line 21 of file DLTypes.h.

#define dlSetarr ( a,
n,
y,
 ) 

Value:

{ \
        y *p; \
        for(p=a;p<a+n;p++)*p = v; \
}

Definition at line 16 of file DLTypes.h.


Typedef Documentation

typedef unsigned char DL_BYTE

Definition at line 10 of file DLTypes.h.

typedef short DL_SHORT

Definition at line 11 of file DLTypes.h.

typedef unsigned char DL_UBYTE

Definition at line 12 of file DLTypes.h.


DOCLIB is being developed under contract by a collaboration between:
The Laboratory for Language and Media Processing
Unviersity of Maryland, College Park
and
Booz | Allen | Hamilton

All Rights Reserved, 2003-2007