Organize public and internal parts of memory management (#1539)

* Introduced new 'jmem.h' for public part.
 * Removed obsolete headers

JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
László Langó
2017-01-24 12:36:53 +01:00
committed by GitHub
parent f88d1a4863
commit 976c8aee80
19 changed files with 197 additions and 308 deletions
+8 -1
View File
@@ -13,7 +13,14 @@
* limitations under the License.
*/
#include "jmem-allocator.h"
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "jmem.h"
#define JMEM_ALLOCATOR_INTERNAL
#include "jmem-allocator-internal.h"
#include "test-common.h"
+7 -3
View File
@@ -17,10 +17,14 @@
* Unit test for pool manager.
*/
#define JERRY_MEM_POOL_INTERNAL
#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include "jmem-allocator.h"
#include "jmem-poolman.h"
#include "jmem.h"
#define JMEM_ALLOCATOR_INTERNAL
#include "jmem-allocator-internal.h"
#include "test-common.h"