/* Generated by apps/mobile/scripts/generate-highlights.mts from @pierre/highlights 0.2.0 (highlights.wasm sha256 cf5fc4d83e7c1ddab19d163de096f787f87efe61504909aa469434f61ef51e2e). Do not edit. */
/* Automatically generated by wasm2c */
#ifndef HIGHLIGHTS_H_GENERATED_
#define HIGHLIGHTS_H_GENERATED_
#include "wasm-rt.h"
#include <stdint.h>
#ifndef WASM_RT_CORE_TYPES_DEFINED
#define WASM_RT_CORE_TYPES_DEFINED
typedef uint8_t u8;
typedef int8_t s8;
typedef uint16_t u16;
typedef int16_t s16;
typedef uint32_t u32;
typedef int32_t s32;
typedef uint64_t u64;
typedef int64_t s64;
typedef float f32;
typedef double f64;
#endif
#ifdef __cplusplus
extern "C" {
#endif
struct w2c_env;
typedef struct w2c_highlights {
struct w2c_env* w2c_env_instance;
u32 w2c_g0;
u32 w2c_g1;
u32 w2c_g2;
u32 w2c_g3;
u32 w2c_g4;
u32 w2c_g5;
u32 w2c_g6;
u32 w2c_g7;
u32 w2c_g8;
u32 w2c_g9;
u32 w2c_g10;
u64 w2c_g11;
u32 w2c_g12;
u32 w2c_g13;
u32 w2c_g14;
u32 w2c_g15;
u32 w2c_g16;
u32 w2c_g17;
u32 w2c_g18;
u32 w2c_g19;
u32 w2c_g20;
u32 w2c_g21;
u32 w2c_g22;
u32 w2c_g23;
u32 w2c_g24;
u32 w2c_g25;
u32 w2c_g26;
u32 w2c_g27;
u32 w2c_g28;
u32 w2c_g29;
u32 w2c_g30;
u32 w2c_g31;
u32 w2c_g32;
u32 w2c_g33;
u32 w2c_g34;
u32 w2c_g35;
u32 w2c_g36;
u32 w2c_g37;
u32 w2c_g38;
u32 w2c_g39;
u32 w2c_g40;
u32 w2c_g41;
u32 w2c_g42;
u32 w2c_g43;
u32 w2c_g44;
u32 w2c_g45;
u32 w2c_g46;
u32 w2c_g47;
u32 w2c_g48;
u32 w2c_g49;
u32 w2c_g50;
u32 w2c_g51;
u32 w2c_g52;
u32 w2c_g53;
u32 w2c_g54;
u32 w2c_g55;
u32 w2c_g56;
u32 w2c_g57;
u32 w2c_g58;
u32 w2c_g59;
u32 w2c_g60;
u32 w2c_g61;
u32 w2c_g62;
u32 w2c_g63;
u32 w2c_g64;
u32 w2c_g65;
u32 w2c_g66;
u32 w2c_g67;
u32 w2c_g68;
u32 w2c_g69;
u32 w2c_g70;
u32 w2c_g71;
u32 w2c_g72;
u32 w2c_g73;
u32 w2c_g74;
u32 w2c_g75;
u32 w2c_g76;
u32 w2c_g77;
u32 w2c_g78;
u32 w2c_g79;
u32 w2c_g80;
u32 w2c_g81;
u32 w2c_g82;
u32 w2c_g83;
u32 w2c_g84;
u32 w2c_g85;
u32 w2c_g86;
u32 w2c_g87;
u32 w2c_g88;
u32 w2c_g89;
u32 w2c_g90;
u32 w2c_g91;
u32 w2c_g92;
u32 w2c_g93;
u32 w2c_g94;
u32 w2c_g95;
u32 w2c_g96;
u32 w2c_g97;
u32 w2c_g98;
u32 w2c_g99;
u32 w2c_g100;
u32 w2c_g101;
u32 w2c_g102;
u32 w2c_g103;
u32 w2c_g104;
u32 w2c_g105;
u32 w2c_g106;
u32 w2c_g107;
u32 w2c_g108;
u32 w2c_g109;
u32 w2c_g110;
u32 w2c_g111;
u32 w2c_g112;
u32 w2c_g113;
u32 w2c_g114;
u32 w2c_g115;
u32 w2c_g116;
u32 w2c_g117;
u32 w2c_g118;
u32 w2c_g119;
u32 w2c_g120;
u32 w2c_g121;
u32 w2c_g122;
u32 w2c_g123;
wasm_rt_memory_t w2c_memory;
wasm_rt_funcref_table_t w2c_T0;
} w2c_highlights;
void wasm2c_highlights_instantiate(w2c_highlights*, struct w2c_env*);
void wasm2c_highlights_free(w2c_highlights*);
wasm_rt_func_type_t wasm2c_highlights_get_func_type(uint32_t param_count, uint32_t result_count, ...);
/* import: 'env' 'is_id_continue' */
u32 w2c_env_is_id_continue(struct w2c_env*, u32, u32);
void wasm_tailcall_w2c_env_is_id_continue(void **instance_ptr, void *tail_call_stack, wasm_rt_tailcallee_t *next);
/* import: 'env' 'is_id_start' */
u32 w2c_env_is_id_start(struct w2c_env*, u32, u32);
void wasm_tailcall_w2c_env_is_id_start(void **instance_ptr, void *tail_call_stack, wasm_rt_tailcallee_t *next);
/* export: 'memory' */
wasm_rt_memory_t* w2c_highlights_memory(w2c_highlights* instance);
/* export: 'liveStage' */
u32 w2c_highlights_liveStage(w2c_highlights*, u32);
/* export: 'liveInitDoc' */
void w2c_highlights_liveInitDoc(w2c_highlights*, u32, u32, u32);
/* export: 'liveApplyEdits' */
void w2c_highlights_liveApplyEdits(w2c_highlights*, u32, u32);
/* export: 'liveRun' */
u32 w2c_highlights_liveRun(w2c_highlights*, u32, u32, u32);
/* export: 'liveLineCount' */
u32 w2c_highlights_liveLineCount(w2c_highlights*);
/* export: 'liveLineLen' */
u32 w2c_highlights_liveLineLen(w2c_highlights*, u32);
/* export: 'liveLineByteLen' */
u32 w2c_highlights_liveLineByteLen(w2c_highlights*, u32);
/* export: 'liveLineTextPtr' */
u32 w2c_highlights_liveLineTextPtr(w2c_highlights*, u32);
/* export: 'liveLineFlags' */
u32 w2c_highlights_liveLineFlags(w2c_highlights*, u32);
/* export: 'liveLineTokPtr' */
u32 w2c_highlights_liveLineTokPtr(w2c_highlights*, u32);
/* export: 'liveLineTokCount' */
u32 w2c_highlights_liveLineTokCount(w2c_highlights*, u32);
/* export: 'liveChangesPtr' */
u32 w2c_highlights_liveChangesPtr(w2c_highlights*);
/* export: 'liveStats' */
u32 w2c_highlights_liveStats(w2c_highlights*, u32);
/* export: 'highlight' */
void w2c_highlights_highlight(w2c_highlights*);
/* export: 'highlightStream' */
void w2c_highlights_highlightStream(w2c_highlights*, u32);
#ifdef __cplusplus
}
#endif
#endif /* HIGHLIGHTS_H_GENERATED_ */