Remove legacy jerry_get_memory_limits API function and unused configuration macros (#2329)
JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -292,18 +292,6 @@ jerry_register_magic_strings (const jerry_char_ptr_t *ex_str_items_p, /**< chara
|
||||
lit_magic_strings_ex_set ((const lit_utf8_byte_t **) ex_str_items_p, count, (const lit_utf8_size_t *) str_lengths_p);
|
||||
} /* jerry_register_magic_strings */
|
||||
|
||||
/**
|
||||
* Get Jerry configured memory limits
|
||||
*/
|
||||
void
|
||||
jerry_get_memory_limits (size_t *out_data_bss_brk_limit_p, /**< [out] Jerry's maximum usage of
|
||||
* data + bss + brk sections */
|
||||
size_t *out_stack_limit_p) /**< [out] Jerry's maximum usage of stack */
|
||||
{
|
||||
*out_data_bss_brk_limit_p = CONFIG_MEM_HEAP_AREA_SIZE + CONFIG_MEM_DATA_LIMIT_MINUS_HEAP_SIZE;
|
||||
*out_stack_limit_p = CONFIG_MEM_STACK_LIMIT;
|
||||
} /* jerry_get_memory_limits */
|
||||
|
||||
/**
|
||||
* Run garbage collection
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user