Leptonica  1.54
Файл src/environ.h
#include <stdint.h>

Классы

struct  L_WallTimer

Макросы

#define LEPT_DLL
#define HAVE_LIBJPEG   1
#define HAVE_LIBTIFF   1
#define HAVE_LIBPNG   1
#define HAVE_LIBZ   1
#define HAVE_LIBGIF   0
#define HAVE_LIBUNGIF   0
#define HAVE_LIBWEBP   0
#define HAVE_LIBJP2K   0
#define LIBJP2K_HEADER   <openjpeg-2.1/openjpeg.h>
#define HAVE_FMEMOPEN   1
#define USE_BMPIO   1
#define USE_PNMIO   1
#define USE_JP2KHEADER   1
#define USE_PDFIO   1
#define USE_PSIO   1
#define LEPT_MALLOC(blocksize)   malloc(blocksize)
#define LEPT_CALLOC(numelem, elemsize)   calloc(numelem, elemsize)
#define LEPT_REALLOC(ptr, blocksize)   realloc(ptr, blocksize)
#define LEPT_FREE(ptr)   free(ptr)
#define PROCNAME(name)   static const char procName[] = name
#define IF_SEV(l, t, f)   ((l) >= MINIMUM_SEVERITY && (l) >= LeptMsgSeverity ? (t) : (f))
#define ERROR_INT(a, b, c)   IF_SEV(L_SEVERITY_ERROR, returnErrorInt((a),(b),(c)), (l_int32)(c))
#define ERROR_FLOAT(a, b, c)   IF_SEV(L_SEVERITY_ERROR, returnErrorFloat((a),(b),(c)), (l_float32)(c))
#define ERROR_PTR(a, b, c)   IF_SEV(L_SEVERITY_ERROR, returnErrorPtr((a),(b),(c)), (void *)(c))
#define L_ERROR(a,...)
#define L_WARNING(a,...)
#define L_INFO(a,...)

Определения типов

typedef intptr_t l_intptr_t
typedef uintptr_t l_uintptr_t
typedef signed char l_int8
typedef unsigned char l_uint8
typedef short l_int16
typedef unsigned short l_uint16
typedef int l_int32
typedef unsigned int l_uint32
typedef float l_float32
typedef double l_float64
typedef long long l_int64
typedef unsigned long long l_uint64
typedef void * L_TIMER
typedef struct L_WallTimer L_WALLTIMER

Перечисления

enum  { L_NOT_FOUND = 0, L_FOUND = 1 }
enum  { UNIX_PATH_SEPCHAR = 0, WIN_PATH_SEPCHAR = 1 }
enum  {
  L_SEVERITY_EXTERNAL = 0, L_SEVERITY_ALL = 1, L_SEVERITY_DEBUG = 2, L_SEVERITY_INFO = 3,
  L_SEVERITY_WARNING = 4, L_SEVERITY_ERROR = 5, L_SEVERITY_NONE = 6
}

Переменные

LEPT_DLL l_int32 LeptMsgSeverity

Макросы

#define ERROR_FLOAT (   a,
  b,
 
)    IF_SEV(L_SEVERITY_ERROR, returnErrorFloat((a),(b),(c)), (l_float32)(c))
#define ERROR_INT (   a,
  b,
 
)    IF_SEV(L_SEVERITY_ERROR, returnErrorInt((a),(b),(c)), (l_int32)(c))
#define ERROR_PTR (   a,
  b,
 
)    IF_SEV(L_SEVERITY_ERROR, returnErrorPtr((a),(b),(c)), (void *)(c))
#define HAVE_FMEMOPEN   1
#define HAVE_LIBGIF   0
#define HAVE_LIBJP2K   0
#define HAVE_LIBJPEG   1
#define HAVE_LIBPNG   1
#define HAVE_LIBTIFF   1
#define HAVE_LIBUNGIF   0
#define HAVE_LIBWEBP   0
#define HAVE_LIBZ   1
#define IF_SEV (   l,
  t,
 
)    ((l) >= MINIMUM_SEVERITY && (l) >= LeptMsgSeverity ? (t) : (f))
#define L_ERROR (   a,
  ... 
)
Макроопределение:
IF_SEV(L_SEVERITY_ERROR, \
             (void)fprintf(stderr, "Error in %s: " a, __VA_ARGS__), \
             (void)0)
#define L_INFO (   a,
  ... 
)
Макроопределение:
IF_SEV(L_SEVERITY_INFO, \
             (void)fprintf(stderr, "Info in %s: " a, __VA_ARGS__), \
             (void)0)
#define L_WARNING (   a,
  ... 
)
Макроопределение:
IF_SEV(L_SEVERITY_WARNING, \
             (void)fprintf(stderr, "Warning in %s: " a, __VA_ARGS__), \
             (void)0)
#define LEPT_CALLOC (   numelem,
  elemsize 
)    calloc(numelem, elemsize)
#define LEPT_DLL
#define LEPT_FREE (   ptr)    free(ptr)
#define LEPT_MALLOC (   blocksize)    malloc(blocksize)
#define LEPT_REALLOC (   ptr,
  blocksize 
)    realloc(ptr, blocksize)
#define LIBJP2K_HEADER   <openjpeg-2.1/openjpeg.h>
#define PROCNAME (   name)    static const char procName[] = name
#define USE_BMPIO   1
#define USE_JP2KHEADER   1
#define USE_PDFIO   1
#define USE_PNMIO   1
#define USE_PSIO   1

Типы

typedef float l_float32
typedef double l_float64
typedef short l_int16
typedef int l_int32
typedef long long l_int64
typedef signed char l_int8
typedef intptr_t l_intptr_t
typedef void* L_TIMER
typedef unsigned short l_uint16
typedef unsigned int l_uint32
typedef unsigned long long l_uint64
typedef unsigned char l_uint8
typedef uintptr_t l_uintptr_t
typedef struct L_WallTimer L_WALLTIMER

Перечисления

anonymous enum
Элементы перечислений:
L_NOT_FOUND 
L_FOUND 
anonymous enum
Элементы перечислений:
UNIX_PATH_SEPCHAR 
WIN_PATH_SEPCHAR 
anonymous enum
Элементы перечислений:
L_SEVERITY_EXTERNAL 
L_SEVERITY_ALL 
L_SEVERITY_DEBUG 
L_SEVERITY_INFO 
L_SEVERITY_WARNING 
L_SEVERITY_ERROR 
L_SEVERITY_NONE 

Переменные