MrSID Decode SDK for Raster Reference Manual 9.5.5.5244
lt_define.h File Reference

Preprocessor definitions used throughout LizardTech sources. More...

#include "lt_platform.h"
#include "lt_types.h"
Include dependency graph for lt_define.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

Miscellaneous macros
#define LT_STRINGIFY(x)   #x
 macro turns its argument into a quoted string More...
 
#define LT_XSTRINGIFY(x)   LT_STRINGIFY(x)
 macro expands its argument, and it into a quoted string More...
 
#define LT_MIN(A, B)   ((A) < (B) ? (A) : (B))
 return lesser of two parameters More...
 
#define LT_MAX(A, B)   ((A) > (B) ? (A) : (B))
 return greater of two parameters More...
 
#define __static_assert2(e, l)   typedef int static_assert_line_##l[e ? 1 : -1]
 macro turns its argument into a quoted string More...
 
#define __static_assert1(e, l)   __static_assert2(e, l)
 macro turns its argument into a quoted string More...
 
#define static_assert(e, x)   __static_assert1(e, __LINE__)
 macro turns its argument into a quoted string More...
 
Support for status string generation
#define LT_STATUSSTRING_ADD(NUM, STR)
 
#define WINCE_STORAGECARD   ""
 
#define LT_SUPPORT_ENCRYPTED_MRSIDS
 

Detailed Description

This file should not be included directly; use lt_base.h instead.

Note
This file is C-callable.

Definition in file lt_define.h.

Macro Definition Documentation

◆ __static_assert1

#define __static_assert1 (   e,
  l 
)    __static_assert2(e, l)

Definition at line 103 of file lt_define.h.

◆ __static_assert2

#define __static_assert2 (   e,
  l 
)    typedef int static_assert_line_##l[e ? 1 : -1]

Definition at line 102 of file lt_define.h.

◆ LT_MAX

#define LT_MAX (   A,
  B 
)    ((A) > (B) ? (A) : (B))

Definition at line 95 of file lt_define.h.

◆ LT_MIN

#define LT_MIN (   A,
  B 
)    ((A) < (B) ? (A) : (B))

Definition at line 93 of file lt_define.h.

◆ LT_STATUSSTRING_ADD

#define LT_STATUSSTRING_ADD (   NUM,
  STR 
)

Definition at line 114 of file lt_define.h.

◆ LT_STRINGIFY

#define LT_STRINGIFY (   x)    #x

Definition at line 88 of file lt_define.h.

◆ LT_SUPPORT_ENCRYPTED_MRSIDS

#define LT_SUPPORT_ENCRYPTED_MRSIDS

Definition at line 133 of file lt_define.h.

◆ LT_XSTRINGIFY

#define LT_XSTRINGIFY (   x)    LT_STRINGIFY(x)

Definition at line 90 of file lt_define.h.

◆ static_assert

#define static_assert (   e,
  x 
)    __static_assert1(e, __LINE__)

Definition at line 104 of file lt_define.h.

◆ WINCE_STORAGECARD

#define WINCE_STORAGECARD   ""

Definition at line 129 of file lt_define.h.


Extensis