1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
|
/** \file
* \brief miscelaneous functions
*
* See Copyright Notice in "iup.h"
*/
/*! \mainpage IUP
*
* \section intro Introduction
*
* Internal SDK documentation of the IUP library, automatically generated using Doxygen (<A HREF="http://www.doxygen.org/">http://www.doxygen.org/</A>).
*
* \section codestd Code Standards
*
* \subsection func Function Names (prefix format)
* - IupFunc - User API, implemented in the core
* - iupFunc - Internal Core API, implemented in the core, used in the core or in driver
* - iupxxxFunc - Windows Internal API, implemented in driver xxx, used in driver xxx
* - iupdrvFunc - Driver API, implemented in driver, used in the core or driver
* - xxxFunc - Driver xxx local functions
*
* \subsection glob Globais Variables (lower case format)
* - iupxxx_var
*
* \subsection loc Local Variables (lower case format, using module name)
* - iyyy_var
*
* \subsection fil File Names
* - iupyyy.h - public headers
* - iup_yyy.h/c - core
* - iupxxx_yyy.h/c - driver
*
* \subsection strc Structures
* - Iyyy
*
* \subsection com File Comments (at start)
* - Check an existant file for example.
*
* \subsection inc Include Defines
* - __IUPXXX_H (same file name, upper case, "__" preffix and replace "." by "_")
*
* \subsection doc Documentation
* - In the header, using Doxygen commands.
* - Check an existant header for example.
*
*/
/** \defgroup util Utilities
*/
/** \defgroup cpi Control SDK
* \par
* <H3><A HREF="../en/cpi.html">Control Creation Guide</A></H3>
*/
#include <stdlib.h>
#include "iup.h"
/* This appears only here to avoid changing the iup.h header fo bug fixes */
#define IUP_VERSION_FIX " RC3"
#define IUP_VERSION_FIX_NUMBER 0
const char iup_ident[] =
"$IUP: " IUP_VERSION IUP_VERSION_FIX " " IUP_COPYRIGHT " $\n"
"$URL: www.tecgraf.puc-rio.br/iup $\n";
/* Using this, if you look for the string TECVER, you will find also the library version. */
const char *iup_tecver = "TECVERID.str:Iup:LIB:" IUP_VERSION IUP_VERSION_FIX;
char* IupVersion(void)
{
(void)iup_tecver;
(void)iup_ident;
return IUP_VERSION IUP_VERSION_FIX;
}
char* IupVersionDate(void)
{
return IUP_VERSION_DATE;
}
int IupVersionNumber(void)
{
return IUP_VERSION_NUMBER+IUP_VERSION_FIX_NUMBER;
}
|