github.com/kaydxh/golang@v0.0.131/pkg/gocv/cgo/third_path/graphics-magick/include/magick/version.h (about)

     1  /*
     2    Copyright (C) 2003 - 2020 GraphicsMagick Group
     3    Copyright (C) 2002 ImageMagick Studio
     4    Copyright 1991-1999 E. I. du Pont de Nemours and Company
     5  
     6    This program is covered by multiple licenses, which are described in
     7    Copyright.txt. You should have received a copy of Copyright.txt with this
     8    package; otherwise see http://www.graphicsmagick.org/www/Copyright.html.
     9  
    10    GraphicsMagick version and copyright.
    11  */
    12  #ifndef _MAGICK_VERSION_H
    13  #define _MAGICK_VERSION_H
    14  
    15  #if defined(__cplusplus) || defined(c_plusplus)
    16  extern "C" {
    17  #endif
    18  
    19  /*
    20    Define declarations.
    21  
    22    MagickLibVersion and MagickLibVersionNumber are defined differently
    23    than they are in ImageMagick. The three fields are based on library
    24    interface versioning.  Each field in MagickLibVersion is one byte.
    25    The most significant field (third byte from the right) defines the
    26    library major interface, which is incremented whenever the library
    27    ABI changes incompatibly with preceding versions. The second field
    28    identifies an interface (a span) in a series of upward-compatible
    29    interfaces with the same major interface (such as when only new
    30    functions have) been added. The least significant field specifies
    31    the revision across 100% compatible interfaces.
    32  
    33    MagickLibVersionText provides a simple human-readable string for
    34    identifying the release.
    35  */
    36  #define MagickPackageName "GraphicsMagick"
    37  #define MagickCopyright  "Copyright (C) 2002-2020 GraphicsMagick Group.\nAdditional copyrights and licenses apply to this software.\nSee http://www.GraphicsMagick.org/www/Copyright.html for details."
    38  #define MagickLibVersion  0x242100
    39  #define MagickLibVersionText  "1.3.35"
    40  #define MagickLibVersionNumber 24,21,0
    41  #define MagickChangeDate   "20200223"
    42  #define MagickReleaseDate  "2020-02-23"
    43  
    44  /*
    45    The MagickLibInterfaceNewest and MagickLibInterfaceOldest defines
    46    provide both the newest and oldest interfaces supported by the
    47    library.  The 'newest' interface is incremented if new interfaces
    48    are added to the library.  The 'oldest' interface is reset to the
    49    value of 'newest' if an existing interface is changed incompatibly,
    50    or an interface is removed.  This scheme is similar to that used by
    51    ELF libraries.
    52  
    53    Note that the values used are related to those in
    54    MagickLibVersionNumber, but these are broken out and simplified so
    55    that they can be easily used in C pre-processor logic.
    56  */
    57  #define MagickLibInterfaceNewest 24
    58  #define MagickLibInterfaceOldest 3
    59  
    60  #if (QuantumDepth == 8)
    61  #define MagickQuantumDepth  "Q8"
    62  #elif (QuantumDepth == 16)
    63  #define MagickQuantumDepth  "Q16"
    64  #elif (QuantumDepth == 32)
    65  #define MagickQuantumDepth  "Q32"
    66  #else
    67  # error Unsupported quantum depth.
    68  #endif
    69  
    70  #define MagickVersion MagickPackageName " " MagickLibVersionText " " \
    71    MagickReleaseDate " " MagickQuantumDepth " " MagickWebSite
    72  #define MagickWebSite  "http://www." MagickPackageName ".org/"
    73  
    74  /*
    75    Method declarations.
    76  */
    77  extern MagickExport const char
    78    *GetMagickCopyright(void) MAGICK_FUNC_CONST,
    79    *GetMagickVersion(unsigned long *) MAGICK_FUNC_CONST,
    80    *GetMagickWebSite(void) MAGICK_FUNC_CONST;
    81  
    82  #if defined(__cplusplus) || defined(c_plusplus)
    83  }
    84  #endif
    85  
    86  #endif