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