Introducing try_get_string_by_idx interface for retrieving literal string value by it's identifier.

This commit is contained in:
Ruben Ayrapetyan
2014-07-17 21:07:25 +04:00
parent 0a87643eb6
commit 819b947445
2 changed files with 34 additions and 1 deletions
+4 -1
View File
@@ -16,8 +16,9 @@
#ifndef INTERPRETER_H
#define INTERPRETER_H
#include "opcodes.h"
#include "ecma-globals.h"
#include "globals.h"
#include "opcodes.h"
OPCODE __program[128];
@@ -35,5 +36,7 @@ void init_int (void);
void run_int (void);
void run_int_from_pos (struct __int_data *);
ssize_t try_get_string_by_idx( T_IDX idx, ecma_Char_t *buffer_p, ssize_t buffer_size);
#endif /* INTERPRETER_H */