Skip to content

Move version numbers to public headers #2556

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions jerry-core/api/jerry-snapshot.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ typedef struct
*/
#define JERRY_SNAPSHOT_MAGIC (0x5952524Au)

/**
* Jerry snapshot format version.
*/
#define JERRY_SNAPSHOT_VERSION (18u)

/**
* Snapshot configuration flags.
*/
Expand Down
5 changes: 0 additions & 5 deletions jerry-core/debugger/debugger.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@

/* 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.
*/
Expand Down
5 changes: 5 additions & 0 deletions jerry-core/include/jerryscript-debugger.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ extern "C"
* @{
*/

/**
* JerryScript debugger protocol version.
*/
#define JERRY_DEBUGGER_VERSION (6)

/**
* Types for the client source wait and run method.
*/
Expand Down
5 changes: 5 additions & 0 deletions jerry-core/include/jerryscript-snapshot.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down