generated from arras-energy/gridlabd-old
-
Notifications
You must be signed in to change notification settings - Fork 5
/
version.h
44 lines (35 loc) · 934 Bytes
/
version.h
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
/* File: version.h
Copyright (C) 2008, Pacific Northwest National Laboratory
*/
#ifndef _GRIDLABD_VERSION_H
#define _GRIDLABD_VERSION_H
#if ! defined _GLDCORE_H && ! defined _GRIDLABD_H
#error "this header may only be included from gldcore.h or gridlabd.h"
#endif
#define REV_MAJOR 4
#define REV_MINOR 3
#define REV_PATCH 10
#ifdef HAVE_CONFIG_H
#include "config.h"
#else
#define _V(X,Y,Z) #X"."#Y"."#Z
#define PACKAGE "gridlabd"
#define PACKAGE_NAME "HiPAS GridLAB-D"
#define PACKAGE_VERSION _V(REV_MAJOR,REV_MINOR,REV_PATCH)
#define PACKAGE_STRING PACKAGE_NAME" "PACKAGE_VERSION
#endif
#ifdef __cplusplus
extern "C" {
#endif
const char *version_copyright(void);
unsigned int version_major(void);
unsigned int version_minor(void);
unsigned int version_patch(void);
unsigned int version_build(void);
const char *version_branch(void);
bool version_check(const char *expression);
#ifdef __cplusplus
}
#endif
#endif
// EOF