Blame gegl/gegl-version.h

Packit bc1512
/* This file is the public GEGL API
Packit bc1512
 *
Packit bc1512
 * GEGL is free software; you can redistribute it and/or
Packit bc1512
 * modify it under the terms of the GNU Lesser General Public
Packit bc1512
 * License as published by the Free Software Foundation; either
Packit bc1512
 * version 3 of the License, or (at your option) any later version.
Packit bc1512
 *
Packit bc1512
 * GEGL is distributed in the hope that it will be useful,
Packit bc1512
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit bc1512
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit bc1512
 * Lesser General Public License for more details.
Packit bc1512
 *
Packit bc1512
 * You should have received a copy of the GNU Lesser General Public
Packit bc1512
 * License along with GEGL; if not, see <http://www.gnu.org/licenses/>.
Packit bc1512
 *
Packit bc1512
 * 2000-2008 © Calvin Williamson, Øyvind Kolås.
Packit bc1512
 */
Packit bc1512
Packit bc1512
#ifndef __GEGL_VERSION_H__
Packit bc1512
#define __GEGL_VERSION_H__
Packit bc1512
Packit bc1512
Packit bc1512
/***
Packit bc1512
 * GEGL version information:
Packit bc1512
 *
Packit bc1512
 * These macros tell the version of GEGL you are compiling against.
Packit bc1512
 * GEGL's version number consists of three parts: major, minor and
Packit bc1512
 * micro.
Packit bc1512
 *
Packit bc1512
 * ---Code sample:
Packit bc1512
 * #define GEGL_MAJOR_VERSION 0
Packit bc1512
 * #define GEGL_MINOR_VERSION 2
Packit bc1512
 * #define GEGL_MICRO_VERSION 0
Packit bc1512
 */
Packit bc1512
Packit bc1512
#define GEGL_MAJOR_VERSION 0
Packit bc1512
#define GEGL_MINOR_VERSION 2
Packit bc1512
#define GEGL_MICRO_VERSION 0
Packit bc1512
Packit bc1512
/**
Packit bc1512
 * gegl_get_version:
Packit bc1512
 * @major: a pointer to a int where the major version number will be stored
Packit bc1512
 * @minor: ditto for the minor version number
Packit bc1512
 * @micro: ditto for the micro version number
Packit bc1512
 *
Packit bc1512
 * This function fetches the version of the GEGL library being used by
Packit bc1512
 * the running process.
Packit bc1512
 */
Packit bc1512
void           gegl_get_version          (int *major,
Packit bc1512
                                          int *minor,
Packit bc1512
                                          int *micro);
Packit bc1512
Packit bc1512
Packit bc1512
#endif