Files
gimp/devel-docs/libgimpbase/html/libgimpbase-gimpversion.html
2010-08-11 01:17:12 -04:00

148 lines
5.2 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>gimpversion</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
<link rel="start" href="index.html" title="GIMP Base Library Reference Manual">
<link rel="up" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
<link rel="prev" href="libgimpbase-gimpbasetypes.html" title="gimpbasetypes">
<link rel="next" href="libgimpbase-gimplimits.html" title="gimplimits">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpbase.html" title="Part&#160;I.&#160;GIMP Base Library">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="libgimpbase-gimpbasetypes.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="libgimpbase.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GIMP Base Library Reference Manual</th>
<td><a accesskey="n" href="libgimpbase-gimplimits.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2555732" class="shortcut">Top</a>
&#160;|&#160;
<a href="#id2510925" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="libgimpbase-gimpversion"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2555732"></a><span class="refentrytitle">gimpversion</span>
</h2>
<p>gimpversion &#8212; Macros and constants useful for determining GIMP's version number and
capabilities.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">
#define <a href="libgimpbase-gimpversion.html#GIMP-MAJOR-VERSION:CAPS">GIMP_MAJOR_VERSION</a>
#define <a href="libgimpbase-gimpversion.html#GIMP-MINOR-VERSION:CAPS">GIMP_MINOR_VERSION</a>
#define <a href="libgimpbase-gimpversion.html#GIMP-MICRO-VERSION:CAPS">GIMP_MICRO_VERSION</a>
#define <a href="libgimpbase-gimpversion.html#GIMP-VERSION:CAPS">GIMP_VERSION</a>
#define <a href="libgimpbase-gimpversion.html#GIMP-API-VERSION:CAPS">GIMP_API_VERSION</a>
#define <a href="libgimpbase-gimpversion.html#GIMP-CHECK-VERSION:CAPS">GIMP_CHECK_VERSION</a> (major, minor, micro)
</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2510925"></a><h2>Description</h2>
<p>
Macros and constants useful for determining GIMP's version number and
capabilities.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2563862"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2563872"></a><h3>
<a name="GIMP-MAJOR-VERSION:CAPS"></a>GIMP_MAJOR_VERSION</h3>
<a class="indexterm" name="id2563884"></a><pre class="programlisting">#define GIMP_MAJOR_VERSION (2)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2563900"></a><h3>
<a name="GIMP-MINOR-VERSION:CAPS"></a>GIMP_MINOR_VERSION</h3>
<a class="indexterm" name="id2563911"></a><pre class="programlisting">#define GIMP_MINOR_VERSION (2)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2563928"></a><h3>
<a name="GIMP-MICRO-VERSION:CAPS"></a>GIMP_MICRO_VERSION</h3>
<a class="indexterm" name="id2563939"></a><pre class="programlisting">#define GIMP_MICRO_VERSION (14)
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2563956"></a><h3>
<a name="GIMP-VERSION:CAPS"></a>GIMP_VERSION</h3>
<a class="indexterm" name="id2563968"></a><pre class="programlisting">#define GIMP_VERSION "2.2.14"
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2571502"></a><h3>
<a name="GIMP-API-VERSION:CAPS"></a>GIMP_API_VERSION</h3>
<a class="indexterm" name="id2571514"></a><pre class="programlisting">#define GIMP_API_VERSION "2.0"
</pre>
<p>
Since: GIMP 2.2
</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2571531"></a><h3>
<a name="GIMP-CHECK-VERSION:CAPS"></a>GIMP_CHECK_VERSION()</h3>
<a class="indexterm" name="id2571542"></a><pre class="programlisting">#define GIMP_CHECK_VERSION(major, minor, micro)</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><span class="term"><em class="parameter"><code>major</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>minor</code></em>&#160;:</span></td>
<td>
</td>
</tr>
<tr>
<td><span class="term"><em class="parameter"><code>micro</code></em>&#160;:</span></td>
<td>
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>