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:
@@ -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"
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user