Skip to content

Commit 6709e44

Browse files
committed
Update OGVersion
1 parent 86fb886 commit 6709e44

File tree

3 files changed

+20
-8
lines changed

3 files changed

+20
-8
lines changed

Sources/OpenGraph_SPI/OGVersion.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
//
2+
// OGVersion.c
3+
// OpenGraph
4+
5+
#include "OGBase.h"
6+
#include "OGVersion.h"
7+
8+
#if OG_RELEASE == 2024
9+
const double OpenGraphVersionNumber __attribute__ ((used)) = (double)6.0;
10+
const unsigned char OpenGraphVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:OpenGraph PROJECT:OpenGraph-6.0.87\n";
11+
#elif OG_RELEASE == 2021
12+
const double OpenGraphVersionNumber __attribute__ ((used)) = (double)3.2;
13+
const unsigned char OpenGraphVersionString[] __attribute__ ((used)) = "@(#)PROGRAM:OpenGraph PROJECT:OpenGraph-3.2.1\n";
14+
#endif

Sources/OpenGraph_SPI/OGVersion.h

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55
#ifndef OGVersion_h
66
#define OGVersion_h
77

8-
#define OG_RELEASE_2021 2021
9-
#define OG_RELEASE_2022 2022
10-
#define OG_RELEASE_2023 2023
11-
#define OG_RELEASE_2024 2024
8+
#define OPENGRAPH_RELEASE_2021 2021
9+
#define OPENGRAPH_RELEASE_2024 2024
1210

13-
#ifndef OG_TARGET_RELEASE
14-
#define OG_TARGET_RELEASE 2024
11+
#ifndef OPENGRAPH_RELEASE
12+
#define OPENGRAPH_RELEASE OPENGRAPH_RELEASE_2024
1513
#endif
1614

1715
#endif /* OGVersion_h */

Sources/OpenGraph_SPI/include/OpenGraph-umbrella.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@
3434
#include "OGValueState.h"
3535
#include "OGWeakAttribute.h"
3636

37-
FOUNDATION_EXPORT double AGAttributeVersionNumber;
38-
FOUNDATION_EXPORT const unsigned char AGAttributeVersionString[];
37+
OG_EXPORT double OpenGraphVersionNumber;
38+
OG_EXPORT const unsigned char OpenGraphVersionString[];

0 commit comments

Comments
 (0)