85 lines
2.1 KiB
C
85 lines
2.1 KiB
C
/* Automatically generated by wasm2c */
|
|
#ifndef Y8SPLX37QY_H_GENERATED_
|
|
#define Y8SPLX37QY_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
|
|
|
|
typedef struct w2c_Y8splx37qY {
|
|
u32 w2c_g0;
|
|
u32 w2c_input;
|
|
u32 w2c_0x5F_dso_handle;
|
|
u32 w2c_0x5F_data_end;
|
|
u32 w2c_0x5F_global_base;
|
|
u32 w2c_0x5F_heap_base;
|
|
u32 w2c_0x5F_memory_base;
|
|
u32 w2c_0x5F_table_base;
|
|
wasm_rt_memory_t w2c_memory;
|
|
wasm_rt_funcref_table_t w2c_T0;
|
|
} w2c_Y8splx37qY;
|
|
|
|
void wasm2c_Y8splx37qY_instantiate(w2c_Y8splx37qY*);
|
|
void wasm2c_Y8splx37qY_free(w2c_Y8splx37qY*);
|
|
wasm_rt_func_type_t wasm2c_Y8splx37qY_get_func_type(uint32_t param_count, uint32_t result_count, ...);
|
|
|
|
/* export: 'memory' */
|
|
wasm_rt_memory_t* w2c_Y8splx37qY_memory(w2c_Y8splx37qY* instance);
|
|
|
|
/* export: '__wasm_call_ctors' */
|
|
void w2c_Y8splx37qY_0x5F_wasm_call_ctors(w2c_Y8splx37qY*);
|
|
|
|
/* export: 'strcmp' */
|
|
u32 w2c_Y8splx37qY_strcmp(w2c_Y8splx37qY*, u32, u32);
|
|
|
|
/* export: 'check_flag' */
|
|
u32 w2c_Y8splx37qY_check_flag(w2c_Y8splx37qY*);
|
|
|
|
/* export: 'input' */
|
|
u32* w2c_Y8splx37qY_input(w2c_Y8splx37qY* instance);
|
|
|
|
/* export: 'copy_char' */
|
|
void w2c_Y8splx37qY_copy_char(w2c_Y8splx37qY*, u32, u32);
|
|
|
|
/* export: '__dso_handle' */
|
|
u32* w2c_Y8splx37qY_0x5F_dso_handle(w2c_Y8splx37qY* instance);
|
|
|
|
/* export: '__data_end' */
|
|
u32* w2c_Y8splx37qY_0x5F_data_end(w2c_Y8splx37qY* instance);
|
|
|
|
/* export: '__global_base' */
|
|
u32* w2c_Y8splx37qY_0x5F_global_base(w2c_Y8splx37qY* instance);
|
|
|
|
/* export: '__heap_base' */
|
|
u32* w2c_Y8splx37qY_0x5F_heap_base(w2c_Y8splx37qY* instance);
|
|
|
|
/* export: '__memory_base' */
|
|
u32* w2c_Y8splx37qY_0x5F_memory_base(w2c_Y8splx37qY* instance);
|
|
|
|
/* export: '__table_base' */
|
|
u32* w2c_Y8splx37qY_0x5F_table_base(w2c_Y8splx37qY* instance);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* Y8SPLX37QY_H_GENERATED_ */
|