Move version numbers to public headers (#2556)

JERRY_SNAPSHOT_VERSION and JERRY_DEBUGGER_VERSION were moved into public headers, to grant access to them.

JerryScript-DCO-1.0-Signed-off-by: Bela Toth tbela@inf.u-szeged.hu
This commit is contained in:
Tóth Béla
2018-10-19 11:49:53 +02:00
committed by Zoltan Herczeg
parent 5060579b90
commit f8f691deb1
4 changed files with 10 additions and 10 deletions
-5
View File
@@ -38,11 +38,6 @@ typedef struct
*/ */
#define JERRY_SNAPSHOT_MAGIC (0x5952524Au) #define JERRY_SNAPSHOT_MAGIC (0x5952524Au)
/**
* Jerry snapshot format version.
*/
#define JERRY_SNAPSHOT_VERSION (18u)
/** /**
* Snapshot configuration flags. * Snapshot configuration flags.
*/ */
-5
View File
@@ -23,11 +23,6 @@
/* JerryScript debugger protocol is a simplified version of RFC-6455 (WebSockets). */ /* JerryScript debugger protocol is a simplified version of RFC-6455 (WebSockets). */
/**
* JerryScript debugger protocol version.
*/
#define JERRY_DEBUGGER_VERSION (6)
/** /**
* Frequency of calling jerry_debugger_receive() by the VM. * Frequency of calling jerry_debugger_receive() by the VM.
*/ */
@@ -28,6 +28,11 @@ extern "C"
* @{ * @{
*/ */
/**
* JerryScript debugger protocol version.
*/
#define JERRY_DEBUGGER_VERSION (6)
/** /**
* Types for the client source wait and run method. * Types for the client source wait and run method.
*/ */
@@ -27,6 +27,11 @@ extern "C"
* @{ * @{
*/ */
/**
* Jerry snapshot format version.
*/
#define JERRY_SNAPSHOT_VERSION (18u)
/** /**
* Flags for jerry_generate_snapshot and jerry_generate_function_snapshot. * Flags for jerry_generate_snapshot and jerry_generate_function_snapshot.
*/ */