Change 'mem' namspace to 'jmem'
The 'mem_' prefix is too general, so it might clash with symbols in other libraries. Renamed the directory, file, funtion and type names. Related issue: #1052 JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
@@ -91,7 +91,7 @@ main (int __attr_unused___ argc,
|
||||
lit_utf8_byte_t strings[test_sub_iters][max_characters_in_string + 1];
|
||||
lit_utf8_size_t lengths[test_sub_iters];
|
||||
|
||||
mem_init ();
|
||||
jmem_init ();
|
||||
lit_init ();
|
||||
|
||||
for (uint32_t i = 0; i < test_iters; i++)
|
||||
@@ -159,6 +159,6 @@ main (int __attr_unused___ argc,
|
||||
}
|
||||
|
||||
lit_finalize ();
|
||||
mem_finalize (true);
|
||||
jmem_finalize (true);
|
||||
return 0;
|
||||
} /* main */
|
||||
|
||||
Reference in New Issue
Block a user