Remove argument names in function prototypes, declared in headers; fix '*' alignment in headers.
JerryScript-DCO-1.0-Signed-off-by: Ruben Ayrapetyan r.ayrapetyan@samsung.com
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
#define NOT_A_LITERAL (lit_cpointer_t::null_cp ())
|
||||
|
||||
void serializer_init ();
|
||||
void serializer_set_show_instrs (bool show_instrs);
|
||||
void serializer_set_show_instrs (bool);
|
||||
op_meta serializer_get_op_meta (vm_instr_counter_t);
|
||||
op_meta serializer_get_var_decl (vm_instr_counter_t);
|
||||
vm_instr_t serializer_get_instr (const bytecode_data_header_t *, vm_instr_counter_t);
|
||||
@@ -48,22 +48,13 @@ void serializer_free (void);
|
||||
/*
|
||||
* Snapshot-related
|
||||
*/
|
||||
bool serializer_dump_bytecode_with_idx_map (uint8_t *buffer_p,
|
||||
size_t buffer_size,
|
||||
size_t *in_out_buffer_offset_p,
|
||||
const bytecode_data_header_t *bytecode_data_p,
|
||||
const lit_mem_to_snapshot_id_map_entry_t *lit_map_p,
|
||||
uint32_t literals_num,
|
||||
uint32_t *out_bytecode_size_p,
|
||||
uint32_t *out_idx_to_lit_map_size_p);
|
||||
bool serializer_dump_bytecode_with_idx_map (uint8_t *, size_t, size_t *, const bytecode_data_header_t *,
|
||||
const lit_mem_to_snapshot_id_map_entry_t *, uint32_t,
|
||||
uint32_t *, uint32_t *);
|
||||
|
||||
const bytecode_data_header_t *
|
||||
serializer_load_bytecode_with_idx_map (const uint8_t *bytecode_and_idx_map_p,
|
||||
uint32_t bytecode_size,
|
||||
uint32_t idx_to_lit_map_size,
|
||||
const lit_mem_to_snapshot_id_map_entry_t *lit_map_p,
|
||||
uint32_t literals_num,
|
||||
bool is_copy);
|
||||
serializer_load_bytecode_with_idx_map (const uint8_t *, uint32_t, uint32_t,
|
||||
const lit_mem_to_snapshot_id_map_entry_t *, uint32_t, bool);
|
||||
#endif /* JERRY_ENABLE_SNAPSHOT */
|
||||
|
||||
#endif /* SERIALIZER_H */
|
||||
|
||||
Reference in New Issue
Block a user