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

Макросы

#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_FMEMOPEN   0
#define USE_BMPIO   1
#define USE_PNMIO   1
#define USE_PSIO   1
#define USE_PDFIO   1
#define MALLOC(blocksize)   malloc(blocksize)
#define CALLOC(numelem, elemsize)   calloc(numelem, elemsize)
#define REALLOC(ptr, blocksize)   realloc(ptr, blocksize)
#define FREE(ptr)   free(ptr)
#define PROCNAME(name)   static const char procName[] = name
#define ERROR_PTR(a, b, c)   returnErrorPtr((a),(b),(c))
#define ERROR_INT(a, b, c)   returnErrorInt((a),(b),(c))
#define ERROR_FLOAT(a, b, c)   returnErrorFloat((a),(b),(c))
#define L_ERROR(a, b)   l_error((a),(b))
#define L_ERROR_STRING(a, b, c)   l_errorString((a),(b),(c))
#define L_ERROR_INT(a, b, c)   l_errorInt((a),(b),(c))
#define L_ERROR_FLOAT(a, b, c)   l_errorFloat((a),(b),(c))
#define L_WARNING(a, b)   l_warning((a),(b))
#define L_WARNING_STRING(a, b, c)   l_warningString((a),(b),(c))
#define L_WARNING_INT(a, b, c)   l_warningInt((a),(b),(c))
#define L_WARNING_INT2(a, b, c, d)   l_warningInt2((a),(b),(c),(d))
#define L_WARNING_FLOAT(a, b, c)   l_warningFloat((a),(b),(c))
#define L_WARNING_FLOAT2(a, b, c, d)   l_warningFloat2((a),(b),(c),(d))
#define L_INFO(a, b)   l_info((a),(b))
#define L_INFO_STRING(a, b, c)   l_infoString((a),(b),(c))
#define L_INFO_INT(a, b, c)   l_infoInt((a),(b),(c))
#define L_INFO_INT2(a, b, c, d)   l_infoInt2((a),(b),(c),(d))
#define L_INFO_FLOAT(a, b, c)   l_infoFloat((a),(b),(c))
#define L_INFO_FLOAT2(a, b, c, d)   l_infoFloat2((a),(b),(c),(d))

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

typedef intptr_t l_intptr_t
typedef uintptr_t l_uintptr_t
typedef void * L_TIMER
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

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

enum  { L_NOT_FOUND = 0, L_FOUND = 1 }

Макросы

#define CALLOC (   numelem,
  elemsize 
)    calloc(numelem, elemsize)
#define ERROR_FLOAT (   a,
  b,
 
)    returnErrorFloat((a),(b),(c))
#define ERROR_INT (   a,
  b,
 
)    returnErrorInt((a),(b),(c))
#define ERROR_PTR (   a,
  b,
 
)    returnErrorPtr((a),(b),(c))
#define FREE (   ptr)    free(ptr)
#define HAVE_FMEMOPEN   0
#define HAVE_LIBGIF   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 L_ERROR (   a,
 
)    l_error((a),(b))
#define L_ERROR_FLOAT (   a,
  b,
 
)    l_errorFloat((a),(b),(c))
#define L_ERROR_INT (   a,
  b,
 
)    l_errorInt((a),(b),(c))
#define L_ERROR_STRING (   a,
  b,
 
)    l_errorString((a),(b),(c))
#define L_INFO (   a,
 
)    l_info((a),(b))
#define L_INFO_FLOAT (   a,
  b,
 
)    l_infoFloat((a),(b),(c))
#define L_INFO_FLOAT2 (   a,
  b,
  c,
 
)    l_infoFloat2((a),(b),(c),(d))
#define L_INFO_INT (   a,
  b,
 
)    l_infoInt((a),(b),(c))
#define L_INFO_INT2 (   a,
  b,
  c,
 
)    l_infoInt2((a),(b),(c),(d))
#define L_INFO_STRING (   a,
  b,
 
)    l_infoString((a),(b),(c))
#define L_WARNING (   a,
 
)    l_warning((a),(b))
#define L_WARNING_FLOAT (   a,
  b,
 
)    l_warningFloat((a),(b),(c))
#define L_WARNING_FLOAT2 (   a,
  b,
  c,
 
)    l_warningFloat2((a),(b),(c),(d))
#define L_WARNING_INT (   a,
  b,
 
)    l_warningInt((a),(b),(c))
#define L_WARNING_INT2 (   a,
  b,
  c,
 
)    l_warningInt2((a),(b),(c),(d))
#define L_WARNING_STRING (   a,
  b,
 
)    l_warningString((a),(b),(c))
#define LEPT_DLL
#define MALLOC (   blocksize)    malloc(blocksize)
#define PROCNAME (   name)    static const char procName[] = name
#define REALLOC (   ptr,
  blocksize 
)    realloc(ptr, blocksize)
#define USE_BMPIO   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 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 char l_uint8
typedef uintptr_t l_uintptr_t

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

anonymous enum
Элементы перечислений:
L_NOT_FOUND 
L_FOUND