Skip to content

Commit b872d74

Browse files
committed
Update version
1 parent 9e61b08 commit b872d74

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ladder.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,19 @@
4343
* @def LADDERLIB_VERSION_MAYOR
4444
* @brief Indicate a really big change that can cause a incompatibilities with previous versions.
4545
*/
46-
#define LADDERLIB_VERSION_MAYOR 2
46+
#define LADDERLIB_VERSION_MAYOR 3
4747

4848
/**
4949
* @def LADDERLIB_VERSION_MINOR
5050
* @brief Indicate some change on API or opcode or very important correction in functionality
5151
*/
52-
#define LADDERLIB_VERSION_MINOR 1
52+
#define LADDERLIB_VERSION_MINOR 0
5353

5454
/**
5555
* @def LADDERLIB_VERSION_PATCH
5656
* @brief Indicate some minor change or correction
5757
*/
58-
#define LADDERLIB_VERSION_PATCH 1
58+
#define LADDERLIB_VERSION_PATCH 0
5959

6060
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
6161

test/ladderlib_test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ int main(void) {
8989

9090
ladder_ctx.ladder.state = LADDER_ST_RUNNING;
9191

92+
printf("--[ laderlib version: %d.%d.%d ]--\n\n", LADDERLIB_VERSION_MAYOR, LADDERLIB_VERSION_MINOR, LADDERLIB_VERSION_PATCH);
9293
// add foreign
9394
if (!ladder_add_foreign(&ladder_ctx, dummy_init, NULL, 5)) {
9495
printf("ERROR Load foreign\n");

0 commit comments

Comments
 (0)