24 lines
1.1 KiB
C
24 lines
1.1 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* input.h :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2024/08/31 12:03:19 by maiboyer #+# #+# */
|
|
/* Updated: 2024/08/31 12:03:29 by maiboyer ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#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
|