Remove character pointer typedefs (#2492)
The `[jerry|ecma]_char_ptr_t` types are some old legacy that are used quite inconsistently. Their `[jerry|ecma]_char_t *` variants are used a lot more often, so it's better to stick to one form throughout the code base. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -1705,7 +1705,7 @@ jerry_parse_and_save_literals (const jerry_char_t *source_p, /**< script source
|
||||
/* Save the array of literals. */
|
||||
destination_p = jerry_append_chars_to_buffer (destination_p,
|
||||
buffer_end_p,
|
||||
";\n\njerry_char_ptr_t literals[",
|
||||
";\n\njerry_char_t *literals[",
|
||||
0);
|
||||
|
||||
destination_p = jerry_append_number_to_buffer (destination_p, buffer_end_p, literal_count);
|
||||
|
||||
@@ -257,8 +257,8 @@ jerry_get_context_data (const jerry_context_data_manager_t *manager_p)
|
||||
* Register external magic string array
|
||||
*/
|
||||
void
|
||||
jerry_register_magic_strings (const jerry_char_ptr_t *ex_str_items_p, /**< character arrays, representing
|
||||
* external magic strings' contents */
|
||||
jerry_register_magic_strings (const jerry_char_t **ex_str_items_p, /**< character arrays, representing
|
||||
* external magic strings' contents */
|
||||
uint32_t count, /**< number of the strings */
|
||||
const jerry_length_t *str_lengths_p) /**< lengths of all strings */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user