mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Update API version to 2.1.0. (#3220)
Closes #3104. JerryScript-DCO-1.0-Signed-off-by: Csaba Osztrogonác oszi@inf.u-szeged.hu
This commit is contained in:
parent
8f39d90f7c
commit
e8bc7a2b93
@ -39,7 +39,12 @@ extern "C"
|
||||
/**
|
||||
* Minor version of JerryScript API.
|
||||
*/
|
||||
#define JERRY_API_MINOR_VERSION 0
|
||||
#define JERRY_API_MINOR_VERSION 1
|
||||
|
||||
/**
|
||||
* Patch version of JerryScript API.
|
||||
*/
|
||||
#define JERRY_API_PATCH_VERSION 0
|
||||
|
||||
/**
|
||||
* JerryScript init flags.
|
||||
|
||||
@ -499,7 +499,11 @@ main (int argc,
|
||||
}
|
||||
case OPT_VERSION:
|
||||
{
|
||||
printf ("Version: %d.%d%s\n", JERRY_API_MAJOR_VERSION, JERRY_API_MINOR_VERSION, JERRY_COMMIT_HASH);
|
||||
printf ("Version: %d.%d.%d%s\n",
|
||||
JERRY_API_MAJOR_VERSION,
|
||||
JERRY_API_MINOR_VERSION,
|
||||
JERRY_API_PATCH_VERSION,
|
||||
JERRY_COMMIT_HASH);
|
||||
return JERRY_STANDALONE_EXIT_CODE_OK;
|
||||
}
|
||||
case OPT_MEM_STATS:
|
||||
|
||||
@ -82,7 +82,7 @@ void main (void)
|
||||
srand ((unsigned) jerry_port_get_current_time ());
|
||||
uint32_t zephyr_ver = sys_kernel_version_get ();
|
||||
printf ("JerryScript build: " __DATE__ " " __TIME__ "\n");
|
||||
printf ("JerryScript API %d.%d\n", JERRY_API_MAJOR_VERSION, JERRY_API_MINOR_VERSION);
|
||||
printf ("JerryScript API %d.%d.%d\n", JERRY_API_MAJOR_VERSION, JERRY_API_MINOR_VERSION, JERRY_API_PATCH_VERSION);
|
||||
printf ("Zephyr version %d.%d.%d\n", (int)SYS_KERNEL_VER_MAJOR (zephyr_ver),
|
||||
(int)SYS_KERNEL_VER_MINOR (zephyr_ver),
|
||||
(int)SYS_KERNEL_VER_PATCHLEVEL (zephyr_ver));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user