Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite35abc5

Browse files
committed
Update API version to 2.1.0.
Closes#3104.JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu
1 parentf0e432c commite35abc5

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

‎jerry-core/include/jerryscript-core.h‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,12 @@ extern "C"
3939
/**
4040
* Minor version of JerryScript API.
4141
*/
42-
#defineJERRY_API_MINOR_VERSION 0
42+
#defineJERRY_API_MINOR_VERSION 1
43+
44+
/**
45+
* Patch version of JerryScript API.
46+
*/
47+
#defineJERRY_API_PATCH_VERSION 0
4348

4449
/**
4550
* JerryScript init flags.

‎jerry-main/main-unix.c‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,11 @@ main (int argc,
499499
}
500500
caseOPT_VERSION:
501501
{
502-
printf ("Version: %d.%d%s\n",JERRY_API_MAJOR_VERSION,JERRY_API_MINOR_VERSION,JERRY_COMMIT_HASH);
502+
printf ("Version: %d.%d.%d%s\n",
503+
JERRY_API_MAJOR_VERSION,
504+
JERRY_API_MINOR_VERSION,
505+
JERRY_API_PATCH_VERSION,
506+
JERRY_COMMIT_HASH);
503507
returnJERRY_STANDALONE_EXIT_CODE_OK;
504508
}
505509
caseOPT_MEM_STATS:

‎targets/zephyr/src/main-zephyr.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ void main (void)
8282
srand ((unsigned)jerry_port_get_current_time ());
8383
uint32_tzephyr_ver=sys_kernel_version_get ();
8484
printf ("JerryScript build: "__DATE__" "__TIME__"\n");
85-
printf ("JerryScript API %d.%d\n",JERRY_API_MAJOR_VERSION,JERRY_API_MINOR_VERSION);
85+
printf ("JerryScript API %d.%d.%d\n",JERRY_API_MAJOR_VERSION,JERRY_API_MINOR_VERSION,JERRY_API_PATCH_VERSION);
8686
printf ("Zephyr version %d.%d.%d\n", (int)SYS_KERNEL_VER_MAJOR (zephyr_ver),
8787
(int)SYS_KERNEL_VER_MINOR (zephyr_ver),
8888
(int)SYS_KERNEL_VER_PATCHLEVEL (zephyr_ver));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp