Version check and feature tests

Version check and feature tests

Synopsis

#define             LIBRSVG_MAJOR_VERSION
#define             LIBRSVG_MINOR_VERSION
#define             LIBRSVG_MICRO_VERSION
#define             LIBRSVG_VERSION
#define             LIBRSVG_CHECK_VERSION               (major,
                                                         minor,
                                                         micro)
#define             LIBRSVG_HAVE_SVGZ
#define             LIBRSVG_HAVE_CSS
#define             LIBRSVG_CHECK_FEATURE               (FEATURE)
extern              const char *librsvg_version;
void                librsvg_preinit                     (void *app,
                                                         void *modinfo);
void                librsvg_postinit                    (void *app,
                                                         void *modinfo);

Description

Details

LIBRSVG_MAJOR_VERSION

#define LIBRSVG_MAJOR_VERSION (2)

LIBRSVG_MINOR_VERSION

#define LIBRSVG_MINOR_VERSION (32)

LIBRSVG_MICRO_VERSION

#define LIBRSVG_MICRO_VERSION (0)

LIBRSVG_VERSION

#define LIBRSVG_VERSION "2.32.0"

LIBRSVG_CHECK_VERSION()

#define             LIBRSVG_CHECK_VERSION(major,minor,micro)

LIBRSVG_HAVE_SVGZ

#define LIBRSVG_HAVE_SVGZ  (1)

LIBRSVG_HAVE_CSS

#define LIBRSVG_HAVE_CSS   (1)

LIBRSVG_CHECK_FEATURE()

#define LIBRSVG_CHECK_FEATURE(FEATURE) (defined(LIBRSVG_HAVE_##FEATURE) && LIBRSVG_HAVE_##FEATURE)

librsvg_version

extern const char *librsvg_version;

librsvg_preinit ()

void                librsvg_preinit                     (void *app,
                                                         void *modinfo);

librsvg_postinit ()

void                librsvg_postinit                    (void *app,
                                                         void *modinfo);