allow_to_customize_address_for_jerry_mem_heap

JerryScript-DCO-1.0-Signed-off-by: Tamas Czene tczene.u-szeged@partner.samsung.com
This commit is contained in:
Tamas Czene
2015-11-23 15:24:57 +01:00
committed by Evgeny Gavrin
parent fe2a76fced
commit f8f7eb4251
2 changed files with 9 additions and 0 deletions
+4
View File
@@ -188,7 +188,11 @@ typedef struct
/**
* Heap
*/
#ifndef JERRY_HEAP_SECTION_ATTR
mem_heap_t mem_heap;
#else
mem_heap_t mem_heap __attribute__ ((section (JERRY_HEAP_SECTION_ATTR)));
#endif
/**
* Check size of heap is corresponding to configuration