Refactoring some stuff in the parser lib, moving functions out of headers
This commit is contained in:
parent
4580d68951
commit
fb3a2d94a0
19 changed files with 522 additions and 608 deletions
12
parser/src/input.h
Normal file
12
parser/src/input.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#ifndef INPUT_H
|
||||
#define INPUT_H
|
||||
|
||||
#include "me/types.h"
|
||||
|
||||
#define TS_DECODE_ERROR -1i
|
||||
|
||||
typedef t_u32 (*UnicodeDecodeFunction)(const t_u8 *string, t_u32 length, t_i32 *code_point);
|
||||
|
||||
t_u32 ts_decode_ascii(const t_u8 *string, t_u32 length, t_i32 *code_point);
|
||||
|
||||
#endif // INPUT_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue