Rework usages/naming of configuration macros [part 3] (#2927)
Reworked the JERRY_DEBUGGER macro to be a 0/1 switch. JerryScript-DCO-1.0-Signed-off-by: Peter Gal pgal.u-szeged@partner.samsung.com
This commit is contained in:
@@ -24,7 +24,7 @@
|
||||
#include "jerryscript-port.h"
|
||||
#include "lit-char-helpers.h"
|
||||
|
||||
#ifdef JERRY_DEBUGGER
|
||||
#if ENABLED (JERRY_DEBUGGER)
|
||||
|
||||
/**
|
||||
* Incoming message: next message of string data.
|
||||
@@ -1541,4 +1541,4 @@ jerry_debugger_send_exception_string (void)
|
||||
return result;
|
||||
} /* jerry_debugger_send_exception_string */
|
||||
|
||||
#endif /* JERRY_DEBUGGER */
|
||||
#endif /* ENABLED (JERRY_DEBUGGER) */
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include "ecma-globals.h"
|
||||
#include "jerryscript-debugger-transport.h"
|
||||
|
||||
#ifdef JERRY_DEBUGGER
|
||||
#if ENABLED (JERRY_DEBUGGER)
|
||||
|
||||
/* JerryScript debugger protocol is a simplified version of RFC-6455 (WebSockets). */
|
||||
|
||||
@@ -486,6 +486,6 @@ bool jerry_debugger_send_parse_function (uint32_t line, uint32_t column);
|
||||
void jerry_debugger_send_memstats (void);
|
||||
bool jerry_debugger_send_exception_string (void);
|
||||
|
||||
#endif /* JERRY_DEBUGGER */
|
||||
#endif /* ENABLED (JERRY_DEBUGGER) */
|
||||
|
||||
#endif /* !DEBUGGER_H */
|
||||
|
||||
Reference in New Issue
Block a user