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 [email protected]
This commit is contained in:
Tóth Béla authored and Zoltan Herczeg committed 2018-10-19 11:49:53 +02:00
1 parent 5060579b90
commit f8f691deb1
4 files changed
+10 -10

No files matched your search

@@ -28,6 +28,11 @@ extern "C"
* @{
*/
/**
* JerryScript debugger protocol version.
*/
#define JERRY_DEBUGGER_VERSION (6)
/**
* 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.
*/