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:
@@ -120,11 +120,6 @@ typedef enum
|
||||
*/
|
||||
typedef uint8_t jerry_char_t;
|
||||
|
||||
/**
|
||||
* Pointer to an array of character values.
|
||||
*/
|
||||
typedef jerry_char_t *jerry_char_ptr_t;
|
||||
|
||||
/**
|
||||
* Size type of JerryScript.
|
||||
*/
|
||||
@@ -308,7 +303,7 @@ typedef struct jerry_instance_t jerry_instance_t;
|
||||
*/
|
||||
void jerry_init (jerry_init_flag_t flags);
|
||||
void jerry_cleanup (void);
|
||||
void jerry_register_magic_strings (const jerry_char_ptr_t *ex_str_items_p, uint32_t count,
|
||||
void jerry_register_magic_strings (const jerry_char_t **ex_str_items_p, uint32_t count,
|
||||
const jerry_length_t *str_lengths_p);
|
||||
void jerry_gc (jerry_gc_mode_t mode);
|
||||
void *jerry_get_context_data (const jerry_context_data_manager_t *manager_p);
|
||||
|
||||
Reference in New Issue
Block a user