Drop unimplemented run context stubs

Run context stubs have been lingering in the code base for almost a
year but they have never been more than unimplemented ideas.
Moreover, they are guarded by a macro that's nowhere defined, thus
the code is never compiled or tested.

Should contexts be implemented in the future, they may or may not
be implemented the way they are sketched now. Thus, it's safe to
remove this dead code from the sources.

JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
Akos Kiss
2016-02-20 21:03:32 +01:00
parent a0bedaa43d
commit f088e8c147
2 changed files with 1 additions and 73 deletions
-21
View File
@@ -97,27 +97,6 @@ bool jerry_parse (const jerry_api_char_t *, size_t);
jerry_completion_code_t jerry_run (void);
jerry_completion_code_t jerry_run_simple (const jerry_api_char_t *, size_t, jerry_flag_t);
#ifdef CONFIG_JERRY_ENABLE_CONTEXTS
/** \addtogroup jerry Jerry run contexts-related interface
* @{
*/
/**
* Jerry run context descriptor
*/
typedef struct jerry_ctx_t jerry_ctx_t;
jerry_ctx_t *jerry_new_ctx (void);
void jerry_cleanup_ctx (jerry_ctx_t *);
void jerry_push_ctx (jerry_ctx_t *);
void jerry_pop_ctx (void);
/**
* @}
*/
#endif /* CONFIG_JERRY_ENABLE_CONTEXTS */
/**
* @}
*/