mirror of
https://github.com/anope/anope.git
synced 2026-06-25 08:36:41 +02:00
c777c8d9aa
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@1902 5417fbe8-f217-4b02-8779-1006273d7864
37 lines
631 B
C
37 lines
631 B
C
#include "version.h"
|
|
|
|
#ifndef _WIN32
|
|
#define E extern
|
|
#define I extern
|
|
#else
|
|
#ifndef MODULE_COMPILE
|
|
#define E extern __declspec(dllexport)
|
|
#define I extern __declspec(dllimport)
|
|
#else
|
|
#define E extern __declspec(dllimport)
|
|
#define I extern __declspec(dllexport)
|
|
#endif
|
|
#endif
|
|
|
|
E int getAnopeBuildVersion();
|
|
E int getAnopeMajorVersion();
|
|
E int getAnopeMinorVersion();
|
|
E int getAnopePatchVersion();
|
|
|
|
int getAnopeBuildVersion() {
|
|
return VERSION_BUILD;
|
|
}
|
|
|
|
int getAnopeMajorVersion() {
|
|
return VERSION_MAJOR;
|
|
}
|
|
|
|
int getAnopeMinorVersion() {
|
|
return VERSION_MINOR;
|
|
}
|
|
|
|
int getAnopePatchVersion() {
|
|
return VERSION_PATCH;
|
|
}
|
|
|