digiKam
Loading...
Searching...
No Matches
lensfuniface.h File Reference

Go to the source code of this file.

Classes

class  Digikam::LensFunIface
 

Namespaces

namespace  Digikam
 

Macros

#define LENSFUN_MAKE_VERSION(major, minor, patch)   (((major) << 16) | ((minor) << 8) | (patch))
 
#define LENSFUN_TEST_VERSION(major, minor, patch)   ( LENSFUN_VERSION >= LENSFUN_MAKE_VERSION(major,minor,patch) )
 
#define LENSFUN_VERSION   LENSFUN_MAKE_VERSION(LF_VERSION_MAJOR, LF_VERSION_MINOR, LF_VERSION_MICRO)
 

Macro Definition Documentation

◆ LENSFUN_MAKE_VERSION

#define LENSFUN_MAKE_VERSION (   major,
  minor,
  patch 
)    (((major) << 16) | ((minor) << 8) | (patch))

Make an integer version number of Lensfun for comparison from a major, minor and a patch version number.

◆ LENSFUN_TEST_VERSION

#define LENSFUN_TEST_VERSION (   major,
  minor,
  patch 
)    ( LENSFUN_VERSION >= LENSFUN_MAKE_VERSION(major,minor,patch) )

The Lensfun version test macro to branch codes depending of API.

◆ LENSFUN_VERSION

#define LENSFUN_VERSION   LENSFUN_MAKE_VERSION(LF_VERSION_MAJOR, LF_VERSION_MINOR, LF_VERSION_MICRO)

The Lensfun version number of the library used at compile-time as an integer number for easy comparison.