Coverage for wasmtime/_bindings.py: 88%

2585 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-02-20 16:25 +0000

1# flake8: noqa 

2# 

3# This is a procedurally generated file, DO NOT EDIT 

4# instead edit `./ci/cbindgen.py` at the root of the repo 

5 

6from ctypes import * 

7import ctypes 

8from typing import Any 

9from enum import Enum, auto 

10from ._ffi import dll, wasm_val_t, wasm_ref_t 

11 

12wasm_byte_t = c_ubyte 

13 

14class wasm_byte_vec_t(Structure): 

15 _fields_ = [ 

16 ("size", c_size_t), 

17 ("data", POINTER(wasm_byte_t)), 

18 ] 

19 size: int 

20 data: ctypes._Pointer 

21 

22_wasm_byte_vec_new_empty = dll.wasm_byte_vec_new_empty 

23_wasm_byte_vec_new_empty.restype = None 

24_wasm_byte_vec_new_empty.argtypes = [POINTER(wasm_byte_vec_t)] 

25def wasm_byte_vec_new_empty(out: Any) -> None: 

26 return _wasm_byte_vec_new_empty(out) # type: ignore 

27 

28_wasm_byte_vec_new_uninitialized = dll.wasm_byte_vec_new_uninitialized 

29_wasm_byte_vec_new_uninitialized.restype = None 

30_wasm_byte_vec_new_uninitialized.argtypes = [POINTER(wasm_byte_vec_t), c_size_t] 

31def wasm_byte_vec_new_uninitialized(out: Any, arg1: Any) -> None: 

32 return _wasm_byte_vec_new_uninitialized(out, arg1) # type: ignore 

33 

34_wasm_byte_vec_new = dll.wasm_byte_vec_new 

35_wasm_byte_vec_new.restype = None 

36_wasm_byte_vec_new.argtypes = [POINTER(wasm_byte_vec_t), c_size_t, POINTER(wasm_byte_t)] 

37def wasm_byte_vec_new(out: Any, arg1: Any, arg2: Any) -> None: 

38 return _wasm_byte_vec_new(out, arg1, arg2) # type: ignore 

39 

40_wasm_byte_vec_copy = dll.wasm_byte_vec_copy 

41_wasm_byte_vec_copy.restype = None 

42_wasm_byte_vec_copy.argtypes = [POINTER(wasm_byte_vec_t), POINTER(wasm_byte_vec_t)] 

43def wasm_byte_vec_copy(out: Any, arg1: Any) -> None: 

44 return _wasm_byte_vec_copy(out, arg1) # type: ignore 

45 

46_wasm_byte_vec_delete = dll.wasm_byte_vec_delete 

47_wasm_byte_vec_delete.restype = None 

48_wasm_byte_vec_delete.argtypes = [POINTER(wasm_byte_vec_t)] 

49def wasm_byte_vec_delete(arg0: Any) -> None: 

50 return _wasm_byte_vec_delete(arg0) # type: ignore 

51 

52wasm_name_t = wasm_byte_vec_t 

53 

54class wasm_config_t(Structure): 

55 pass 

56 

57_wasm_config_delete = dll.wasm_config_delete 

58_wasm_config_delete.restype = None 

59_wasm_config_delete.argtypes = [POINTER(wasm_config_t)] 

60def wasm_config_delete(arg0: Any) -> None: 

61 return _wasm_config_delete(arg0) # type: ignore 

62 

63_wasm_config_new = dll.wasm_config_new 

64_wasm_config_new.restype = POINTER(wasm_config_t) 

65_wasm_config_new.argtypes = [] 

66def wasm_config_new() -> ctypes._Pointer: 

67 return _wasm_config_new() # type: ignore 

68 

69class wasm_engine_t(Structure): 

70 pass 

71 

72_wasm_engine_delete = dll.wasm_engine_delete 

73_wasm_engine_delete.restype = None 

74_wasm_engine_delete.argtypes = [POINTER(wasm_engine_t)] 

75def wasm_engine_delete(arg0: Any) -> None: 

76 return _wasm_engine_delete(arg0) # type: ignore 

77 

78_wasm_engine_new = dll.wasm_engine_new 

79_wasm_engine_new.restype = POINTER(wasm_engine_t) 

80_wasm_engine_new.argtypes = [] 

81def wasm_engine_new() -> ctypes._Pointer: 

82 return _wasm_engine_new() # type: ignore 

83 

84_wasm_engine_new_with_config = dll.wasm_engine_new_with_config 

85_wasm_engine_new_with_config.restype = POINTER(wasm_engine_t) 

86_wasm_engine_new_with_config.argtypes = [POINTER(wasm_config_t)] 

87def wasm_engine_new_with_config(arg0: Any) -> ctypes._Pointer: 

88 return _wasm_engine_new_with_config(arg0) # type: ignore 

89 

90class wasm_store_t(Structure): 

91 pass 

92 

93_wasm_store_delete = dll.wasm_store_delete 

94_wasm_store_delete.restype = None 

95_wasm_store_delete.argtypes = [POINTER(wasm_store_t)] 

96def wasm_store_delete(arg0: Any) -> None: 

97 return _wasm_store_delete(arg0) # type: ignore 

98 

99_wasm_store_new = dll.wasm_store_new 

100_wasm_store_new.restype = POINTER(wasm_store_t) 

101_wasm_store_new.argtypes = [POINTER(wasm_engine_t)] 

102def wasm_store_new(arg0: Any) -> ctypes._Pointer: 

103 return _wasm_store_new(arg0) # type: ignore 

104 

105wasm_mutability_t = c_uint8 

106 

107class wasm_mutability_enum(Enum): 

108 WASM_CONST = auto() 

109 WASM_VAR = auto() 

110 

111class wasm_limits_t(Structure): 

112 _fields_ = [ 

113 ("min", c_uint32), 

114 ("max", c_uint32), 

115 ] 

116 min: int 

117 max: int 

118 

119class wasm_valtype_t(Structure): 

120 pass 

121 

122_wasm_valtype_delete = dll.wasm_valtype_delete 

123_wasm_valtype_delete.restype = None 

124_wasm_valtype_delete.argtypes = [POINTER(wasm_valtype_t)] 

125def wasm_valtype_delete(arg0: Any) -> None: 

126 return _wasm_valtype_delete(arg0) # type: ignore 

127 

128class wasm_valtype_vec_t(Structure): 

129 _fields_ = [ 

130 ("size", c_size_t), 

131 ("data", POINTER(POINTER(wasm_valtype_t))), 

132 ] 

133 size: int 

134 data: ctypes._Pointer 

135 

136_wasm_valtype_vec_new_empty = dll.wasm_valtype_vec_new_empty 

137_wasm_valtype_vec_new_empty.restype = None 

138_wasm_valtype_vec_new_empty.argtypes = [POINTER(wasm_valtype_vec_t)] 

139def wasm_valtype_vec_new_empty(out: Any) -> None: 

140 return _wasm_valtype_vec_new_empty(out) # type: ignore 

141 

142_wasm_valtype_vec_new_uninitialized = dll.wasm_valtype_vec_new_uninitialized 

143_wasm_valtype_vec_new_uninitialized.restype = None 

144_wasm_valtype_vec_new_uninitialized.argtypes = [POINTER(wasm_valtype_vec_t), c_size_t] 

145def wasm_valtype_vec_new_uninitialized(out: Any, arg1: Any) -> None: 

146 return _wasm_valtype_vec_new_uninitialized(out, arg1) # type: ignore 

147 

148_wasm_valtype_vec_new = dll.wasm_valtype_vec_new 

149_wasm_valtype_vec_new.restype = None 

150_wasm_valtype_vec_new.argtypes = [POINTER(wasm_valtype_vec_t), c_size_t, POINTER(POINTER(wasm_valtype_t))] 

151def wasm_valtype_vec_new(out: Any, arg1: Any, arg2: Any) -> None: 

152 return _wasm_valtype_vec_new(out, arg1, arg2) # type: ignore 

153 

154_wasm_valtype_vec_copy = dll.wasm_valtype_vec_copy 

155_wasm_valtype_vec_copy.restype = None 

156_wasm_valtype_vec_copy.argtypes = [POINTER(wasm_valtype_vec_t), POINTER(wasm_valtype_vec_t)] 

157def wasm_valtype_vec_copy(out: Any, arg1: Any) -> None: 

158 return _wasm_valtype_vec_copy(out, arg1) # type: ignore 

159 

160_wasm_valtype_vec_delete = dll.wasm_valtype_vec_delete 

161_wasm_valtype_vec_delete.restype = None 

162_wasm_valtype_vec_delete.argtypes = [POINTER(wasm_valtype_vec_t)] 

163def wasm_valtype_vec_delete(arg0: Any) -> None: 

164 return _wasm_valtype_vec_delete(arg0) # type: ignore 

165 

166_wasm_valtype_copy = dll.wasm_valtype_copy 

167_wasm_valtype_copy.restype = POINTER(wasm_valtype_t) 

168_wasm_valtype_copy.argtypes = [POINTER(wasm_valtype_t)] 

169def wasm_valtype_copy(arg0: Any) -> ctypes._Pointer: 

170 return _wasm_valtype_copy(arg0) # type: ignore 

171 

172wasm_valkind_t = c_uint8 

173 

174class wasm_valkind_enum(Enum): 

175 WASM_I32 = auto() 

176 WASM_I64 = auto() 

177 WASM_F32 = auto() 

178 WASM_F64 = auto() 

179 WASM_EXTERNREF = 128 

180 WASM_FUNCREF = auto() 

181 

182_wasm_valtype_new = dll.wasm_valtype_new 

183_wasm_valtype_new.restype = POINTER(wasm_valtype_t) 

184_wasm_valtype_new.argtypes = [wasm_valkind_t] 

185def wasm_valtype_new(arg0: Any) -> ctypes._Pointer: 

186 return _wasm_valtype_new(arg0) # type: ignore 

187 

188_wasm_valtype_kind = dll.wasm_valtype_kind 

189_wasm_valtype_kind.restype = wasm_valkind_t 

190_wasm_valtype_kind.argtypes = [POINTER(wasm_valtype_t)] 

191def wasm_valtype_kind(arg0: Any) -> wasm_valkind_t: 

192 return _wasm_valtype_kind(arg0) # type: ignore 

193 

194class wasm_functype_t(Structure): 

195 pass 

196 

197_wasm_functype_delete = dll.wasm_functype_delete 

198_wasm_functype_delete.restype = None 

199_wasm_functype_delete.argtypes = [POINTER(wasm_functype_t)] 

200def wasm_functype_delete(arg0: Any) -> None: 

201 return _wasm_functype_delete(arg0) # type: ignore 

202 

203class wasm_functype_vec_t(Structure): 

204 _fields_ = [ 

205 ("size", c_size_t), 

206 ("data", POINTER(POINTER(wasm_functype_t))), 

207 ] 

208 size: int 

209 data: ctypes._Pointer 

210 

211_wasm_functype_vec_new_empty = dll.wasm_functype_vec_new_empty 

212_wasm_functype_vec_new_empty.restype = None 

213_wasm_functype_vec_new_empty.argtypes = [POINTER(wasm_functype_vec_t)] 

214def wasm_functype_vec_new_empty(out: Any) -> None: 

215 return _wasm_functype_vec_new_empty(out) # type: ignore 

216 

217_wasm_functype_vec_new_uninitialized = dll.wasm_functype_vec_new_uninitialized 

218_wasm_functype_vec_new_uninitialized.restype = None 

219_wasm_functype_vec_new_uninitialized.argtypes = [POINTER(wasm_functype_vec_t), c_size_t] 

220def wasm_functype_vec_new_uninitialized(out: Any, arg1: Any) -> None: 

221 return _wasm_functype_vec_new_uninitialized(out, arg1) # type: ignore 

222 

223_wasm_functype_vec_new = dll.wasm_functype_vec_new 

224_wasm_functype_vec_new.restype = None 

225_wasm_functype_vec_new.argtypes = [POINTER(wasm_functype_vec_t), c_size_t, POINTER(POINTER(wasm_functype_t))] 

226def wasm_functype_vec_new(out: Any, arg1: Any, arg2: Any) -> None: 

227 return _wasm_functype_vec_new(out, arg1, arg2) # type: ignore 

228 

229_wasm_functype_vec_copy = dll.wasm_functype_vec_copy 

230_wasm_functype_vec_copy.restype = None 

231_wasm_functype_vec_copy.argtypes = [POINTER(wasm_functype_vec_t), POINTER(wasm_functype_vec_t)] 

232def wasm_functype_vec_copy(out: Any, arg1: Any) -> None: 

233 return _wasm_functype_vec_copy(out, arg1) # type: ignore 

234 

235_wasm_functype_vec_delete = dll.wasm_functype_vec_delete 

236_wasm_functype_vec_delete.restype = None 

237_wasm_functype_vec_delete.argtypes = [POINTER(wasm_functype_vec_t)] 

238def wasm_functype_vec_delete(arg0: Any) -> None: 

239 return _wasm_functype_vec_delete(arg0) # type: ignore 

240 

241_wasm_functype_copy = dll.wasm_functype_copy 

242_wasm_functype_copy.restype = POINTER(wasm_functype_t) 

243_wasm_functype_copy.argtypes = [POINTER(wasm_functype_t)] 

244def wasm_functype_copy(arg0: Any) -> ctypes._Pointer: 

245 return _wasm_functype_copy(arg0) # type: ignore 

246 

247_wasm_functype_new = dll.wasm_functype_new 

248_wasm_functype_new.restype = POINTER(wasm_functype_t) 

249_wasm_functype_new.argtypes = [POINTER(wasm_valtype_vec_t), POINTER(wasm_valtype_vec_t)] 

250def wasm_functype_new(params: Any, results: Any) -> ctypes._Pointer: 

251 return _wasm_functype_new(params, results) # type: ignore 

252 

253_wasm_functype_params = dll.wasm_functype_params 

254_wasm_functype_params.restype = POINTER(wasm_valtype_vec_t) 

255_wasm_functype_params.argtypes = [POINTER(wasm_functype_t)] 

256def wasm_functype_params(arg0: Any) -> ctypes._Pointer: 

257 return _wasm_functype_params(arg0) # type: ignore 

258 

259_wasm_functype_results = dll.wasm_functype_results 

260_wasm_functype_results.restype = POINTER(wasm_valtype_vec_t) 

261_wasm_functype_results.argtypes = [POINTER(wasm_functype_t)] 

262def wasm_functype_results(arg0: Any) -> ctypes._Pointer: 

263 return _wasm_functype_results(arg0) # type: ignore 

264 

265class wasm_globaltype_t(Structure): 

266 pass 

267 

268_wasm_globaltype_delete = dll.wasm_globaltype_delete 

269_wasm_globaltype_delete.restype = None 

270_wasm_globaltype_delete.argtypes = [POINTER(wasm_globaltype_t)] 

271def wasm_globaltype_delete(arg0: Any) -> None: 

272 return _wasm_globaltype_delete(arg0) # type: ignore 

273 

274class wasm_globaltype_vec_t(Structure): 

275 _fields_ = [ 

276 ("size", c_size_t), 

277 ("data", POINTER(POINTER(wasm_globaltype_t))), 

278 ] 

279 size: int 

280 data: ctypes._Pointer 

281 

282_wasm_globaltype_vec_new_empty = dll.wasm_globaltype_vec_new_empty 

283_wasm_globaltype_vec_new_empty.restype = None 

284_wasm_globaltype_vec_new_empty.argtypes = [POINTER(wasm_globaltype_vec_t)] 

285def wasm_globaltype_vec_new_empty(out: Any) -> None: 

286 return _wasm_globaltype_vec_new_empty(out) # type: ignore 

287 

288_wasm_globaltype_vec_new_uninitialized = dll.wasm_globaltype_vec_new_uninitialized 

289_wasm_globaltype_vec_new_uninitialized.restype = None 

290_wasm_globaltype_vec_new_uninitialized.argtypes = [POINTER(wasm_globaltype_vec_t), c_size_t] 

291def wasm_globaltype_vec_new_uninitialized(out: Any, arg1: Any) -> None: 

292 return _wasm_globaltype_vec_new_uninitialized(out, arg1) # type: ignore 

293 

294_wasm_globaltype_vec_new = dll.wasm_globaltype_vec_new 

295_wasm_globaltype_vec_new.restype = None 

296_wasm_globaltype_vec_new.argtypes = [POINTER(wasm_globaltype_vec_t), c_size_t, POINTER(POINTER(wasm_globaltype_t))] 

297def wasm_globaltype_vec_new(out: Any, arg1: Any, arg2: Any) -> None: 

298 return _wasm_globaltype_vec_new(out, arg1, arg2) # type: ignore 

299 

300_wasm_globaltype_vec_copy = dll.wasm_globaltype_vec_copy 

301_wasm_globaltype_vec_copy.restype = None 

302_wasm_globaltype_vec_copy.argtypes = [POINTER(wasm_globaltype_vec_t), POINTER(wasm_globaltype_vec_t)] 

303def wasm_globaltype_vec_copy(out: Any, arg1: Any) -> None: 

304 return _wasm_globaltype_vec_copy(out, arg1) # type: ignore 

305 

306_wasm_globaltype_vec_delete = dll.wasm_globaltype_vec_delete 

307_wasm_globaltype_vec_delete.restype = None 

308_wasm_globaltype_vec_delete.argtypes = [POINTER(wasm_globaltype_vec_t)] 

309def wasm_globaltype_vec_delete(arg0: Any) -> None: 

310 return _wasm_globaltype_vec_delete(arg0) # type: ignore 

311 

312_wasm_globaltype_copy = dll.wasm_globaltype_copy 

313_wasm_globaltype_copy.restype = POINTER(wasm_globaltype_t) 

314_wasm_globaltype_copy.argtypes = [POINTER(wasm_globaltype_t)] 

315def wasm_globaltype_copy(arg0: Any) -> ctypes._Pointer: 

316 return _wasm_globaltype_copy(arg0) # type: ignore 

317 

318_wasm_globaltype_new = dll.wasm_globaltype_new 

319_wasm_globaltype_new.restype = POINTER(wasm_globaltype_t) 

320_wasm_globaltype_new.argtypes = [POINTER(wasm_valtype_t), wasm_mutability_t] 

321def wasm_globaltype_new(arg0: Any, arg1: Any) -> ctypes._Pointer: 

322 return _wasm_globaltype_new(arg0, arg1) # type: ignore 

323 

324_wasm_globaltype_content = dll.wasm_globaltype_content 

325_wasm_globaltype_content.restype = POINTER(wasm_valtype_t) 

326_wasm_globaltype_content.argtypes = [POINTER(wasm_globaltype_t)] 

327def wasm_globaltype_content(arg0: Any) -> ctypes._Pointer: 

328 return _wasm_globaltype_content(arg0) # type: ignore 

329 

330_wasm_globaltype_mutability = dll.wasm_globaltype_mutability 

331_wasm_globaltype_mutability.restype = wasm_mutability_t 

332_wasm_globaltype_mutability.argtypes = [POINTER(wasm_globaltype_t)] 

333def wasm_globaltype_mutability(arg0: Any) -> wasm_mutability_t: 

334 return _wasm_globaltype_mutability(arg0) # type: ignore 

335 

336class wasm_tabletype_t(Structure): 

337 pass 

338 

339_wasm_tabletype_delete = dll.wasm_tabletype_delete 

340_wasm_tabletype_delete.restype = None 

341_wasm_tabletype_delete.argtypes = [POINTER(wasm_tabletype_t)] 

342def wasm_tabletype_delete(arg0: Any) -> None: 

343 return _wasm_tabletype_delete(arg0) # type: ignore 

344 

345class wasm_tabletype_vec_t(Structure): 

346 _fields_ = [ 

347 ("size", c_size_t), 

348 ("data", POINTER(POINTER(wasm_tabletype_t))), 

349 ] 

350 size: int 

351 data: ctypes._Pointer 

352 

353_wasm_tabletype_vec_new_empty = dll.wasm_tabletype_vec_new_empty 

354_wasm_tabletype_vec_new_empty.restype = None 

355_wasm_tabletype_vec_new_empty.argtypes = [POINTER(wasm_tabletype_vec_t)] 

356def wasm_tabletype_vec_new_empty(out: Any) -> None: 

357 return _wasm_tabletype_vec_new_empty(out) # type: ignore 

358 

359_wasm_tabletype_vec_new_uninitialized = dll.wasm_tabletype_vec_new_uninitialized 

360_wasm_tabletype_vec_new_uninitialized.restype = None 

361_wasm_tabletype_vec_new_uninitialized.argtypes = [POINTER(wasm_tabletype_vec_t), c_size_t] 

362def wasm_tabletype_vec_new_uninitialized(out: Any, arg1: Any) -> None: 

363 return _wasm_tabletype_vec_new_uninitialized(out, arg1) # type: ignore 

364 

365_wasm_tabletype_vec_new = dll.wasm_tabletype_vec_new 

366_wasm_tabletype_vec_new.restype = None 

367_wasm_tabletype_vec_new.argtypes = [POINTER(wasm_tabletype_vec_t), c_size_t, POINTER(POINTER(wasm_tabletype_t))] 

368def wasm_tabletype_vec_new(out: Any, arg1: Any, arg2: Any) -> None: 

369 return _wasm_tabletype_vec_new(out, arg1, arg2) # type: ignore 

370 

371_wasm_tabletype_vec_copy = dll.wasm_tabletype_vec_copy 

372_wasm_tabletype_vec_copy.restype = None 

373_wasm_tabletype_vec_copy.argtypes = [POINTER(wasm_tabletype_vec_t), POINTER(wasm_tabletype_vec_t)] 

374def wasm_tabletype_vec_copy(out: Any, arg1: Any) -> None: 

375 return _wasm_tabletype_vec_copy(out, arg1) # type: ignore 

376 

377_wasm_tabletype_vec_delete = dll.wasm_tabletype_vec_delete 

378_wasm_tabletype_vec_delete.restype = None 

379_wasm_tabletype_vec_delete.argtypes = [POINTER(wasm_tabletype_vec_t)] 

380def wasm_tabletype_vec_delete(arg0: Any) -> None: 

381 return _wasm_tabletype_vec_delete(arg0) # type: ignore 

382 

383_wasm_tabletype_copy = dll.wasm_tabletype_copy 

384_wasm_tabletype_copy.restype = POINTER(wasm_tabletype_t) 

385_wasm_tabletype_copy.argtypes = [POINTER(wasm_tabletype_t)] 

386def wasm_tabletype_copy(arg0: Any) -> ctypes._Pointer: 

387 return _wasm_tabletype_copy(arg0) # type: ignore 

388 

389_wasm_tabletype_new = dll.wasm_tabletype_new 

390_wasm_tabletype_new.restype = POINTER(wasm_tabletype_t) 

391_wasm_tabletype_new.argtypes = [POINTER(wasm_valtype_t), POINTER(wasm_limits_t)] 

392def wasm_tabletype_new(arg0: Any, arg1: Any) -> ctypes._Pointer: 

393 return _wasm_tabletype_new(arg0, arg1) # type: ignore 

394 

395_wasm_tabletype_element = dll.wasm_tabletype_element 

396_wasm_tabletype_element.restype = POINTER(wasm_valtype_t) 

397_wasm_tabletype_element.argtypes = [POINTER(wasm_tabletype_t)] 

398def wasm_tabletype_element(arg0: Any) -> ctypes._Pointer: 

399 return _wasm_tabletype_element(arg0) # type: ignore 

400 

401_wasm_tabletype_limits = dll.wasm_tabletype_limits 

402_wasm_tabletype_limits.restype = POINTER(wasm_limits_t) 

403_wasm_tabletype_limits.argtypes = [POINTER(wasm_tabletype_t)] 

404def wasm_tabletype_limits(arg0: Any) -> ctypes._Pointer: 

405 return _wasm_tabletype_limits(arg0) # type: ignore 

406 

407class wasm_memorytype_t(Structure): 

408 pass 

409 

410_wasm_memorytype_delete = dll.wasm_memorytype_delete 

411_wasm_memorytype_delete.restype = None 

412_wasm_memorytype_delete.argtypes = [POINTER(wasm_memorytype_t)] 

413def wasm_memorytype_delete(arg0: Any) -> None: 

414 return _wasm_memorytype_delete(arg0) # type: ignore 

415 

416class wasm_memorytype_vec_t(Structure): 

417 _fields_ = [ 

418 ("size", c_size_t), 

419 ("data", POINTER(POINTER(wasm_memorytype_t))), 

420 ] 

421 size: int 

422 data: ctypes._Pointer 

423 

424_wasm_memorytype_vec_new_empty = dll.wasm_memorytype_vec_new_empty 

425_wasm_memorytype_vec_new_empty.restype = None 

426_wasm_memorytype_vec_new_empty.argtypes = [POINTER(wasm_memorytype_vec_t)] 

427def wasm_memorytype_vec_new_empty(out: Any) -> None: 

428 return _wasm_memorytype_vec_new_empty(out) # type: ignore 

429 

430_wasm_memorytype_vec_new_uninitialized = dll.wasm_memorytype_vec_new_uninitialized 

431_wasm_memorytype_vec_new_uninitialized.restype = None 

432_wasm_memorytype_vec_new_uninitialized.argtypes = [POINTER(wasm_memorytype_vec_t), c_size_t] 

433def wasm_memorytype_vec_new_uninitialized(out: Any, arg1: Any) -> None: 

434 return _wasm_memorytype_vec_new_uninitialized(out, arg1) # type: ignore 

435 

436_wasm_memorytype_vec_new = dll.wasm_memorytype_vec_new 

437_wasm_memorytype_vec_new.restype = None 

438_wasm_memorytype_vec_new.argtypes = [POINTER(wasm_memorytype_vec_t), c_size_t, POINTER(POINTER(wasm_memorytype_t))] 

439def wasm_memorytype_vec_new(out: Any, arg1: Any, arg2: Any) -> None: 

440 return _wasm_memorytype_vec_new(out, arg1, arg2) # type: ignore 

441 

442_wasm_memorytype_vec_copy = dll.wasm_memorytype_vec_copy 

443_wasm_memorytype_vec_copy.restype = None 

444_wasm_memorytype_vec_copy.argtypes = [POINTER(wasm_memorytype_vec_t), POINTER(wasm_memorytype_vec_t)] 

445def wasm_memorytype_vec_copy(out: Any, arg1: Any) -> None: 

446 return _wasm_memorytype_vec_copy(out, arg1) # type: ignore 

447 

448_wasm_memorytype_vec_delete = dll.wasm_memorytype_vec_delete 

449_wasm_memorytype_vec_delete.restype = None 

450_wasm_memorytype_vec_delete.argtypes = [POINTER(wasm_memorytype_vec_t)] 

451def wasm_memorytype_vec_delete(arg0: Any) -> None: 

452 return _wasm_memorytype_vec_delete(arg0) # type: ignore 

453 

454_wasm_memorytype_copy = dll.wasm_memorytype_copy 

455_wasm_memorytype_copy.restype = POINTER(wasm_memorytype_t) 

456_wasm_memorytype_copy.argtypes = [POINTER(wasm_memorytype_t)] 

457def wasm_memorytype_copy(arg0: Any) -> ctypes._Pointer: 

458 return _wasm_memorytype_copy(arg0) # type: ignore 

459 

460_wasm_memorytype_new = dll.wasm_memorytype_new 

461_wasm_memorytype_new.restype = POINTER(wasm_memorytype_t) 

462_wasm_memorytype_new.argtypes = [POINTER(wasm_limits_t)] 

463def wasm_memorytype_new(arg0: Any) -> ctypes._Pointer: 

464 return _wasm_memorytype_new(arg0) # type: ignore 

465 

466_wasm_memorytype_limits = dll.wasm_memorytype_limits 

467_wasm_memorytype_limits.restype = POINTER(wasm_limits_t) 

468_wasm_memorytype_limits.argtypes = [POINTER(wasm_memorytype_t)] 

469def wasm_memorytype_limits(arg0: Any) -> ctypes._Pointer: 

470 return _wasm_memorytype_limits(arg0) # type: ignore 

471 

472class wasm_externtype_t(Structure): 

473 pass 

474 

475_wasm_externtype_delete = dll.wasm_externtype_delete 

476_wasm_externtype_delete.restype = None 

477_wasm_externtype_delete.argtypes = [POINTER(wasm_externtype_t)] 

478def wasm_externtype_delete(arg0: Any) -> None: 

479 return _wasm_externtype_delete(arg0) # type: ignore 

480 

481class wasm_externtype_vec_t(Structure): 

482 _fields_ = [ 

483 ("size", c_size_t), 

484 ("data", POINTER(POINTER(wasm_externtype_t))), 

485 ] 

486 size: int 

487 data: ctypes._Pointer 

488 

489_wasm_externtype_vec_new_empty = dll.wasm_externtype_vec_new_empty 

490_wasm_externtype_vec_new_empty.restype = None 

491_wasm_externtype_vec_new_empty.argtypes = [POINTER(wasm_externtype_vec_t)] 

492def wasm_externtype_vec_new_empty(out: Any) -> None: 

493 return _wasm_externtype_vec_new_empty(out) # type: ignore 

494 

495_wasm_externtype_vec_new_uninitialized = dll.wasm_externtype_vec_new_uninitialized 

496_wasm_externtype_vec_new_uninitialized.restype = None 

497_wasm_externtype_vec_new_uninitialized.argtypes = [POINTER(wasm_externtype_vec_t), c_size_t] 

498def wasm_externtype_vec_new_uninitialized(out: Any, arg1: Any) -> None: 

499 return _wasm_externtype_vec_new_uninitialized(out, arg1) # type: ignore 

500 

501_wasm_externtype_vec_new = dll.wasm_externtype_vec_new 

502_wasm_externtype_vec_new.restype = None 

503_wasm_externtype_vec_new.argtypes = [POINTER(wasm_externtype_vec_t), c_size_t, POINTER(POINTER(wasm_externtype_t))] 

504def wasm_externtype_vec_new(out: Any, arg1: Any, arg2: Any) -> None: 

505 return _wasm_externtype_vec_new(out, arg1, arg2) # type: ignore 

506 

507_wasm_externtype_vec_copy = dll.wasm_externtype_vec_copy 

508_wasm_externtype_vec_copy.restype = None 

509_wasm_externtype_vec_copy.argtypes = [POINTER(wasm_externtype_vec_t), POINTER(wasm_externtype_vec_t)] 

510def wasm_externtype_vec_copy(out: Any, arg1: Any) -> None: 

511 return _wasm_externtype_vec_copy(out, arg1) # type: ignore 

512 

513_wasm_externtype_vec_delete = dll.wasm_externtype_vec_delete 

514_wasm_externtype_vec_delete.restype = None 

515_wasm_externtype_vec_delete.argtypes = [POINTER(wasm_externtype_vec_t)] 

516def wasm_externtype_vec_delete(arg0: Any) -> None: 

517 return _wasm_externtype_vec_delete(arg0) # type: ignore 

518 

519_wasm_externtype_copy = dll.wasm_externtype_copy 

520_wasm_externtype_copy.restype = POINTER(wasm_externtype_t) 

521_wasm_externtype_copy.argtypes = [POINTER(wasm_externtype_t)] 

522def wasm_externtype_copy(arg0: Any) -> ctypes._Pointer: 

523 return _wasm_externtype_copy(arg0) # type: ignore 

524 

525wasm_externkind_t = c_uint8 

526 

527class wasm_externkind_enum(Enum): 

528 WASM_EXTERN_FUNC = auto() 

529 WASM_EXTERN_GLOBAL = auto() 

530 WASM_EXTERN_TABLE = auto() 

531 WASM_EXTERN_MEMORY = auto() 

532 

533_wasm_externtype_kind = dll.wasm_externtype_kind 

534_wasm_externtype_kind.restype = wasm_externkind_t 

535_wasm_externtype_kind.argtypes = [POINTER(wasm_externtype_t)] 

536def wasm_externtype_kind(arg0: Any) -> wasm_externkind_t: 

537 return _wasm_externtype_kind(arg0) # type: ignore 

538 

539_wasm_functype_as_externtype = dll.wasm_functype_as_externtype 

540_wasm_functype_as_externtype.restype = POINTER(wasm_externtype_t) 

541_wasm_functype_as_externtype.argtypes = [POINTER(wasm_functype_t)] 

542def wasm_functype_as_externtype(arg0: Any) -> ctypes._Pointer: 

543 return _wasm_functype_as_externtype(arg0) # type: ignore 

544 

545_wasm_globaltype_as_externtype = dll.wasm_globaltype_as_externtype 

546_wasm_globaltype_as_externtype.restype = POINTER(wasm_externtype_t) 

547_wasm_globaltype_as_externtype.argtypes = [POINTER(wasm_globaltype_t)] 

548def wasm_globaltype_as_externtype(arg0: Any) -> ctypes._Pointer: 

549 return _wasm_globaltype_as_externtype(arg0) # type: ignore 

550 

551_wasm_tabletype_as_externtype = dll.wasm_tabletype_as_externtype 

552_wasm_tabletype_as_externtype.restype = POINTER(wasm_externtype_t) 

553_wasm_tabletype_as_externtype.argtypes = [POINTER(wasm_tabletype_t)] 

554def wasm_tabletype_as_externtype(arg0: Any) -> ctypes._Pointer: 

555 return _wasm_tabletype_as_externtype(arg0) # type: ignore 

556 

557_wasm_memorytype_as_externtype = dll.wasm_memorytype_as_externtype 

558_wasm_memorytype_as_externtype.restype = POINTER(wasm_externtype_t) 

559_wasm_memorytype_as_externtype.argtypes = [POINTER(wasm_memorytype_t)] 

560def wasm_memorytype_as_externtype(arg0: Any) -> ctypes._Pointer: 

561 return _wasm_memorytype_as_externtype(arg0) # type: ignore 

562 

563_wasm_externtype_as_functype = dll.wasm_externtype_as_functype 

564_wasm_externtype_as_functype.restype = POINTER(wasm_functype_t) 

565_wasm_externtype_as_functype.argtypes = [POINTER(wasm_externtype_t)] 

566def wasm_externtype_as_functype(arg0: Any) -> ctypes._Pointer: 

567 return _wasm_externtype_as_functype(arg0) # type: ignore 

568 

569_wasm_externtype_as_globaltype = dll.wasm_externtype_as_globaltype 

570_wasm_externtype_as_globaltype.restype = POINTER(wasm_globaltype_t) 

571_wasm_externtype_as_globaltype.argtypes = [POINTER(wasm_externtype_t)] 

572def wasm_externtype_as_globaltype(arg0: Any) -> ctypes._Pointer: 

573 return _wasm_externtype_as_globaltype(arg0) # type: ignore 

574 

575_wasm_externtype_as_tabletype = dll.wasm_externtype_as_tabletype 

576_wasm_externtype_as_tabletype.restype = POINTER(wasm_tabletype_t) 

577_wasm_externtype_as_tabletype.argtypes = [POINTER(wasm_externtype_t)] 

578def wasm_externtype_as_tabletype(arg0: Any) -> ctypes._Pointer: 

579 return _wasm_externtype_as_tabletype(arg0) # type: ignore 

580 

581_wasm_externtype_as_memorytype = dll.wasm_externtype_as_memorytype 

582_wasm_externtype_as_memorytype.restype = POINTER(wasm_memorytype_t) 

583_wasm_externtype_as_memorytype.argtypes = [POINTER(wasm_externtype_t)] 

584def wasm_externtype_as_memorytype(arg0: Any) -> ctypes._Pointer: 

585 return _wasm_externtype_as_memorytype(arg0) # type: ignore 

586 

587_wasm_functype_as_externtype_const = dll.wasm_functype_as_externtype_const 

588_wasm_functype_as_externtype_const.restype = POINTER(wasm_externtype_t) 

589_wasm_functype_as_externtype_const.argtypes = [POINTER(wasm_functype_t)] 

590def wasm_functype_as_externtype_const(arg0: Any) -> ctypes._Pointer: 

591 return _wasm_functype_as_externtype_const(arg0) # type: ignore 

592 

593_wasm_globaltype_as_externtype_const = dll.wasm_globaltype_as_externtype_const 

594_wasm_globaltype_as_externtype_const.restype = POINTER(wasm_externtype_t) 

595_wasm_globaltype_as_externtype_const.argtypes = [POINTER(wasm_globaltype_t)] 

596def wasm_globaltype_as_externtype_const(arg0: Any) -> ctypes._Pointer: 

597 return _wasm_globaltype_as_externtype_const(arg0) # type: ignore 

598 

599_wasm_tabletype_as_externtype_const = dll.wasm_tabletype_as_externtype_const 

600_wasm_tabletype_as_externtype_const.restype = POINTER(wasm_externtype_t) 

601_wasm_tabletype_as_externtype_const.argtypes = [POINTER(wasm_tabletype_t)] 

602def wasm_tabletype_as_externtype_const(arg0: Any) -> ctypes._Pointer: 

603 return _wasm_tabletype_as_externtype_const(arg0) # type: ignore 

604 

605_wasm_memorytype_as_externtype_const = dll.wasm_memorytype_as_externtype_const 

606_wasm_memorytype_as_externtype_const.restype = POINTER(wasm_externtype_t) 

607_wasm_memorytype_as_externtype_const.argtypes = [POINTER(wasm_memorytype_t)] 

608def wasm_memorytype_as_externtype_const(arg0: Any) -> ctypes._Pointer: 

609 return _wasm_memorytype_as_externtype_const(arg0) # type: ignore 

610 

611_wasm_externtype_as_functype_const = dll.wasm_externtype_as_functype_const 

612_wasm_externtype_as_functype_const.restype = POINTER(wasm_functype_t) 

613_wasm_externtype_as_functype_const.argtypes = [POINTER(wasm_externtype_t)] 

614def wasm_externtype_as_functype_const(arg0: Any) -> ctypes._Pointer: 

615 return _wasm_externtype_as_functype_const(arg0) # type: ignore 

616 

617_wasm_externtype_as_globaltype_const = dll.wasm_externtype_as_globaltype_const 

618_wasm_externtype_as_globaltype_const.restype = POINTER(wasm_globaltype_t) 

619_wasm_externtype_as_globaltype_const.argtypes = [POINTER(wasm_externtype_t)] 

620def wasm_externtype_as_globaltype_const(arg0: Any) -> ctypes._Pointer: 

621 return _wasm_externtype_as_globaltype_const(arg0) # type: ignore 

622 

623_wasm_externtype_as_tabletype_const = dll.wasm_externtype_as_tabletype_const 

624_wasm_externtype_as_tabletype_const.restype = POINTER(wasm_tabletype_t) 

625_wasm_externtype_as_tabletype_const.argtypes = [POINTER(wasm_externtype_t)] 

626def wasm_externtype_as_tabletype_const(arg0: Any) -> ctypes._Pointer: 

627 return _wasm_externtype_as_tabletype_const(arg0) # type: ignore 

628 

629_wasm_externtype_as_memorytype_const = dll.wasm_externtype_as_memorytype_const 

630_wasm_externtype_as_memorytype_const.restype = POINTER(wasm_memorytype_t) 

631_wasm_externtype_as_memorytype_const.argtypes = [POINTER(wasm_externtype_t)] 

632def wasm_externtype_as_memorytype_const(arg0: Any) -> ctypes._Pointer: 

633 return _wasm_externtype_as_memorytype_const(arg0) # type: ignore 

634 

635class wasm_importtype_t(Structure): 

636 pass 

637 

638_wasm_importtype_delete = dll.wasm_importtype_delete 

639_wasm_importtype_delete.restype = None 

640_wasm_importtype_delete.argtypes = [POINTER(wasm_importtype_t)] 

641def wasm_importtype_delete(arg0: Any) -> None: 

642 return _wasm_importtype_delete(arg0) # type: ignore 

643 

644class wasm_importtype_vec_t(Structure): 

645 _fields_ = [ 

646 ("size", c_size_t), 

647 ("data", POINTER(POINTER(wasm_importtype_t))), 

648 ] 

649 size: int 

650 data: ctypes._Pointer 

651 

652_wasm_importtype_vec_new_empty = dll.wasm_importtype_vec_new_empty 

653_wasm_importtype_vec_new_empty.restype = None 

654_wasm_importtype_vec_new_empty.argtypes = [POINTER(wasm_importtype_vec_t)] 

655def wasm_importtype_vec_new_empty(out: Any) -> None: 

656 return _wasm_importtype_vec_new_empty(out) # type: ignore 

657 

658_wasm_importtype_vec_new_uninitialized = dll.wasm_importtype_vec_new_uninitialized 

659_wasm_importtype_vec_new_uninitialized.restype = None 

660_wasm_importtype_vec_new_uninitialized.argtypes = [POINTER(wasm_importtype_vec_t), c_size_t] 

661def wasm_importtype_vec_new_uninitialized(out: Any, arg1: Any) -> None: 

662 return _wasm_importtype_vec_new_uninitialized(out, arg1) # type: ignore 

663 

664_wasm_importtype_vec_new = dll.wasm_importtype_vec_new 

665_wasm_importtype_vec_new.restype = None 

666_wasm_importtype_vec_new.argtypes = [POINTER(wasm_importtype_vec_t), c_size_t, POINTER(POINTER(wasm_importtype_t))] 

667def wasm_importtype_vec_new(out: Any, arg1: Any, arg2: Any) -> None: 

668 return _wasm_importtype_vec_new(out, arg1, arg2) # type: ignore 

669 

670_wasm_importtype_vec_copy = dll.wasm_importtype_vec_copy 

671_wasm_importtype_vec_copy.restype = None 

672_wasm_importtype_vec_copy.argtypes = [POINTER(wasm_importtype_vec_t), POINTER(wasm_importtype_vec_t)] 

673def wasm_importtype_vec_copy(out: Any, arg1: Any) -> None: 

674 return _wasm_importtype_vec_copy(out, arg1) # type: ignore 

675 

676_wasm_importtype_vec_delete = dll.wasm_importtype_vec_delete 

677_wasm_importtype_vec_delete.restype = None 

678_wasm_importtype_vec_delete.argtypes = [POINTER(wasm_importtype_vec_t)] 

679def wasm_importtype_vec_delete(arg0: Any) -> None: 

680 return _wasm_importtype_vec_delete(arg0) # type: ignore 

681 

682_wasm_importtype_copy = dll.wasm_importtype_copy 

683_wasm_importtype_copy.restype = POINTER(wasm_importtype_t) 

684_wasm_importtype_copy.argtypes = [POINTER(wasm_importtype_t)] 

685def wasm_importtype_copy(arg0: Any) -> ctypes._Pointer: 

686 return _wasm_importtype_copy(arg0) # type: ignore 

687 

688_wasm_importtype_new = dll.wasm_importtype_new 

689_wasm_importtype_new.restype = POINTER(wasm_importtype_t) 

690_wasm_importtype_new.argtypes = [POINTER(wasm_name_t), POINTER(wasm_name_t), POINTER(wasm_externtype_t)] 

691def wasm_importtype_new(module: Any, name: Any, arg2: Any) -> ctypes._Pointer: 

692 return _wasm_importtype_new(module, name, arg2) # type: ignore 

693 

694_wasm_importtype_module = dll.wasm_importtype_module 

695_wasm_importtype_module.restype = POINTER(wasm_name_t) 

696_wasm_importtype_module.argtypes = [POINTER(wasm_importtype_t)] 

697def wasm_importtype_module(arg0: Any) -> ctypes._Pointer: 

698 return _wasm_importtype_module(arg0) # type: ignore 

699 

700_wasm_importtype_name = dll.wasm_importtype_name 

701_wasm_importtype_name.restype = POINTER(wasm_name_t) 

702_wasm_importtype_name.argtypes = [POINTER(wasm_importtype_t)] 

703def wasm_importtype_name(arg0: Any) -> ctypes._Pointer: 

704 return _wasm_importtype_name(arg0) # type: ignore 

705 

706_wasm_importtype_type = dll.wasm_importtype_type 

707_wasm_importtype_type.restype = POINTER(wasm_externtype_t) 

708_wasm_importtype_type.argtypes = [POINTER(wasm_importtype_t)] 

709def wasm_importtype_type(arg0: Any) -> ctypes._Pointer: 

710 return _wasm_importtype_type(arg0) # type: ignore 

711 

712class wasm_exporttype_t(Structure): 

713 pass 

714 

715_wasm_exporttype_delete = dll.wasm_exporttype_delete 

716_wasm_exporttype_delete.restype = None 

717_wasm_exporttype_delete.argtypes = [POINTER(wasm_exporttype_t)] 

718def wasm_exporttype_delete(arg0: Any) -> None: 

719 return _wasm_exporttype_delete(arg0) # type: ignore 

720 

721class wasm_exporttype_vec_t(Structure): 

722 _fields_ = [ 

723 ("size", c_size_t), 

724 ("data", POINTER(POINTER(wasm_exporttype_t))), 

725 ] 

726 size: int 

727 data: ctypes._Pointer 

728 

729_wasm_exporttype_vec_new_empty = dll.wasm_exporttype_vec_new_empty 

730_wasm_exporttype_vec_new_empty.restype = None 

731_wasm_exporttype_vec_new_empty.argtypes = [POINTER(wasm_exporttype_vec_t)] 

732def wasm_exporttype_vec_new_empty(out: Any) -> None: 

733 return _wasm_exporttype_vec_new_empty(out) # type: ignore 

734 

735_wasm_exporttype_vec_new_uninitialized = dll.wasm_exporttype_vec_new_uninitialized 

736_wasm_exporttype_vec_new_uninitialized.restype = None 

737_wasm_exporttype_vec_new_uninitialized.argtypes = [POINTER(wasm_exporttype_vec_t), c_size_t] 

738def wasm_exporttype_vec_new_uninitialized(out: Any, arg1: Any) -> None: 

739 return _wasm_exporttype_vec_new_uninitialized(out, arg1) # type: ignore 

740 

741_wasm_exporttype_vec_new = dll.wasm_exporttype_vec_new 

742_wasm_exporttype_vec_new.restype = None 

743_wasm_exporttype_vec_new.argtypes = [POINTER(wasm_exporttype_vec_t), c_size_t, POINTER(POINTER(wasm_exporttype_t))] 

744def wasm_exporttype_vec_new(out: Any, arg1: Any, arg2: Any) -> None: 

745 return _wasm_exporttype_vec_new(out, arg1, arg2) # type: ignore 

746 

747_wasm_exporttype_vec_copy = dll.wasm_exporttype_vec_copy 

748_wasm_exporttype_vec_copy.restype = None 

749_wasm_exporttype_vec_copy.argtypes = [POINTER(wasm_exporttype_vec_t), POINTER(wasm_exporttype_vec_t)] 

750def wasm_exporttype_vec_copy(out: Any, arg1: Any) -> None: 

751 return _wasm_exporttype_vec_copy(out, arg1) # type: ignore 

752 

753_wasm_exporttype_vec_delete = dll.wasm_exporttype_vec_delete 

754_wasm_exporttype_vec_delete.restype = None 

755_wasm_exporttype_vec_delete.argtypes = [POINTER(wasm_exporttype_vec_t)] 

756def wasm_exporttype_vec_delete(arg0: Any) -> None: 

757 return _wasm_exporttype_vec_delete(arg0) # type: ignore 

758 

759_wasm_exporttype_copy = dll.wasm_exporttype_copy 

760_wasm_exporttype_copy.restype = POINTER(wasm_exporttype_t) 

761_wasm_exporttype_copy.argtypes = [POINTER(wasm_exporttype_t)] 

762def wasm_exporttype_copy(arg0: Any) -> ctypes._Pointer: 

763 return _wasm_exporttype_copy(arg0) # type: ignore 

764 

765_wasm_exporttype_new = dll.wasm_exporttype_new 

766_wasm_exporttype_new.restype = POINTER(wasm_exporttype_t) 

767_wasm_exporttype_new.argtypes = [POINTER(wasm_name_t), POINTER(wasm_externtype_t)] 

768def wasm_exporttype_new(arg0: Any, arg1: Any) -> ctypes._Pointer: 

769 return _wasm_exporttype_new(arg0, arg1) # type: ignore 

770 

771_wasm_exporttype_name = dll.wasm_exporttype_name 

772_wasm_exporttype_name.restype = POINTER(wasm_name_t) 

773_wasm_exporttype_name.argtypes = [POINTER(wasm_exporttype_t)] 

774def wasm_exporttype_name(arg0: Any) -> ctypes._Pointer: 

775 return _wasm_exporttype_name(arg0) # type: ignore 

776 

777_wasm_exporttype_type = dll.wasm_exporttype_type 

778_wasm_exporttype_type.restype = POINTER(wasm_externtype_t) 

779_wasm_exporttype_type.argtypes = [POINTER(wasm_exporttype_t)] 

780def wasm_exporttype_type(arg0: Any) -> ctypes._Pointer: 

781 return _wasm_exporttype_type(arg0) # type: ignore 

782 

783_wasm_val_delete = dll.wasm_val_delete 

784_wasm_val_delete.restype = None 

785_wasm_val_delete.argtypes = [POINTER(wasm_val_t)] 

786def wasm_val_delete(v: Any) -> None: 

787 return _wasm_val_delete(v) # type: ignore 

788 

789_wasm_val_copy = dll.wasm_val_copy 

790_wasm_val_copy.restype = None 

791_wasm_val_copy.argtypes = [POINTER(wasm_val_t), POINTER(wasm_val_t)] 

792def wasm_val_copy(out: Any, arg1: Any) -> None: 

793 return _wasm_val_copy(out, arg1) # type: ignore 

794 

795class wasm_val_vec_t(Structure): 

796 _fields_ = [ 

797 ("size", c_size_t), 

798 ("data", POINTER(wasm_val_t)), 

799 ] 

800 size: int 

801 data: ctypes._Pointer 

802 

803_wasm_val_vec_new_empty = dll.wasm_val_vec_new_empty 

804_wasm_val_vec_new_empty.restype = None 

805_wasm_val_vec_new_empty.argtypes = [POINTER(wasm_val_vec_t)] 

806def wasm_val_vec_new_empty(out: Any) -> None: 

807 return _wasm_val_vec_new_empty(out) # type: ignore 

808 

809_wasm_val_vec_new_uninitialized = dll.wasm_val_vec_new_uninitialized 

810_wasm_val_vec_new_uninitialized.restype = None 

811_wasm_val_vec_new_uninitialized.argtypes = [POINTER(wasm_val_vec_t), c_size_t] 

812def wasm_val_vec_new_uninitialized(out: Any, arg1: Any) -> None: 

813 return _wasm_val_vec_new_uninitialized(out, arg1) # type: ignore 

814 

815_wasm_val_vec_new = dll.wasm_val_vec_new 

816_wasm_val_vec_new.restype = None 

817_wasm_val_vec_new.argtypes = [POINTER(wasm_val_vec_t), c_size_t, POINTER(wasm_val_t)] 

818def wasm_val_vec_new(out: Any, arg1: Any, arg2: Any) -> None: 

819 return _wasm_val_vec_new(out, arg1, arg2) # type: ignore 

820 

821_wasm_val_vec_copy = dll.wasm_val_vec_copy 

822_wasm_val_vec_copy.restype = None 

823_wasm_val_vec_copy.argtypes = [POINTER(wasm_val_vec_t), POINTER(wasm_val_vec_t)] 

824def wasm_val_vec_copy(out: Any, arg1: Any) -> None: 

825 return _wasm_val_vec_copy(out, arg1) # type: ignore 

826 

827_wasm_val_vec_delete = dll.wasm_val_vec_delete 

828_wasm_val_vec_delete.restype = None 

829_wasm_val_vec_delete.argtypes = [POINTER(wasm_val_vec_t)] 

830def wasm_val_vec_delete(arg0: Any) -> None: 

831 return _wasm_val_vec_delete(arg0) # type: ignore 

832 

833_wasm_ref_delete = dll.wasm_ref_delete 

834_wasm_ref_delete.restype = None 

835_wasm_ref_delete.argtypes = [POINTER(wasm_ref_t)] 

836def wasm_ref_delete(arg0: Any) -> None: 

837 return _wasm_ref_delete(arg0) # type: ignore 

838 

839_wasm_ref_copy = dll.wasm_ref_copy 

840_wasm_ref_copy.restype = POINTER(wasm_ref_t) 

841_wasm_ref_copy.argtypes = [POINTER(wasm_ref_t)] 

842def wasm_ref_copy(arg0: Any) -> ctypes._Pointer: 

843 return _wasm_ref_copy(arg0) # type: ignore 

844 

845_wasm_ref_same = dll.wasm_ref_same 

846_wasm_ref_same.restype = c_bool 

847_wasm_ref_same.argtypes = [POINTER(wasm_ref_t), POINTER(wasm_ref_t)] 

848def wasm_ref_same(arg0: Any, arg1: Any) -> bool: 

849 return _wasm_ref_same(arg0, arg1) # type: ignore 

850 

851_wasm_ref_get_host_info = dll.wasm_ref_get_host_info 

852_wasm_ref_get_host_info.restype = c_void_p 

853_wasm_ref_get_host_info.argtypes = [POINTER(wasm_ref_t)] 

854def wasm_ref_get_host_info(arg0: Any) -> int: 

855 return _wasm_ref_get_host_info(arg0) # type: ignore 

856 

857_wasm_ref_set_host_info = dll.wasm_ref_set_host_info 

858_wasm_ref_set_host_info.restype = None 

859_wasm_ref_set_host_info.argtypes = [POINTER(wasm_ref_t), c_void_p] 

860def wasm_ref_set_host_info(arg0: Any, arg1: Any) -> None: 

861 return _wasm_ref_set_host_info(arg0, arg1) # type: ignore 

862 

863_wasm_ref_set_host_info_with_finalizer = dll.wasm_ref_set_host_info_with_finalizer 

864_wasm_ref_set_host_info_with_finalizer.restype = None 

865_wasm_ref_set_host_info_with_finalizer.argtypes = [POINTER(wasm_ref_t), c_void_p, CFUNCTYPE(None, c_void_p)] 

866def wasm_ref_set_host_info_with_finalizer(arg0: Any, arg1: Any, arg2: Any) -> None: 

867 return _wasm_ref_set_host_info_with_finalizer(arg0, arg1, arg2) # type: ignore 

868 

869class wasm_frame_t(Structure): 

870 pass 

871 

872_wasm_frame_delete = dll.wasm_frame_delete 

873_wasm_frame_delete.restype = None 

874_wasm_frame_delete.argtypes = [POINTER(wasm_frame_t)] 

875def wasm_frame_delete(arg0: Any) -> None: 

876 return _wasm_frame_delete(arg0) # type: ignore 

877 

878class wasm_frame_vec_t(Structure): 

879 _fields_ = [ 

880 ("size", c_size_t), 

881 ("data", POINTER(POINTER(wasm_frame_t))), 

882 ] 

883 size: int 

884 data: ctypes._Pointer 

885 

886_wasm_frame_vec_new_empty = dll.wasm_frame_vec_new_empty 

887_wasm_frame_vec_new_empty.restype = None 

888_wasm_frame_vec_new_empty.argtypes = [POINTER(wasm_frame_vec_t)] 

889def wasm_frame_vec_new_empty(out: Any) -> None: 

890 return _wasm_frame_vec_new_empty(out) # type: ignore 

891 

892_wasm_frame_vec_new_uninitialized = dll.wasm_frame_vec_new_uninitialized 

893_wasm_frame_vec_new_uninitialized.restype = None 

894_wasm_frame_vec_new_uninitialized.argtypes = [POINTER(wasm_frame_vec_t), c_size_t] 

895def wasm_frame_vec_new_uninitialized(out: Any, arg1: Any) -> None: 

896 return _wasm_frame_vec_new_uninitialized(out, arg1) # type: ignore 

897 

898_wasm_frame_vec_new = dll.wasm_frame_vec_new 

899_wasm_frame_vec_new.restype = None 

900_wasm_frame_vec_new.argtypes = [POINTER(wasm_frame_vec_t), c_size_t, POINTER(POINTER(wasm_frame_t))] 

901def wasm_frame_vec_new(out: Any, arg1: Any, arg2: Any) -> None: 

902 return _wasm_frame_vec_new(out, arg1, arg2) # type: ignore 

903 

904_wasm_frame_vec_copy = dll.wasm_frame_vec_copy 

905_wasm_frame_vec_copy.restype = None 

906_wasm_frame_vec_copy.argtypes = [POINTER(wasm_frame_vec_t), POINTER(wasm_frame_vec_t)] 

907def wasm_frame_vec_copy(out: Any, arg1: Any) -> None: 

908 return _wasm_frame_vec_copy(out, arg1) # type: ignore 

909 

910_wasm_frame_vec_delete = dll.wasm_frame_vec_delete 

911_wasm_frame_vec_delete.restype = None 

912_wasm_frame_vec_delete.argtypes = [POINTER(wasm_frame_vec_t)] 

913def wasm_frame_vec_delete(arg0: Any) -> None: 

914 return _wasm_frame_vec_delete(arg0) # type: ignore 

915 

916_wasm_frame_copy = dll.wasm_frame_copy 

917_wasm_frame_copy.restype = POINTER(wasm_frame_t) 

918_wasm_frame_copy.argtypes = [POINTER(wasm_frame_t)] 

919def wasm_frame_copy(arg0: Any) -> ctypes._Pointer: 

920 return _wasm_frame_copy(arg0) # type: ignore 

921 

922_wasm_frame_func_index = dll.wasm_frame_func_index 

923_wasm_frame_func_index.restype = c_uint32 

924_wasm_frame_func_index.argtypes = [POINTER(wasm_frame_t)] 

925def wasm_frame_func_index(arg0: Any) -> int: 

926 return _wasm_frame_func_index(arg0) # type: ignore 

927 

928_wasm_frame_func_offset = dll.wasm_frame_func_offset 

929_wasm_frame_func_offset.restype = c_size_t 

930_wasm_frame_func_offset.argtypes = [POINTER(wasm_frame_t)] 

931def wasm_frame_func_offset(arg0: Any) -> int: 

932 return _wasm_frame_func_offset(arg0) # type: ignore 

933 

934_wasm_frame_module_offset = dll.wasm_frame_module_offset 

935_wasm_frame_module_offset.restype = c_size_t 

936_wasm_frame_module_offset.argtypes = [POINTER(wasm_frame_t)] 

937def wasm_frame_module_offset(arg0: Any) -> int: 

938 return _wasm_frame_module_offset(arg0) # type: ignore 

939 

940wasm_message_t = wasm_name_t 

941 

942class wasm_trap_t(Structure): 

943 pass 

944 

945_wasm_trap_delete = dll.wasm_trap_delete 

946_wasm_trap_delete.restype = None 

947_wasm_trap_delete.argtypes = [POINTER(wasm_trap_t)] 

948def wasm_trap_delete(arg0: Any) -> None: 

949 return _wasm_trap_delete(arg0) # type: ignore 

950 

951_wasm_trap_copy = dll.wasm_trap_copy 

952_wasm_trap_copy.restype = POINTER(wasm_trap_t) 

953_wasm_trap_copy.argtypes = [POINTER(wasm_trap_t)] 

954def wasm_trap_copy(arg0: Any) -> ctypes._Pointer: 

955 return _wasm_trap_copy(arg0) # type: ignore 

956 

957_wasm_trap_same = dll.wasm_trap_same 

958_wasm_trap_same.restype = c_bool 

959_wasm_trap_same.argtypes = [POINTER(wasm_trap_t), POINTER(wasm_trap_t)] 

960def wasm_trap_same(arg0: Any, arg1: Any) -> bool: 

961 return _wasm_trap_same(arg0, arg1) # type: ignore 

962 

963_wasm_trap_get_host_info = dll.wasm_trap_get_host_info 

964_wasm_trap_get_host_info.restype = c_void_p 

965_wasm_trap_get_host_info.argtypes = [POINTER(wasm_trap_t)] 

966def wasm_trap_get_host_info(arg0: Any) -> int: 

967 return _wasm_trap_get_host_info(arg0) # type: ignore 

968 

969_wasm_trap_set_host_info = dll.wasm_trap_set_host_info 

970_wasm_trap_set_host_info.restype = None 

971_wasm_trap_set_host_info.argtypes = [POINTER(wasm_trap_t), c_void_p] 

972def wasm_trap_set_host_info(arg0: Any, arg1: Any) -> None: 

973 return _wasm_trap_set_host_info(arg0, arg1) # type: ignore 

974 

975_wasm_trap_set_host_info_with_finalizer = dll.wasm_trap_set_host_info_with_finalizer 

976_wasm_trap_set_host_info_with_finalizer.restype = None 

977_wasm_trap_set_host_info_with_finalizer.argtypes = [POINTER(wasm_trap_t), c_void_p, CFUNCTYPE(None, c_void_p)] 

978def wasm_trap_set_host_info_with_finalizer(arg0: Any, arg1: Any, arg2: Any) -> None: 

979 return _wasm_trap_set_host_info_with_finalizer(arg0, arg1, arg2) # type: ignore 

980 

981_wasm_trap_as_ref = dll.wasm_trap_as_ref 

982_wasm_trap_as_ref.restype = POINTER(wasm_ref_t) 

983_wasm_trap_as_ref.argtypes = [POINTER(wasm_trap_t)] 

984def wasm_trap_as_ref(arg0: Any) -> ctypes._Pointer: 

985 return _wasm_trap_as_ref(arg0) # type: ignore 

986 

987_wasm_ref_as_trap = dll.wasm_ref_as_trap 

988_wasm_ref_as_trap.restype = POINTER(wasm_trap_t) 

989_wasm_ref_as_trap.argtypes = [POINTER(wasm_ref_t)] 

990def wasm_ref_as_trap(arg0: Any) -> ctypes._Pointer: 

991 return _wasm_ref_as_trap(arg0) # type: ignore 

992 

993_wasm_trap_as_ref_const = dll.wasm_trap_as_ref_const 

994_wasm_trap_as_ref_const.restype = POINTER(wasm_ref_t) 

995_wasm_trap_as_ref_const.argtypes = [POINTER(wasm_trap_t)] 

996def wasm_trap_as_ref_const(arg0: Any) -> ctypes._Pointer: 

997 return _wasm_trap_as_ref_const(arg0) # type: ignore 

998 

999_wasm_ref_as_trap_const = dll.wasm_ref_as_trap_const 

1000_wasm_ref_as_trap_const.restype = POINTER(wasm_trap_t) 

1001_wasm_ref_as_trap_const.argtypes = [POINTER(wasm_ref_t)] 

1002def wasm_ref_as_trap_const(arg0: Any) -> ctypes._Pointer: 

1003 return _wasm_ref_as_trap_const(arg0) # type: ignore 

1004 

1005_wasm_trap_new = dll.wasm_trap_new 

1006_wasm_trap_new.restype = POINTER(wasm_trap_t) 

1007_wasm_trap_new.argtypes = [POINTER(wasm_store_t), POINTER(wasm_message_t)] 

1008def wasm_trap_new(store: Any, arg1: Any) -> ctypes._Pointer: 

1009 return _wasm_trap_new(store, arg1) # type: ignore 

1010 

1011_wasm_trap_message = dll.wasm_trap_message 

1012_wasm_trap_message.restype = None 

1013_wasm_trap_message.argtypes = [POINTER(wasm_trap_t), POINTER(wasm_message_t)] 

1014def wasm_trap_message(arg0: Any, out: Any) -> None: 

1015 return _wasm_trap_message(arg0, out) # type: ignore 

1016 

1017_wasm_trap_origin = dll.wasm_trap_origin 

1018_wasm_trap_origin.restype = POINTER(wasm_frame_t) 

1019_wasm_trap_origin.argtypes = [POINTER(wasm_trap_t)] 

1020def wasm_trap_origin(arg0: Any) -> ctypes._Pointer: 

1021 return _wasm_trap_origin(arg0) # type: ignore 

1022 

1023_wasm_trap_trace = dll.wasm_trap_trace 

1024_wasm_trap_trace.restype = None 

1025_wasm_trap_trace.argtypes = [POINTER(wasm_trap_t), POINTER(wasm_frame_vec_t)] 

1026def wasm_trap_trace(arg0: Any, out: Any) -> None: 

1027 return _wasm_trap_trace(arg0, out) # type: ignore 

1028 

1029class wasm_foreign_t(Structure): 

1030 pass 

1031 

1032_wasm_foreign_delete = dll.wasm_foreign_delete 

1033_wasm_foreign_delete.restype = None 

1034_wasm_foreign_delete.argtypes = [POINTER(wasm_foreign_t)] 

1035def wasm_foreign_delete(arg0: Any) -> None: 

1036 return _wasm_foreign_delete(arg0) # type: ignore 

1037 

1038_wasm_foreign_copy = dll.wasm_foreign_copy 

1039_wasm_foreign_copy.restype = POINTER(wasm_foreign_t) 

1040_wasm_foreign_copy.argtypes = [POINTER(wasm_foreign_t)] 

1041def wasm_foreign_copy(arg0: Any) -> ctypes._Pointer: 

1042 return _wasm_foreign_copy(arg0) # type: ignore 

1043 

1044_wasm_foreign_same = dll.wasm_foreign_same 

1045_wasm_foreign_same.restype = c_bool 

1046_wasm_foreign_same.argtypes = [POINTER(wasm_foreign_t), POINTER(wasm_foreign_t)] 

1047def wasm_foreign_same(arg0: Any, arg1: Any) -> bool: 

1048 return _wasm_foreign_same(arg0, arg1) # type: ignore 

1049 

1050_wasm_foreign_get_host_info = dll.wasm_foreign_get_host_info 

1051_wasm_foreign_get_host_info.restype = c_void_p 

1052_wasm_foreign_get_host_info.argtypes = [POINTER(wasm_foreign_t)] 

1053def wasm_foreign_get_host_info(arg0: Any) -> int: 

1054 return _wasm_foreign_get_host_info(arg0) # type: ignore 

1055 

1056_wasm_foreign_set_host_info = dll.wasm_foreign_set_host_info 

1057_wasm_foreign_set_host_info.restype = None 

1058_wasm_foreign_set_host_info.argtypes = [POINTER(wasm_foreign_t), c_void_p] 

1059def wasm_foreign_set_host_info(arg0: Any, arg1: Any) -> None: 

1060 return _wasm_foreign_set_host_info(arg0, arg1) # type: ignore 

1061 

1062_wasm_foreign_set_host_info_with_finalizer = dll.wasm_foreign_set_host_info_with_finalizer 

1063_wasm_foreign_set_host_info_with_finalizer.restype = None 

1064_wasm_foreign_set_host_info_with_finalizer.argtypes = [POINTER(wasm_foreign_t), c_void_p, CFUNCTYPE(None, c_void_p)] 

1065def wasm_foreign_set_host_info_with_finalizer(arg0: Any, arg1: Any, arg2: Any) -> None: 

1066 return _wasm_foreign_set_host_info_with_finalizer(arg0, arg1, arg2) # type: ignore 

1067 

1068_wasm_foreign_as_ref = dll.wasm_foreign_as_ref 

1069_wasm_foreign_as_ref.restype = POINTER(wasm_ref_t) 

1070_wasm_foreign_as_ref.argtypes = [POINTER(wasm_foreign_t)] 

1071def wasm_foreign_as_ref(arg0: Any) -> ctypes._Pointer: 

1072 return _wasm_foreign_as_ref(arg0) # type: ignore 

1073 

1074_wasm_ref_as_foreign = dll.wasm_ref_as_foreign 

1075_wasm_ref_as_foreign.restype = POINTER(wasm_foreign_t) 

1076_wasm_ref_as_foreign.argtypes = [POINTER(wasm_ref_t)] 

1077def wasm_ref_as_foreign(arg0: Any) -> ctypes._Pointer: 

1078 return _wasm_ref_as_foreign(arg0) # type: ignore 

1079 

1080_wasm_foreign_as_ref_const = dll.wasm_foreign_as_ref_const 

1081_wasm_foreign_as_ref_const.restype = POINTER(wasm_ref_t) 

1082_wasm_foreign_as_ref_const.argtypes = [POINTER(wasm_foreign_t)] 

1083def wasm_foreign_as_ref_const(arg0: Any) -> ctypes._Pointer: 

1084 return _wasm_foreign_as_ref_const(arg0) # type: ignore 

1085 

1086_wasm_ref_as_foreign_const = dll.wasm_ref_as_foreign_const 

1087_wasm_ref_as_foreign_const.restype = POINTER(wasm_foreign_t) 

1088_wasm_ref_as_foreign_const.argtypes = [POINTER(wasm_ref_t)] 

1089def wasm_ref_as_foreign_const(arg0: Any) -> ctypes._Pointer: 

1090 return _wasm_ref_as_foreign_const(arg0) # type: ignore 

1091 

1092_wasm_foreign_new = dll.wasm_foreign_new 

1093_wasm_foreign_new.restype = POINTER(wasm_foreign_t) 

1094_wasm_foreign_new.argtypes = [POINTER(wasm_store_t)] 

1095def wasm_foreign_new(arg0: Any) -> ctypes._Pointer: 

1096 return _wasm_foreign_new(arg0) # type: ignore 

1097 

1098class wasm_module_t(Structure): 

1099 pass 

1100 

1101_wasm_module_delete = dll.wasm_module_delete 

1102_wasm_module_delete.restype = None 

1103_wasm_module_delete.argtypes = [POINTER(wasm_module_t)] 

1104def wasm_module_delete(arg0: Any) -> None: 

1105 return _wasm_module_delete(arg0) # type: ignore 

1106 

1107_wasm_module_copy = dll.wasm_module_copy 

1108_wasm_module_copy.restype = POINTER(wasm_module_t) 

1109_wasm_module_copy.argtypes = [POINTER(wasm_module_t)] 

1110def wasm_module_copy(arg0: Any) -> ctypes._Pointer: 

1111 return _wasm_module_copy(arg0) # type: ignore 

1112 

1113_wasm_module_same = dll.wasm_module_same 

1114_wasm_module_same.restype = c_bool 

1115_wasm_module_same.argtypes = [POINTER(wasm_module_t), POINTER(wasm_module_t)] 

1116def wasm_module_same(arg0: Any, arg1: Any) -> bool: 

1117 return _wasm_module_same(arg0, arg1) # type: ignore 

1118 

1119_wasm_module_get_host_info = dll.wasm_module_get_host_info 

1120_wasm_module_get_host_info.restype = c_void_p 

1121_wasm_module_get_host_info.argtypes = [POINTER(wasm_module_t)] 

1122def wasm_module_get_host_info(arg0: Any) -> int: 

1123 return _wasm_module_get_host_info(arg0) # type: ignore 

1124 

1125_wasm_module_set_host_info = dll.wasm_module_set_host_info 

1126_wasm_module_set_host_info.restype = None 

1127_wasm_module_set_host_info.argtypes = [POINTER(wasm_module_t), c_void_p] 

1128def wasm_module_set_host_info(arg0: Any, arg1: Any) -> None: 

1129 return _wasm_module_set_host_info(arg0, arg1) # type: ignore 

1130 

1131_wasm_module_set_host_info_with_finalizer = dll.wasm_module_set_host_info_with_finalizer 

1132_wasm_module_set_host_info_with_finalizer.restype = None 

1133_wasm_module_set_host_info_with_finalizer.argtypes = [POINTER(wasm_module_t), c_void_p, CFUNCTYPE(None, c_void_p)] 

1134def wasm_module_set_host_info_with_finalizer(arg0: Any, arg1: Any, arg2: Any) -> None: 

1135 return _wasm_module_set_host_info_with_finalizer(arg0, arg1, arg2) # type: ignore 

1136 

1137_wasm_module_as_ref = dll.wasm_module_as_ref 

1138_wasm_module_as_ref.restype = POINTER(wasm_ref_t) 

1139_wasm_module_as_ref.argtypes = [POINTER(wasm_module_t)] 

1140def wasm_module_as_ref(arg0: Any) -> ctypes._Pointer: 

1141 return _wasm_module_as_ref(arg0) # type: ignore 

1142 

1143_wasm_ref_as_module = dll.wasm_ref_as_module 

1144_wasm_ref_as_module.restype = POINTER(wasm_module_t) 

1145_wasm_ref_as_module.argtypes = [POINTER(wasm_ref_t)] 

1146def wasm_ref_as_module(arg0: Any) -> ctypes._Pointer: 

1147 return _wasm_ref_as_module(arg0) # type: ignore 

1148 

1149_wasm_module_as_ref_const = dll.wasm_module_as_ref_const 

1150_wasm_module_as_ref_const.restype = POINTER(wasm_ref_t) 

1151_wasm_module_as_ref_const.argtypes = [POINTER(wasm_module_t)] 

1152def wasm_module_as_ref_const(arg0: Any) -> ctypes._Pointer: 

1153 return _wasm_module_as_ref_const(arg0) # type: ignore 

1154 

1155_wasm_ref_as_module_const = dll.wasm_ref_as_module_const 

1156_wasm_ref_as_module_const.restype = POINTER(wasm_module_t) 

1157_wasm_ref_as_module_const.argtypes = [POINTER(wasm_ref_t)] 

1158def wasm_ref_as_module_const(arg0: Any) -> ctypes._Pointer: 

1159 return _wasm_ref_as_module_const(arg0) # type: ignore 

1160 

1161class wasm_shared_module_t(Structure): 

1162 pass 

1163 

1164_wasm_shared_module_delete = dll.wasm_shared_module_delete 

1165_wasm_shared_module_delete.restype = None 

1166_wasm_shared_module_delete.argtypes = [POINTER(wasm_shared_module_t)] 

1167def wasm_shared_module_delete(arg0: Any) -> None: 

1168 return _wasm_shared_module_delete(arg0) # type: ignore 

1169 

1170_wasm_module_share = dll.wasm_module_share 

1171_wasm_module_share.restype = POINTER(wasm_shared_module_t) 

1172_wasm_module_share.argtypes = [POINTER(wasm_module_t)] 

1173def wasm_module_share(arg0: Any) -> ctypes._Pointer: 

1174 return _wasm_module_share(arg0) # type: ignore 

1175 

1176_wasm_module_obtain = dll.wasm_module_obtain 

1177_wasm_module_obtain.restype = POINTER(wasm_module_t) 

1178_wasm_module_obtain.argtypes = [POINTER(wasm_store_t), POINTER(wasm_shared_module_t)] 

1179def wasm_module_obtain(arg0: Any, arg1: Any) -> ctypes._Pointer: 

1180 return _wasm_module_obtain(arg0, arg1) # type: ignore 

1181 

1182_wasm_module_new = dll.wasm_module_new 

1183_wasm_module_new.restype = POINTER(wasm_module_t) 

1184_wasm_module_new.argtypes = [POINTER(wasm_store_t), POINTER(wasm_byte_vec_t)] 

1185def wasm_module_new(arg0: Any, binary: Any) -> ctypes._Pointer: 

1186 return _wasm_module_new(arg0, binary) # type: ignore 

1187 

1188_wasm_module_validate = dll.wasm_module_validate 

1189_wasm_module_validate.restype = c_bool 

1190_wasm_module_validate.argtypes = [POINTER(wasm_store_t), POINTER(wasm_byte_vec_t)] 

1191def wasm_module_validate(arg0: Any, binary: Any) -> bool: 

1192 return _wasm_module_validate(arg0, binary) # type: ignore 

1193 

1194_wasm_module_imports = dll.wasm_module_imports 

1195_wasm_module_imports.restype = None 

1196_wasm_module_imports.argtypes = [POINTER(wasm_module_t), POINTER(wasm_importtype_vec_t)] 

1197def wasm_module_imports(arg0: Any, out: Any) -> None: 

1198 return _wasm_module_imports(arg0, out) # type: ignore 

1199 

1200_wasm_module_exports = dll.wasm_module_exports 

1201_wasm_module_exports.restype = None 

1202_wasm_module_exports.argtypes = [POINTER(wasm_module_t), POINTER(wasm_exporttype_vec_t)] 

1203def wasm_module_exports(arg0: Any, out: Any) -> None: 

1204 return _wasm_module_exports(arg0, out) # type: ignore 

1205 

1206_wasm_module_serialize = dll.wasm_module_serialize 

1207_wasm_module_serialize.restype = None 

1208_wasm_module_serialize.argtypes = [POINTER(wasm_module_t), POINTER(wasm_byte_vec_t)] 

1209def wasm_module_serialize(arg0: Any, out: Any) -> None: 

1210 return _wasm_module_serialize(arg0, out) # type: ignore 

1211 

1212_wasm_module_deserialize = dll.wasm_module_deserialize 

1213_wasm_module_deserialize.restype = POINTER(wasm_module_t) 

1214_wasm_module_deserialize.argtypes = [POINTER(wasm_store_t), POINTER(wasm_byte_vec_t)] 

1215def wasm_module_deserialize(arg0: Any, arg1: Any) -> ctypes._Pointer: 

1216 return _wasm_module_deserialize(arg0, arg1) # type: ignore 

1217 

1218class wasm_func_t(Structure): 

1219 pass 

1220 

1221_wasm_func_delete = dll.wasm_func_delete 

1222_wasm_func_delete.restype = None 

1223_wasm_func_delete.argtypes = [POINTER(wasm_func_t)] 

1224def wasm_func_delete(arg0: Any) -> None: 

1225 return _wasm_func_delete(arg0) # type: ignore 

1226 

1227_wasm_func_copy = dll.wasm_func_copy 

1228_wasm_func_copy.restype = POINTER(wasm_func_t) 

1229_wasm_func_copy.argtypes = [POINTER(wasm_func_t)] 

1230def wasm_func_copy(arg0: Any) -> ctypes._Pointer: 

1231 return _wasm_func_copy(arg0) # type: ignore 

1232 

1233_wasm_func_same = dll.wasm_func_same 

1234_wasm_func_same.restype = c_bool 

1235_wasm_func_same.argtypes = [POINTER(wasm_func_t), POINTER(wasm_func_t)] 

1236def wasm_func_same(arg0: Any, arg1: Any) -> bool: 

1237 return _wasm_func_same(arg0, arg1) # type: ignore 

1238 

1239_wasm_func_get_host_info = dll.wasm_func_get_host_info 

1240_wasm_func_get_host_info.restype = c_void_p 

1241_wasm_func_get_host_info.argtypes = [POINTER(wasm_func_t)] 

1242def wasm_func_get_host_info(arg0: Any) -> int: 

1243 return _wasm_func_get_host_info(arg0) # type: ignore 

1244 

1245_wasm_func_set_host_info = dll.wasm_func_set_host_info 

1246_wasm_func_set_host_info.restype = None 

1247_wasm_func_set_host_info.argtypes = [POINTER(wasm_func_t), c_void_p] 

1248def wasm_func_set_host_info(arg0: Any, arg1: Any) -> None: 

1249 return _wasm_func_set_host_info(arg0, arg1) # type: ignore 

1250 

1251_wasm_func_set_host_info_with_finalizer = dll.wasm_func_set_host_info_with_finalizer 

1252_wasm_func_set_host_info_with_finalizer.restype = None 

1253_wasm_func_set_host_info_with_finalizer.argtypes = [POINTER(wasm_func_t), c_void_p, CFUNCTYPE(None, c_void_p)] 

1254def wasm_func_set_host_info_with_finalizer(arg0: Any, arg1: Any, arg2: Any) -> None: 

1255 return _wasm_func_set_host_info_with_finalizer(arg0, arg1, arg2) # type: ignore 

1256 

1257_wasm_func_as_ref = dll.wasm_func_as_ref 

1258_wasm_func_as_ref.restype = POINTER(wasm_ref_t) 

1259_wasm_func_as_ref.argtypes = [POINTER(wasm_func_t)] 

1260def wasm_func_as_ref(arg0: Any) -> ctypes._Pointer: 

1261 return _wasm_func_as_ref(arg0) # type: ignore 

1262 

1263_wasm_ref_as_func = dll.wasm_ref_as_func 

1264_wasm_ref_as_func.restype = POINTER(wasm_func_t) 

1265_wasm_ref_as_func.argtypes = [POINTER(wasm_ref_t)] 

1266def wasm_ref_as_func(arg0: Any) -> ctypes._Pointer: 

1267 return _wasm_ref_as_func(arg0) # type: ignore 

1268 

1269_wasm_func_as_ref_const = dll.wasm_func_as_ref_const 

1270_wasm_func_as_ref_const.restype = POINTER(wasm_ref_t) 

1271_wasm_func_as_ref_const.argtypes = [POINTER(wasm_func_t)] 

1272def wasm_func_as_ref_const(arg0: Any) -> ctypes._Pointer: 

1273 return _wasm_func_as_ref_const(arg0) # type: ignore 

1274 

1275_wasm_ref_as_func_const = dll.wasm_ref_as_func_const 

1276_wasm_ref_as_func_const.restype = POINTER(wasm_func_t) 

1277_wasm_ref_as_func_const.argtypes = [POINTER(wasm_ref_t)] 

1278def wasm_ref_as_func_const(arg0: Any) -> ctypes._Pointer: 

1279 return _wasm_ref_as_func_const(arg0) # type: ignore 

1280 

1281wasm_func_callback_t = CFUNCTYPE(c_size_t, POINTER(wasm_val_vec_t), POINTER(wasm_val_vec_t)) 

1282 

1283wasm_func_callback_with_env_t = CFUNCTYPE(c_size_t, c_void_p, POINTER(wasm_val_vec_t), POINTER(wasm_val_vec_t)) 

1284 

1285_wasm_func_new = dll.wasm_func_new 

1286_wasm_func_new.restype = POINTER(wasm_func_t) 

1287_wasm_func_new.argtypes = [POINTER(wasm_store_t), POINTER(wasm_functype_t), wasm_func_callback_t] 

1288def wasm_func_new(arg0: Any, arg1: Any, arg2: Any) -> ctypes._Pointer: 

1289 return _wasm_func_new(arg0, arg1, arg2) # type: ignore 

1290 

1291_wasm_func_new_with_env = dll.wasm_func_new_with_env 

1292_wasm_func_new_with_env.restype = POINTER(wasm_func_t) 

1293_wasm_func_new_with_env.argtypes = [POINTER(wasm_store_t), POINTER(wasm_functype_t), wasm_func_callback_with_env_t, c_void_p, CFUNCTYPE(None, c_void_p)] 

1294def wasm_func_new_with_env(arg0: Any, type: Any, arg2: Any, env: Any, finalizer: Any) -> ctypes._Pointer: 

1295 return _wasm_func_new_with_env(arg0, type, arg2, env, finalizer) # type: ignore 

1296 

1297_wasm_func_type = dll.wasm_func_type 

1298_wasm_func_type.restype = POINTER(wasm_functype_t) 

1299_wasm_func_type.argtypes = [POINTER(wasm_func_t)] 

1300def wasm_func_type(arg0: Any) -> ctypes._Pointer: 

1301 return _wasm_func_type(arg0) # type: ignore 

1302 

1303_wasm_func_param_arity = dll.wasm_func_param_arity 

1304_wasm_func_param_arity.restype = c_size_t 

1305_wasm_func_param_arity.argtypes = [POINTER(wasm_func_t)] 

1306def wasm_func_param_arity(arg0: Any) -> int: 

1307 return _wasm_func_param_arity(arg0) # type: ignore 

1308 

1309_wasm_func_result_arity = dll.wasm_func_result_arity 

1310_wasm_func_result_arity.restype = c_size_t 

1311_wasm_func_result_arity.argtypes = [POINTER(wasm_func_t)] 

1312def wasm_func_result_arity(arg0: Any) -> int: 

1313 return _wasm_func_result_arity(arg0) # type: ignore 

1314 

1315_wasm_func_call = dll.wasm_func_call 

1316_wasm_func_call.restype = POINTER(wasm_trap_t) 

1317_wasm_func_call.argtypes = [POINTER(wasm_func_t), POINTER(wasm_val_vec_t), POINTER(wasm_val_vec_t)] 

1318def wasm_func_call(arg0: Any, args: Any, results: Any) -> ctypes._Pointer: 

1319 return _wasm_func_call(arg0, args, results) # type: ignore 

1320 

1321class wasm_global_t(Structure): 

1322 pass 

1323 

1324_wasm_global_delete = dll.wasm_global_delete 

1325_wasm_global_delete.restype = None 

1326_wasm_global_delete.argtypes = [POINTER(wasm_global_t)] 

1327def wasm_global_delete(arg0: Any) -> None: 

1328 return _wasm_global_delete(arg0) # type: ignore 

1329 

1330_wasm_global_copy = dll.wasm_global_copy 

1331_wasm_global_copy.restype = POINTER(wasm_global_t) 

1332_wasm_global_copy.argtypes = [POINTER(wasm_global_t)] 

1333def wasm_global_copy(arg0: Any) -> ctypes._Pointer: 

1334 return _wasm_global_copy(arg0) # type: ignore 

1335 

1336_wasm_global_same = dll.wasm_global_same 

1337_wasm_global_same.restype = c_bool 

1338_wasm_global_same.argtypes = [POINTER(wasm_global_t), POINTER(wasm_global_t)] 

1339def wasm_global_same(arg0: Any, arg1: Any) -> bool: 

1340 return _wasm_global_same(arg0, arg1) # type: ignore 

1341 

1342_wasm_global_get_host_info = dll.wasm_global_get_host_info 

1343_wasm_global_get_host_info.restype = c_void_p 

1344_wasm_global_get_host_info.argtypes = [POINTER(wasm_global_t)] 

1345def wasm_global_get_host_info(arg0: Any) -> int: 

1346 return _wasm_global_get_host_info(arg0) # type: ignore 

1347 

1348_wasm_global_set_host_info = dll.wasm_global_set_host_info 

1349_wasm_global_set_host_info.restype = None 

1350_wasm_global_set_host_info.argtypes = [POINTER(wasm_global_t), c_void_p] 

1351def wasm_global_set_host_info(arg0: Any, arg1: Any) -> None: 

1352 return _wasm_global_set_host_info(arg0, arg1) # type: ignore 

1353 

1354_wasm_global_set_host_info_with_finalizer = dll.wasm_global_set_host_info_with_finalizer 

1355_wasm_global_set_host_info_with_finalizer.restype = None 

1356_wasm_global_set_host_info_with_finalizer.argtypes = [POINTER(wasm_global_t), c_void_p, CFUNCTYPE(None, c_void_p)] 

1357def wasm_global_set_host_info_with_finalizer(arg0: Any, arg1: Any, arg2: Any) -> None: 

1358 return _wasm_global_set_host_info_with_finalizer(arg0, arg1, arg2) # type: ignore 

1359 

1360_wasm_global_as_ref = dll.wasm_global_as_ref 

1361_wasm_global_as_ref.restype = POINTER(wasm_ref_t) 

1362_wasm_global_as_ref.argtypes = [POINTER(wasm_global_t)] 

1363def wasm_global_as_ref(arg0: Any) -> ctypes._Pointer: 

1364 return _wasm_global_as_ref(arg0) # type: ignore 

1365 

1366_wasm_ref_as_global = dll.wasm_ref_as_global 

1367_wasm_ref_as_global.restype = POINTER(wasm_global_t) 

1368_wasm_ref_as_global.argtypes = [POINTER(wasm_ref_t)] 

1369def wasm_ref_as_global(arg0: Any) -> ctypes._Pointer: 

1370 return _wasm_ref_as_global(arg0) # type: ignore 

1371 

1372_wasm_global_as_ref_const = dll.wasm_global_as_ref_const 

1373_wasm_global_as_ref_const.restype = POINTER(wasm_ref_t) 

1374_wasm_global_as_ref_const.argtypes = [POINTER(wasm_global_t)] 

1375def wasm_global_as_ref_const(arg0: Any) -> ctypes._Pointer: 

1376 return _wasm_global_as_ref_const(arg0) # type: ignore 

1377 

1378_wasm_ref_as_global_const = dll.wasm_ref_as_global_const 

1379_wasm_ref_as_global_const.restype = POINTER(wasm_global_t) 

1380_wasm_ref_as_global_const.argtypes = [POINTER(wasm_ref_t)] 

1381def wasm_ref_as_global_const(arg0: Any) -> ctypes._Pointer: 

1382 return _wasm_ref_as_global_const(arg0) # type: ignore 

1383 

1384_wasm_global_new = dll.wasm_global_new 

1385_wasm_global_new.restype = POINTER(wasm_global_t) 

1386_wasm_global_new.argtypes = [POINTER(wasm_store_t), POINTER(wasm_globaltype_t), POINTER(wasm_val_t)] 

1387def wasm_global_new(arg0: Any, arg1: Any, arg2: Any) -> ctypes._Pointer: 

1388 return _wasm_global_new(arg0, arg1, arg2) # type: ignore 

1389 

1390_wasm_global_type = dll.wasm_global_type 

1391_wasm_global_type.restype = POINTER(wasm_globaltype_t) 

1392_wasm_global_type.argtypes = [POINTER(wasm_global_t)] 

1393def wasm_global_type(arg0: Any) -> ctypes._Pointer: 

1394 return _wasm_global_type(arg0) # type: ignore 

1395 

1396_wasm_global_get = dll.wasm_global_get 

1397_wasm_global_get.restype = None 

1398_wasm_global_get.argtypes = [POINTER(wasm_global_t), POINTER(wasm_val_t)] 

1399def wasm_global_get(arg0: Any, out: Any) -> None: 

1400 return _wasm_global_get(arg0, out) # type: ignore 

1401 

1402_wasm_global_set = dll.wasm_global_set 

1403_wasm_global_set.restype = None 

1404_wasm_global_set.argtypes = [POINTER(wasm_global_t), POINTER(wasm_val_t)] 

1405def wasm_global_set(arg0: Any, arg1: Any) -> None: 

1406 return _wasm_global_set(arg0, arg1) # type: ignore 

1407 

1408class wasm_table_t(Structure): 

1409 pass 

1410 

1411_wasm_table_delete = dll.wasm_table_delete 

1412_wasm_table_delete.restype = None 

1413_wasm_table_delete.argtypes = [POINTER(wasm_table_t)] 

1414def wasm_table_delete(arg0: Any) -> None: 

1415 return _wasm_table_delete(arg0) # type: ignore 

1416 

1417_wasm_table_copy = dll.wasm_table_copy 

1418_wasm_table_copy.restype = POINTER(wasm_table_t) 

1419_wasm_table_copy.argtypes = [POINTER(wasm_table_t)] 

1420def wasm_table_copy(arg0: Any) -> ctypes._Pointer: 

1421 return _wasm_table_copy(arg0) # type: ignore 

1422 

1423_wasm_table_same = dll.wasm_table_same 

1424_wasm_table_same.restype = c_bool 

1425_wasm_table_same.argtypes = [POINTER(wasm_table_t), POINTER(wasm_table_t)] 

1426def wasm_table_same(arg0: Any, arg1: Any) -> bool: 

1427 return _wasm_table_same(arg0, arg1) # type: ignore 

1428 

1429_wasm_table_get_host_info = dll.wasm_table_get_host_info 

1430_wasm_table_get_host_info.restype = c_void_p 

1431_wasm_table_get_host_info.argtypes = [POINTER(wasm_table_t)] 

1432def wasm_table_get_host_info(arg0: Any) -> int: 

1433 return _wasm_table_get_host_info(arg0) # type: ignore 

1434 

1435_wasm_table_set_host_info = dll.wasm_table_set_host_info 

1436_wasm_table_set_host_info.restype = None 

1437_wasm_table_set_host_info.argtypes = [POINTER(wasm_table_t), c_void_p] 

1438def wasm_table_set_host_info(arg0: Any, arg1: Any) -> None: 

1439 return _wasm_table_set_host_info(arg0, arg1) # type: ignore 

1440 

1441_wasm_table_set_host_info_with_finalizer = dll.wasm_table_set_host_info_with_finalizer 

1442_wasm_table_set_host_info_with_finalizer.restype = None 

1443_wasm_table_set_host_info_with_finalizer.argtypes = [POINTER(wasm_table_t), c_void_p, CFUNCTYPE(None, c_void_p)] 

1444def wasm_table_set_host_info_with_finalizer(arg0: Any, arg1: Any, arg2: Any) -> None: 

1445 return _wasm_table_set_host_info_with_finalizer(arg0, arg1, arg2) # type: ignore 

1446 

1447_wasm_table_as_ref = dll.wasm_table_as_ref 

1448_wasm_table_as_ref.restype = POINTER(wasm_ref_t) 

1449_wasm_table_as_ref.argtypes = [POINTER(wasm_table_t)] 

1450def wasm_table_as_ref(arg0: Any) -> ctypes._Pointer: 

1451 return _wasm_table_as_ref(arg0) # type: ignore 

1452 

1453_wasm_ref_as_table = dll.wasm_ref_as_table 

1454_wasm_ref_as_table.restype = POINTER(wasm_table_t) 

1455_wasm_ref_as_table.argtypes = [POINTER(wasm_ref_t)] 

1456def wasm_ref_as_table(arg0: Any) -> ctypes._Pointer: 

1457 return _wasm_ref_as_table(arg0) # type: ignore 

1458 

1459_wasm_table_as_ref_const = dll.wasm_table_as_ref_const 

1460_wasm_table_as_ref_const.restype = POINTER(wasm_ref_t) 

1461_wasm_table_as_ref_const.argtypes = [POINTER(wasm_table_t)] 

1462def wasm_table_as_ref_const(arg0: Any) -> ctypes._Pointer: 

1463 return _wasm_table_as_ref_const(arg0) # type: ignore 

1464 

1465_wasm_ref_as_table_const = dll.wasm_ref_as_table_const 

1466_wasm_ref_as_table_const.restype = POINTER(wasm_table_t) 

1467_wasm_ref_as_table_const.argtypes = [POINTER(wasm_ref_t)] 

1468def wasm_ref_as_table_const(arg0: Any) -> ctypes._Pointer: 

1469 return _wasm_ref_as_table_const(arg0) # type: ignore 

1470 

1471wasm_table_size_t = c_uint32 

1472 

1473_wasm_table_new = dll.wasm_table_new 

1474_wasm_table_new.restype = POINTER(wasm_table_t) 

1475_wasm_table_new.argtypes = [POINTER(wasm_store_t), POINTER(wasm_tabletype_t), POINTER(wasm_ref_t)] 

1476def wasm_table_new(arg0: Any, arg1: Any, init: Any) -> ctypes._Pointer: 

1477 return _wasm_table_new(arg0, arg1, init) # type: ignore 

1478 

1479_wasm_table_type = dll.wasm_table_type 

1480_wasm_table_type.restype = POINTER(wasm_tabletype_t) 

1481_wasm_table_type.argtypes = [POINTER(wasm_table_t)] 

1482def wasm_table_type(arg0: Any) -> ctypes._Pointer: 

1483 return _wasm_table_type(arg0) # type: ignore 

1484 

1485_wasm_table_get = dll.wasm_table_get 

1486_wasm_table_get.restype = POINTER(wasm_ref_t) 

1487_wasm_table_get.argtypes = [POINTER(wasm_table_t), wasm_table_size_t] 

1488def wasm_table_get(arg0: Any, index: Any) -> ctypes._Pointer: 

1489 return _wasm_table_get(arg0, index) # type: ignore 

1490 

1491_wasm_table_set = dll.wasm_table_set 

1492_wasm_table_set.restype = c_bool 

1493_wasm_table_set.argtypes = [POINTER(wasm_table_t), wasm_table_size_t, POINTER(wasm_ref_t)] 

1494def wasm_table_set(arg0: Any, index: Any, arg2: Any) -> bool: 

1495 return _wasm_table_set(arg0, index, arg2) # type: ignore 

1496 

1497_wasm_table_size = dll.wasm_table_size 

1498_wasm_table_size.restype = wasm_table_size_t 

1499_wasm_table_size.argtypes = [POINTER(wasm_table_t)] 

1500def wasm_table_size(arg0: Any) -> int: 

1501 return _wasm_table_size(arg0) # type: ignore 

1502 

1503_wasm_table_grow = dll.wasm_table_grow 

1504_wasm_table_grow.restype = c_bool 

1505_wasm_table_grow.argtypes = [POINTER(wasm_table_t), wasm_table_size_t, POINTER(wasm_ref_t)] 

1506def wasm_table_grow(arg0: Any, delta: Any, init: Any) -> bool: 

1507 return _wasm_table_grow(arg0, delta, init) # type: ignore 

1508 

1509class wasm_memory_t(Structure): 

1510 pass 

1511 

1512_wasm_memory_delete = dll.wasm_memory_delete 

1513_wasm_memory_delete.restype = None 

1514_wasm_memory_delete.argtypes = [POINTER(wasm_memory_t)] 

1515def wasm_memory_delete(arg0: Any) -> None: 

1516 return _wasm_memory_delete(arg0) # type: ignore 

1517 

1518_wasm_memory_copy = dll.wasm_memory_copy 

1519_wasm_memory_copy.restype = POINTER(wasm_memory_t) 

1520_wasm_memory_copy.argtypes = [POINTER(wasm_memory_t)] 

1521def wasm_memory_copy(arg0: Any) -> ctypes._Pointer: 

1522 return _wasm_memory_copy(arg0) # type: ignore 

1523 

1524_wasm_memory_same = dll.wasm_memory_same 

1525_wasm_memory_same.restype = c_bool 

1526_wasm_memory_same.argtypes = [POINTER(wasm_memory_t), POINTER(wasm_memory_t)] 

1527def wasm_memory_same(arg0: Any, arg1: Any) -> bool: 

1528 return _wasm_memory_same(arg0, arg1) # type: ignore 

1529 

1530_wasm_memory_get_host_info = dll.wasm_memory_get_host_info 

1531_wasm_memory_get_host_info.restype = c_void_p 

1532_wasm_memory_get_host_info.argtypes = [POINTER(wasm_memory_t)] 

1533def wasm_memory_get_host_info(arg0: Any) -> int: 

1534 return _wasm_memory_get_host_info(arg0) # type: ignore 

1535 

1536_wasm_memory_set_host_info = dll.wasm_memory_set_host_info 

1537_wasm_memory_set_host_info.restype = None 

1538_wasm_memory_set_host_info.argtypes = [POINTER(wasm_memory_t), c_void_p] 

1539def wasm_memory_set_host_info(arg0: Any, arg1: Any) -> None: 

1540 return _wasm_memory_set_host_info(arg0, arg1) # type: ignore 

1541 

1542_wasm_memory_set_host_info_with_finalizer = dll.wasm_memory_set_host_info_with_finalizer 

1543_wasm_memory_set_host_info_with_finalizer.restype = None 

1544_wasm_memory_set_host_info_with_finalizer.argtypes = [POINTER(wasm_memory_t), c_void_p, CFUNCTYPE(None, c_void_p)] 

1545def wasm_memory_set_host_info_with_finalizer(arg0: Any, arg1: Any, arg2: Any) -> None: 

1546 return _wasm_memory_set_host_info_with_finalizer(arg0, arg1, arg2) # type: ignore 

1547 

1548_wasm_memory_as_ref = dll.wasm_memory_as_ref 

1549_wasm_memory_as_ref.restype = POINTER(wasm_ref_t) 

1550_wasm_memory_as_ref.argtypes = [POINTER(wasm_memory_t)] 

1551def wasm_memory_as_ref(arg0: Any) -> ctypes._Pointer: 

1552 return _wasm_memory_as_ref(arg0) # type: ignore 

1553 

1554_wasm_ref_as_memory = dll.wasm_ref_as_memory 

1555_wasm_ref_as_memory.restype = POINTER(wasm_memory_t) 

1556_wasm_ref_as_memory.argtypes = [POINTER(wasm_ref_t)] 

1557def wasm_ref_as_memory(arg0: Any) -> ctypes._Pointer: 

1558 return _wasm_ref_as_memory(arg0) # type: ignore 

1559 

1560_wasm_memory_as_ref_const = dll.wasm_memory_as_ref_const 

1561_wasm_memory_as_ref_const.restype = POINTER(wasm_ref_t) 

1562_wasm_memory_as_ref_const.argtypes = [POINTER(wasm_memory_t)] 

1563def wasm_memory_as_ref_const(arg0: Any) -> ctypes._Pointer: 

1564 return _wasm_memory_as_ref_const(arg0) # type: ignore 

1565 

1566_wasm_ref_as_memory_const = dll.wasm_ref_as_memory_const 

1567_wasm_ref_as_memory_const.restype = POINTER(wasm_memory_t) 

1568_wasm_ref_as_memory_const.argtypes = [POINTER(wasm_ref_t)] 

1569def wasm_ref_as_memory_const(arg0: Any) -> ctypes._Pointer: 

1570 return _wasm_ref_as_memory_const(arg0) # type: ignore 

1571 

1572wasm_memory_pages_t = c_uint32 

1573 

1574_wasm_memory_new = dll.wasm_memory_new 

1575_wasm_memory_new.restype = POINTER(wasm_memory_t) 

1576_wasm_memory_new.argtypes = [POINTER(wasm_store_t), POINTER(wasm_memorytype_t)] 

1577def wasm_memory_new(arg0: Any, arg1: Any) -> ctypes._Pointer: 

1578 return _wasm_memory_new(arg0, arg1) # type: ignore 

1579 

1580_wasm_memory_type = dll.wasm_memory_type 

1581_wasm_memory_type.restype = POINTER(wasm_memorytype_t) 

1582_wasm_memory_type.argtypes = [POINTER(wasm_memory_t)] 

1583def wasm_memory_type(arg0: Any) -> ctypes._Pointer: 

1584 return _wasm_memory_type(arg0) # type: ignore 

1585 

1586_wasm_memory_data = dll.wasm_memory_data 

1587_wasm_memory_data.restype = POINTER(c_ubyte) 

1588_wasm_memory_data.argtypes = [POINTER(wasm_memory_t)] 

1589def wasm_memory_data(arg0: Any) -> ctypes._Pointer: 

1590 return _wasm_memory_data(arg0) # type: ignore 

1591 

1592_wasm_memory_data_size = dll.wasm_memory_data_size 

1593_wasm_memory_data_size.restype = c_size_t 

1594_wasm_memory_data_size.argtypes = [POINTER(wasm_memory_t)] 

1595def wasm_memory_data_size(arg0: Any) -> int: 

1596 return _wasm_memory_data_size(arg0) # type: ignore 

1597 

1598_wasm_memory_size = dll.wasm_memory_size 

1599_wasm_memory_size.restype = wasm_memory_pages_t 

1600_wasm_memory_size.argtypes = [POINTER(wasm_memory_t)] 

1601def wasm_memory_size(arg0: Any) -> int: 

1602 return _wasm_memory_size(arg0) # type: ignore 

1603 

1604_wasm_memory_grow = dll.wasm_memory_grow 

1605_wasm_memory_grow.restype = c_bool 

1606_wasm_memory_grow.argtypes = [POINTER(wasm_memory_t), wasm_memory_pages_t] 

1607def wasm_memory_grow(arg0: Any, delta: Any) -> bool: 

1608 return _wasm_memory_grow(arg0, delta) # type: ignore 

1609 

1610class wasm_extern_t(Structure): 

1611 pass 

1612 

1613_wasm_extern_delete = dll.wasm_extern_delete 

1614_wasm_extern_delete.restype = None 

1615_wasm_extern_delete.argtypes = [POINTER(wasm_extern_t)] 

1616def wasm_extern_delete(arg0: Any) -> None: 

1617 return _wasm_extern_delete(arg0) # type: ignore 

1618 

1619_wasm_extern_copy = dll.wasm_extern_copy 

1620_wasm_extern_copy.restype = POINTER(wasm_extern_t) 

1621_wasm_extern_copy.argtypes = [POINTER(wasm_extern_t)] 

1622def wasm_extern_copy(arg0: Any) -> ctypes._Pointer: 

1623 return _wasm_extern_copy(arg0) # type: ignore 

1624 

1625_wasm_extern_same = dll.wasm_extern_same 

1626_wasm_extern_same.restype = c_bool 

1627_wasm_extern_same.argtypes = [POINTER(wasm_extern_t), POINTER(wasm_extern_t)] 

1628def wasm_extern_same(arg0: Any, arg1: Any) -> bool: 

1629 return _wasm_extern_same(arg0, arg1) # type: ignore 

1630 

1631_wasm_extern_get_host_info = dll.wasm_extern_get_host_info 

1632_wasm_extern_get_host_info.restype = c_void_p 

1633_wasm_extern_get_host_info.argtypes = [POINTER(wasm_extern_t)] 

1634def wasm_extern_get_host_info(arg0: Any) -> int: 

1635 return _wasm_extern_get_host_info(arg0) # type: ignore 

1636 

1637_wasm_extern_set_host_info = dll.wasm_extern_set_host_info 

1638_wasm_extern_set_host_info.restype = None 

1639_wasm_extern_set_host_info.argtypes = [POINTER(wasm_extern_t), c_void_p] 

1640def wasm_extern_set_host_info(arg0: Any, arg1: Any) -> None: 

1641 return _wasm_extern_set_host_info(arg0, arg1) # type: ignore 

1642 

1643_wasm_extern_set_host_info_with_finalizer = dll.wasm_extern_set_host_info_with_finalizer 

1644_wasm_extern_set_host_info_with_finalizer.restype = None 

1645_wasm_extern_set_host_info_with_finalizer.argtypes = [POINTER(wasm_extern_t), c_void_p, CFUNCTYPE(None, c_void_p)] 

1646def wasm_extern_set_host_info_with_finalizer(arg0: Any, arg1: Any, arg2: Any) -> None: 

1647 return _wasm_extern_set_host_info_with_finalizer(arg0, arg1, arg2) # type: ignore 

1648 

1649_wasm_extern_as_ref = dll.wasm_extern_as_ref 

1650_wasm_extern_as_ref.restype = POINTER(wasm_ref_t) 

1651_wasm_extern_as_ref.argtypes = [POINTER(wasm_extern_t)] 

1652def wasm_extern_as_ref(arg0: Any) -> ctypes._Pointer: 

1653 return _wasm_extern_as_ref(arg0) # type: ignore 

1654 

1655_wasm_ref_as_extern = dll.wasm_ref_as_extern 

1656_wasm_ref_as_extern.restype = POINTER(wasm_extern_t) 

1657_wasm_ref_as_extern.argtypes = [POINTER(wasm_ref_t)] 

1658def wasm_ref_as_extern(arg0: Any) -> ctypes._Pointer: 

1659 return _wasm_ref_as_extern(arg0) # type: ignore 

1660 

1661_wasm_extern_as_ref_const = dll.wasm_extern_as_ref_const 

1662_wasm_extern_as_ref_const.restype = POINTER(wasm_ref_t) 

1663_wasm_extern_as_ref_const.argtypes = [POINTER(wasm_extern_t)] 

1664def wasm_extern_as_ref_const(arg0: Any) -> ctypes._Pointer: 

1665 return _wasm_extern_as_ref_const(arg0) # type: ignore 

1666 

1667_wasm_ref_as_extern_const = dll.wasm_ref_as_extern_const 

1668_wasm_ref_as_extern_const.restype = POINTER(wasm_extern_t) 

1669_wasm_ref_as_extern_const.argtypes = [POINTER(wasm_ref_t)] 

1670def wasm_ref_as_extern_const(arg0: Any) -> ctypes._Pointer: 

1671 return _wasm_ref_as_extern_const(arg0) # type: ignore 

1672 

1673class wasm_extern_vec_t(Structure): 

1674 _fields_ = [ 

1675 ("size", c_size_t), 

1676 ("data", POINTER(POINTER(wasm_extern_t))), 

1677 ] 

1678 size: int 

1679 data: ctypes._Pointer 

1680 

1681_wasm_extern_vec_new_empty = dll.wasm_extern_vec_new_empty 

1682_wasm_extern_vec_new_empty.restype = None 

1683_wasm_extern_vec_new_empty.argtypes = [POINTER(wasm_extern_vec_t)] 

1684def wasm_extern_vec_new_empty(out: Any) -> None: 

1685 return _wasm_extern_vec_new_empty(out) # type: ignore 

1686 

1687_wasm_extern_vec_new_uninitialized = dll.wasm_extern_vec_new_uninitialized 

1688_wasm_extern_vec_new_uninitialized.restype = None 

1689_wasm_extern_vec_new_uninitialized.argtypes = [POINTER(wasm_extern_vec_t), c_size_t] 

1690def wasm_extern_vec_new_uninitialized(out: Any, arg1: Any) -> None: 

1691 return _wasm_extern_vec_new_uninitialized(out, arg1) # type: ignore 

1692 

1693_wasm_extern_vec_new = dll.wasm_extern_vec_new 

1694_wasm_extern_vec_new.restype = None 

1695_wasm_extern_vec_new.argtypes = [POINTER(wasm_extern_vec_t), c_size_t, POINTER(POINTER(wasm_extern_t))] 

1696def wasm_extern_vec_new(out: Any, arg1: Any, arg2: Any) -> None: 

1697 return _wasm_extern_vec_new(out, arg1, arg2) # type: ignore 

1698 

1699_wasm_extern_vec_copy = dll.wasm_extern_vec_copy 

1700_wasm_extern_vec_copy.restype = None 

1701_wasm_extern_vec_copy.argtypes = [POINTER(wasm_extern_vec_t), POINTER(wasm_extern_vec_t)] 

1702def wasm_extern_vec_copy(out: Any, arg1: Any) -> None: 

1703 return _wasm_extern_vec_copy(out, arg1) # type: ignore 

1704 

1705_wasm_extern_vec_delete = dll.wasm_extern_vec_delete 

1706_wasm_extern_vec_delete.restype = None 

1707_wasm_extern_vec_delete.argtypes = [POINTER(wasm_extern_vec_t)] 

1708def wasm_extern_vec_delete(arg0: Any) -> None: 

1709 return _wasm_extern_vec_delete(arg0) # type: ignore 

1710 

1711_wasm_extern_kind = dll.wasm_extern_kind 

1712_wasm_extern_kind.restype = wasm_externkind_t 

1713_wasm_extern_kind.argtypes = [POINTER(wasm_extern_t)] 

1714def wasm_extern_kind(arg0: Any) -> wasm_externkind_t: 

1715 return _wasm_extern_kind(arg0) # type: ignore 

1716 

1717_wasm_extern_type = dll.wasm_extern_type 

1718_wasm_extern_type.restype = POINTER(wasm_externtype_t) 

1719_wasm_extern_type.argtypes = [POINTER(wasm_extern_t)] 

1720def wasm_extern_type(arg0: Any) -> ctypes._Pointer: 

1721 return _wasm_extern_type(arg0) # type: ignore 

1722 

1723_wasm_func_as_extern = dll.wasm_func_as_extern 

1724_wasm_func_as_extern.restype = POINTER(wasm_extern_t) 

1725_wasm_func_as_extern.argtypes = [POINTER(wasm_func_t)] 

1726def wasm_func_as_extern(arg0: Any) -> ctypes._Pointer: 

1727 return _wasm_func_as_extern(arg0) # type: ignore 

1728 

1729_wasm_global_as_extern = dll.wasm_global_as_extern 

1730_wasm_global_as_extern.restype = POINTER(wasm_extern_t) 

1731_wasm_global_as_extern.argtypes = [POINTER(wasm_global_t)] 

1732def wasm_global_as_extern(arg0: Any) -> ctypes._Pointer: 

1733 return _wasm_global_as_extern(arg0) # type: ignore 

1734 

1735_wasm_table_as_extern = dll.wasm_table_as_extern 

1736_wasm_table_as_extern.restype = POINTER(wasm_extern_t) 

1737_wasm_table_as_extern.argtypes = [POINTER(wasm_table_t)] 

1738def wasm_table_as_extern(arg0: Any) -> ctypes._Pointer: 

1739 return _wasm_table_as_extern(arg0) # type: ignore 

1740 

1741_wasm_memory_as_extern = dll.wasm_memory_as_extern 

1742_wasm_memory_as_extern.restype = POINTER(wasm_extern_t) 

1743_wasm_memory_as_extern.argtypes = [POINTER(wasm_memory_t)] 

1744def wasm_memory_as_extern(arg0: Any) -> ctypes._Pointer: 

1745 return _wasm_memory_as_extern(arg0) # type: ignore 

1746 

1747_wasm_extern_as_func = dll.wasm_extern_as_func 

1748_wasm_extern_as_func.restype = POINTER(wasm_func_t) 

1749_wasm_extern_as_func.argtypes = [POINTER(wasm_extern_t)] 

1750def wasm_extern_as_func(arg0: Any) -> ctypes._Pointer: 

1751 return _wasm_extern_as_func(arg0) # type: ignore 

1752 

1753_wasm_extern_as_global = dll.wasm_extern_as_global 

1754_wasm_extern_as_global.restype = POINTER(wasm_global_t) 

1755_wasm_extern_as_global.argtypes = [POINTER(wasm_extern_t)] 

1756def wasm_extern_as_global(arg0: Any) -> ctypes._Pointer: 

1757 return _wasm_extern_as_global(arg0) # type: ignore 

1758 

1759_wasm_extern_as_table = dll.wasm_extern_as_table 

1760_wasm_extern_as_table.restype = POINTER(wasm_table_t) 

1761_wasm_extern_as_table.argtypes = [POINTER(wasm_extern_t)] 

1762def wasm_extern_as_table(arg0: Any) -> ctypes._Pointer: 

1763 return _wasm_extern_as_table(arg0) # type: ignore 

1764 

1765_wasm_extern_as_memory = dll.wasm_extern_as_memory 

1766_wasm_extern_as_memory.restype = POINTER(wasm_memory_t) 

1767_wasm_extern_as_memory.argtypes = [POINTER(wasm_extern_t)] 

1768def wasm_extern_as_memory(arg0: Any) -> ctypes._Pointer: 

1769 return _wasm_extern_as_memory(arg0) # type: ignore 

1770 

1771_wasm_func_as_extern_const = dll.wasm_func_as_extern_const 

1772_wasm_func_as_extern_const.restype = POINTER(wasm_extern_t) 

1773_wasm_func_as_extern_const.argtypes = [POINTER(wasm_func_t)] 

1774def wasm_func_as_extern_const(arg0: Any) -> ctypes._Pointer: 

1775 return _wasm_func_as_extern_const(arg0) # type: ignore 

1776 

1777_wasm_global_as_extern_const = dll.wasm_global_as_extern_const 

1778_wasm_global_as_extern_const.restype = POINTER(wasm_extern_t) 

1779_wasm_global_as_extern_const.argtypes = [POINTER(wasm_global_t)] 

1780def wasm_global_as_extern_const(arg0: Any) -> ctypes._Pointer: 

1781 return _wasm_global_as_extern_const(arg0) # type: ignore 

1782 

1783_wasm_table_as_extern_const = dll.wasm_table_as_extern_const 

1784_wasm_table_as_extern_const.restype = POINTER(wasm_extern_t) 

1785_wasm_table_as_extern_const.argtypes = [POINTER(wasm_table_t)] 

1786def wasm_table_as_extern_const(arg0: Any) -> ctypes._Pointer: 

1787 return _wasm_table_as_extern_const(arg0) # type: ignore 

1788 

1789_wasm_memory_as_extern_const = dll.wasm_memory_as_extern_const 

1790_wasm_memory_as_extern_const.restype = POINTER(wasm_extern_t) 

1791_wasm_memory_as_extern_const.argtypes = [POINTER(wasm_memory_t)] 

1792def wasm_memory_as_extern_const(arg0: Any) -> ctypes._Pointer: 

1793 return _wasm_memory_as_extern_const(arg0) # type: ignore 

1794 

1795_wasm_extern_as_func_const = dll.wasm_extern_as_func_const 

1796_wasm_extern_as_func_const.restype = POINTER(wasm_func_t) 

1797_wasm_extern_as_func_const.argtypes = [POINTER(wasm_extern_t)] 

1798def wasm_extern_as_func_const(arg0: Any) -> ctypes._Pointer: 

1799 return _wasm_extern_as_func_const(arg0) # type: ignore 

1800 

1801_wasm_extern_as_global_const = dll.wasm_extern_as_global_const 

1802_wasm_extern_as_global_const.restype = POINTER(wasm_global_t) 

1803_wasm_extern_as_global_const.argtypes = [POINTER(wasm_extern_t)] 

1804def wasm_extern_as_global_const(arg0: Any) -> ctypes._Pointer: 

1805 return _wasm_extern_as_global_const(arg0) # type: ignore 

1806 

1807_wasm_extern_as_table_const = dll.wasm_extern_as_table_const 

1808_wasm_extern_as_table_const.restype = POINTER(wasm_table_t) 

1809_wasm_extern_as_table_const.argtypes = [POINTER(wasm_extern_t)] 

1810def wasm_extern_as_table_const(arg0: Any) -> ctypes._Pointer: 

1811 return _wasm_extern_as_table_const(arg0) # type: ignore 

1812 

1813_wasm_extern_as_memory_const = dll.wasm_extern_as_memory_const 

1814_wasm_extern_as_memory_const.restype = POINTER(wasm_memory_t) 

1815_wasm_extern_as_memory_const.argtypes = [POINTER(wasm_extern_t)] 

1816def wasm_extern_as_memory_const(arg0: Any) -> ctypes._Pointer: 

1817 return _wasm_extern_as_memory_const(arg0) # type: ignore 

1818 

1819class wasm_instance_t(Structure): 

1820 pass 

1821 

1822_wasm_instance_delete = dll.wasm_instance_delete 

1823_wasm_instance_delete.restype = None 

1824_wasm_instance_delete.argtypes = [POINTER(wasm_instance_t)] 

1825def wasm_instance_delete(arg0: Any) -> None: 

1826 return _wasm_instance_delete(arg0) # type: ignore 

1827 

1828_wasm_instance_copy = dll.wasm_instance_copy 

1829_wasm_instance_copy.restype = POINTER(wasm_instance_t) 

1830_wasm_instance_copy.argtypes = [POINTER(wasm_instance_t)] 

1831def wasm_instance_copy(arg0: Any) -> ctypes._Pointer: 

1832 return _wasm_instance_copy(arg0) # type: ignore 

1833 

1834_wasm_instance_same = dll.wasm_instance_same 

1835_wasm_instance_same.restype = c_bool 

1836_wasm_instance_same.argtypes = [POINTER(wasm_instance_t), POINTER(wasm_instance_t)] 

1837def wasm_instance_same(arg0: Any, arg1: Any) -> bool: 

1838 return _wasm_instance_same(arg0, arg1) # type: ignore 

1839 

1840_wasm_instance_get_host_info = dll.wasm_instance_get_host_info 

1841_wasm_instance_get_host_info.restype = c_void_p 

1842_wasm_instance_get_host_info.argtypes = [POINTER(wasm_instance_t)] 

1843def wasm_instance_get_host_info(arg0: Any) -> int: 

1844 return _wasm_instance_get_host_info(arg0) # type: ignore 

1845 

1846_wasm_instance_set_host_info = dll.wasm_instance_set_host_info 

1847_wasm_instance_set_host_info.restype = None 

1848_wasm_instance_set_host_info.argtypes = [POINTER(wasm_instance_t), c_void_p] 

1849def wasm_instance_set_host_info(arg0: Any, arg1: Any) -> None: 

1850 return _wasm_instance_set_host_info(arg0, arg1) # type: ignore 

1851 

1852_wasm_instance_set_host_info_with_finalizer = dll.wasm_instance_set_host_info_with_finalizer 

1853_wasm_instance_set_host_info_with_finalizer.restype = None 

1854_wasm_instance_set_host_info_with_finalizer.argtypes = [POINTER(wasm_instance_t), c_void_p, CFUNCTYPE(None, c_void_p)] 

1855def wasm_instance_set_host_info_with_finalizer(arg0: Any, arg1: Any, arg2: Any) -> None: 

1856 return _wasm_instance_set_host_info_with_finalizer(arg0, arg1, arg2) # type: ignore 

1857 

1858_wasm_instance_as_ref = dll.wasm_instance_as_ref 

1859_wasm_instance_as_ref.restype = POINTER(wasm_ref_t) 

1860_wasm_instance_as_ref.argtypes = [POINTER(wasm_instance_t)] 

1861def wasm_instance_as_ref(arg0: Any) -> ctypes._Pointer: 

1862 return _wasm_instance_as_ref(arg0) # type: ignore 

1863 

1864_wasm_ref_as_instance = dll.wasm_ref_as_instance 

1865_wasm_ref_as_instance.restype = POINTER(wasm_instance_t) 

1866_wasm_ref_as_instance.argtypes = [POINTER(wasm_ref_t)] 

1867def wasm_ref_as_instance(arg0: Any) -> ctypes._Pointer: 

1868 return _wasm_ref_as_instance(arg0) # type: ignore 

1869 

1870_wasm_instance_as_ref_const = dll.wasm_instance_as_ref_const 

1871_wasm_instance_as_ref_const.restype = POINTER(wasm_ref_t) 

1872_wasm_instance_as_ref_const.argtypes = [POINTER(wasm_instance_t)] 

1873def wasm_instance_as_ref_const(arg0: Any) -> ctypes._Pointer: 

1874 return _wasm_instance_as_ref_const(arg0) # type: ignore 

1875 

1876_wasm_ref_as_instance_const = dll.wasm_ref_as_instance_const 

1877_wasm_ref_as_instance_const.restype = POINTER(wasm_instance_t) 

1878_wasm_ref_as_instance_const.argtypes = [POINTER(wasm_ref_t)] 

1879def wasm_ref_as_instance_const(arg0: Any) -> ctypes._Pointer: 

1880 return _wasm_ref_as_instance_const(arg0) # type: ignore 

1881 

1882_wasm_instance_new = dll.wasm_instance_new 

1883_wasm_instance_new.restype = POINTER(wasm_instance_t) 

1884_wasm_instance_new.argtypes = [POINTER(wasm_store_t), POINTER(wasm_module_t), POINTER(wasm_extern_vec_t), POINTER(POINTER(wasm_trap_t))] 

1885def wasm_instance_new(arg0: Any, arg1: Any, imports: Any, arg3: Any) -> ctypes._Pointer: 

1886 return _wasm_instance_new(arg0, arg1, imports, arg3) # type: ignore 

1887 

1888_wasm_instance_exports = dll.wasm_instance_exports 

1889_wasm_instance_exports.restype = None 

1890_wasm_instance_exports.argtypes = [POINTER(wasm_instance_t), POINTER(wasm_extern_vec_t)] 

1891def wasm_instance_exports(arg0: Any, out: Any) -> None: 

1892 return _wasm_instance_exports(arg0, out) # type: ignore 

1893 

1894class wasi_config_t(Structure): 

1895 pass 

1896 

1897_wasi_config_delete = dll.wasi_config_delete 

1898_wasi_config_delete.restype = None 

1899_wasi_config_delete.argtypes = [POINTER(wasi_config_t)] 

1900def wasi_config_delete(arg0: Any) -> None: 

1901 return _wasi_config_delete(arg0) # type: ignore 

1902 

1903_wasi_config_new = dll.wasi_config_new 

1904_wasi_config_new.restype = POINTER(wasi_config_t) 

1905_wasi_config_new.argtypes = [] 

1906def wasi_config_new() -> ctypes._Pointer: 

1907 return _wasi_config_new() # type: ignore 

1908 

1909_wasi_config_set_argv = dll.wasi_config_set_argv 

1910_wasi_config_set_argv.restype = c_bool 

1911_wasi_config_set_argv.argtypes = [POINTER(wasi_config_t), c_size_t, POINTER(POINTER(c_char))] 

1912def wasi_config_set_argv(config: Any, argc: Any, argv: Any) -> bool: 

1913 return _wasi_config_set_argv(config, argc, argv) # type: ignore 

1914 

1915_wasi_config_inherit_argv = dll.wasi_config_inherit_argv 

1916_wasi_config_inherit_argv.restype = None 

1917_wasi_config_inherit_argv.argtypes = [POINTER(wasi_config_t)] 

1918def wasi_config_inherit_argv(config: Any) -> None: 

1919 return _wasi_config_inherit_argv(config) # type: ignore 

1920 

1921_wasi_config_set_env = dll.wasi_config_set_env 

1922_wasi_config_set_env.restype = c_bool 

1923_wasi_config_set_env.argtypes = [POINTER(wasi_config_t), c_size_t, POINTER(POINTER(c_char)), POINTER(POINTER(c_char))] 

1924def wasi_config_set_env(config: Any, envc: Any, names: Any, values: Any) -> bool: 

1925 return _wasi_config_set_env(config, envc, names, values) # type: ignore 

1926 

1927_wasi_config_inherit_env = dll.wasi_config_inherit_env 

1928_wasi_config_inherit_env.restype = None 

1929_wasi_config_inherit_env.argtypes = [POINTER(wasi_config_t)] 

1930def wasi_config_inherit_env(config: Any) -> None: 

1931 return _wasi_config_inherit_env(config) # type: ignore 

1932 

1933_wasi_config_set_stdin_file = dll.wasi_config_set_stdin_file 

1934_wasi_config_set_stdin_file.restype = c_bool 

1935_wasi_config_set_stdin_file.argtypes = [POINTER(wasi_config_t), POINTER(c_char)] 

1936def wasi_config_set_stdin_file(config: Any, path: Any) -> bool: 

1937 return _wasi_config_set_stdin_file(config, path) # type: ignore 

1938 

1939_wasi_config_set_stdin_bytes = dll.wasi_config_set_stdin_bytes 

1940_wasi_config_set_stdin_bytes.restype = None 

1941_wasi_config_set_stdin_bytes.argtypes = [POINTER(wasi_config_t), POINTER(wasm_byte_vec_t)] 

1942def wasi_config_set_stdin_bytes(config: Any, binary: Any) -> None: 

1943 return _wasi_config_set_stdin_bytes(config, binary) # type: ignore 

1944 

1945_wasi_config_inherit_stdin = dll.wasi_config_inherit_stdin 

1946_wasi_config_inherit_stdin.restype = None 

1947_wasi_config_inherit_stdin.argtypes = [POINTER(wasi_config_t)] 

1948def wasi_config_inherit_stdin(config: Any) -> None: 

1949 return _wasi_config_inherit_stdin(config) # type: ignore 

1950 

1951_wasi_config_set_stdout_file = dll.wasi_config_set_stdout_file 

1952_wasi_config_set_stdout_file.restype = c_bool 

1953_wasi_config_set_stdout_file.argtypes = [POINTER(wasi_config_t), POINTER(c_char)] 

1954def wasi_config_set_stdout_file(config: Any, path: Any) -> bool: 

1955 return _wasi_config_set_stdout_file(config, path) # type: ignore 

1956 

1957_wasi_config_inherit_stdout = dll.wasi_config_inherit_stdout 

1958_wasi_config_inherit_stdout.restype = None 

1959_wasi_config_inherit_stdout.argtypes = [POINTER(wasi_config_t)] 

1960def wasi_config_inherit_stdout(config: Any) -> None: 

1961 return _wasi_config_inherit_stdout(config) # type: ignore 

1962 

1963_wasi_config_set_stderr_file = dll.wasi_config_set_stderr_file 

1964_wasi_config_set_stderr_file.restype = c_bool 

1965_wasi_config_set_stderr_file.argtypes = [POINTER(wasi_config_t), POINTER(c_char)] 

1966def wasi_config_set_stderr_file(config: Any, path: Any) -> bool: 

1967 return _wasi_config_set_stderr_file(config, path) # type: ignore 

1968 

1969_wasi_config_inherit_stderr = dll.wasi_config_inherit_stderr 

1970_wasi_config_inherit_stderr.restype = None 

1971_wasi_config_inherit_stderr.argtypes = [POINTER(wasi_config_t)] 

1972def wasi_config_inherit_stderr(config: Any) -> None: 

1973 return _wasi_config_inherit_stderr(config) # type: ignore 

1974 

1975class wasi_dir_perms_flags(Enum): 

1976 WASMTIME_WASI_DIR_PERMS_READ = 1 

1977 WASMTIME_WASI_DIR_PERMS_WRITE = 2 

1978 

1979wasi_dir_perms = c_size_t 

1980 

1981class wasi_file_perms_flags(Enum): 

1982 WASMTIME_WASI_FILE_PERMS_READ = 1 

1983 WASMTIME_WASI_FILE_PERMS_WRITE = 2 

1984 

1985wasi_file_perms = c_size_t 

1986 

1987_wasi_config_preopen_dir = dll.wasi_config_preopen_dir 

1988_wasi_config_preopen_dir.restype = c_bool 

1989_wasi_config_preopen_dir.argtypes = [POINTER(wasi_config_t), POINTER(c_char), POINTER(c_char), wasi_dir_perms, wasi_file_perms] 

1990def wasi_config_preopen_dir(config: Any, host_path: Any, guest_path: Any, dir_perms: Any, file_perms: Any) -> bool: 

1991 return _wasi_config_preopen_dir(config, host_path, guest_path, dir_perms, file_perms) # type: ignore 

1992 

1993class wasmtime_error(Structure): 

1994 pass 

1995 

1996wasmtime_error_t = wasmtime_error 

1997 

1998_wasmtime_error_new = dll.wasmtime_error_new 

1999_wasmtime_error_new.restype = POINTER(wasmtime_error_t) 

2000_wasmtime_error_new.argtypes = [POINTER(c_char)] 

2001def wasmtime_error_new(arg0: Any) -> ctypes._Pointer: 

2002 return _wasmtime_error_new(arg0) # type: ignore 

2003 

2004_wasmtime_error_delete = dll.wasmtime_error_delete 

2005_wasmtime_error_delete.restype = None 

2006_wasmtime_error_delete.argtypes = [POINTER(wasmtime_error_t)] 

2007def wasmtime_error_delete(error: Any) -> None: 

2008 return _wasmtime_error_delete(error) # type: ignore 

2009 

2010_wasmtime_error_message = dll.wasmtime_error_message 

2011_wasmtime_error_message.restype = None 

2012_wasmtime_error_message.argtypes = [POINTER(wasmtime_error_t), POINTER(wasm_name_t)] 

2013def wasmtime_error_message(error: Any, message: Any) -> None: 

2014 return _wasmtime_error_message(error, message) # type: ignore 

2015 

2016_wasmtime_error_exit_status = dll.wasmtime_error_exit_status 

2017_wasmtime_error_exit_status.restype = c_bool 

2018_wasmtime_error_exit_status.argtypes = [POINTER(wasmtime_error_t), POINTER(c_int)] 

2019def wasmtime_error_exit_status(arg0: Any, status: Any) -> bool: 

2020 return _wasmtime_error_exit_status(arg0, status) # type: ignore 

2021 

2022_wasmtime_error_wasm_trace = dll.wasmtime_error_wasm_trace 

2023_wasmtime_error_wasm_trace.restype = None 

2024_wasmtime_error_wasm_trace.argtypes = [POINTER(wasmtime_error_t), POINTER(wasm_frame_vec_t)] 

2025def wasmtime_error_wasm_trace(arg0: Any, out: Any) -> None: 

2026 return _wasmtime_error_wasm_trace(arg0, out) # type: ignore 

2027 

2028wasmtime_strategy_t = c_uint8 

2029 

2030class wasmtime_strategy_enum(Enum): 

2031 WASMTIME_STRATEGY_AUTO = auto() 

2032 WASMTIME_STRATEGY_CRANELIFT = auto() 

2033 

2034wasmtime_opt_level_t = c_uint8 

2035 

2036class wasmtime_opt_level_enum(Enum): 

2037 WASMTIME_OPT_LEVEL_NONE = auto() 

2038 WASMTIME_OPT_LEVEL_SPEED = auto() 

2039 WASMTIME_OPT_LEVEL_SPEED_AND_SIZE = auto() 

2040 

2041wasmtime_profiling_strategy_t = c_uint8 

2042 

2043class wasmtime_profiling_strategy_enum(Enum): 

2044 WASMTIME_PROFILING_STRATEGY_NONE = auto() 

2045 WASMTIME_PROFILING_STRATEGY_JITDUMP = auto() 

2046 WASMTIME_PROFILING_STRATEGY_VTUNE = auto() 

2047 WASMTIME_PROFILING_STRATEGY_PERFMAP = auto() 

2048 

2049_wasmtime_config_debug_info_set = dll.wasmtime_config_debug_info_set 

2050_wasmtime_config_debug_info_set.restype = None 

2051_wasmtime_config_debug_info_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2052def wasmtime_config_debug_info_set(arg0: Any, arg1: Any) -> None: 

2053 return _wasmtime_config_debug_info_set(arg0, arg1) # type: ignore 

2054 

2055_wasmtime_config_consume_fuel_set = dll.wasmtime_config_consume_fuel_set 

2056_wasmtime_config_consume_fuel_set.restype = None 

2057_wasmtime_config_consume_fuel_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2058def wasmtime_config_consume_fuel_set(arg0: Any, arg1: Any) -> None: 

2059 return _wasmtime_config_consume_fuel_set(arg0, arg1) # type: ignore 

2060 

2061_wasmtime_config_epoch_interruption_set = dll.wasmtime_config_epoch_interruption_set 

2062_wasmtime_config_epoch_interruption_set.restype = None 

2063_wasmtime_config_epoch_interruption_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2064def wasmtime_config_epoch_interruption_set(arg0: Any, arg1: Any) -> None: 

2065 return _wasmtime_config_epoch_interruption_set(arg0, arg1) # type: ignore 

2066 

2067_wasmtime_config_max_wasm_stack_set = dll.wasmtime_config_max_wasm_stack_set 

2068_wasmtime_config_max_wasm_stack_set.restype = None 

2069_wasmtime_config_max_wasm_stack_set.argtypes = [POINTER(wasm_config_t), c_size_t] 

2070def wasmtime_config_max_wasm_stack_set(arg0: Any, arg1: Any) -> None: 

2071 return _wasmtime_config_max_wasm_stack_set(arg0, arg1) # type: ignore 

2072 

2073_wasmtime_config_wasm_threads_set = dll.wasmtime_config_wasm_threads_set 

2074_wasmtime_config_wasm_threads_set.restype = None 

2075_wasmtime_config_wasm_threads_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2076def wasmtime_config_wasm_threads_set(arg0: Any, arg1: Any) -> None: 

2077 return _wasmtime_config_wasm_threads_set(arg0, arg1) # type: ignore 

2078 

2079_wasmtime_config_wasm_tail_call_set = dll.wasmtime_config_wasm_tail_call_set 

2080_wasmtime_config_wasm_tail_call_set.restype = None 

2081_wasmtime_config_wasm_tail_call_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2082def wasmtime_config_wasm_tail_call_set(arg0: Any, arg1: Any) -> None: 

2083 return _wasmtime_config_wasm_tail_call_set(arg0, arg1) # type: ignore 

2084 

2085_wasmtime_config_wasm_reference_types_set = dll.wasmtime_config_wasm_reference_types_set 

2086_wasmtime_config_wasm_reference_types_set.restype = None 

2087_wasmtime_config_wasm_reference_types_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2088def wasmtime_config_wasm_reference_types_set(arg0: Any, arg1: Any) -> None: 

2089 return _wasmtime_config_wasm_reference_types_set(arg0, arg1) # type: ignore 

2090 

2091_wasmtime_config_wasm_function_references_set = dll.wasmtime_config_wasm_function_references_set 

2092_wasmtime_config_wasm_function_references_set.restype = None 

2093_wasmtime_config_wasm_function_references_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2094def wasmtime_config_wasm_function_references_set(arg0: Any, arg1: Any) -> None: 

2095 return _wasmtime_config_wasm_function_references_set(arg0, arg1) # type: ignore 

2096 

2097_wasmtime_config_wasm_gc_set = dll.wasmtime_config_wasm_gc_set 

2098_wasmtime_config_wasm_gc_set.restype = None 

2099_wasmtime_config_wasm_gc_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2100def wasmtime_config_wasm_gc_set(arg0: Any, arg1: Any) -> None: 

2101 return _wasmtime_config_wasm_gc_set(arg0, arg1) # type: ignore 

2102 

2103_wasmtime_config_wasm_simd_set = dll.wasmtime_config_wasm_simd_set 

2104_wasmtime_config_wasm_simd_set.restype = None 

2105_wasmtime_config_wasm_simd_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2106def wasmtime_config_wasm_simd_set(arg0: Any, arg1: Any) -> None: 

2107 return _wasmtime_config_wasm_simd_set(arg0, arg1) # type: ignore 

2108 

2109_wasmtime_config_wasm_relaxed_simd_set = dll.wasmtime_config_wasm_relaxed_simd_set 

2110_wasmtime_config_wasm_relaxed_simd_set.restype = None 

2111_wasmtime_config_wasm_relaxed_simd_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2112def wasmtime_config_wasm_relaxed_simd_set(arg0: Any, arg1: Any) -> None: 

2113 return _wasmtime_config_wasm_relaxed_simd_set(arg0, arg1) # type: ignore 

2114 

2115_wasmtime_config_wasm_relaxed_simd_deterministic_set = dll.wasmtime_config_wasm_relaxed_simd_deterministic_set 

2116_wasmtime_config_wasm_relaxed_simd_deterministic_set.restype = None 

2117_wasmtime_config_wasm_relaxed_simd_deterministic_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2118def wasmtime_config_wasm_relaxed_simd_deterministic_set(arg0: Any, arg1: Any) -> None: 

2119 return _wasmtime_config_wasm_relaxed_simd_deterministic_set(arg0, arg1) # type: ignore 

2120 

2121_wasmtime_config_wasm_bulk_memory_set = dll.wasmtime_config_wasm_bulk_memory_set 

2122_wasmtime_config_wasm_bulk_memory_set.restype = None 

2123_wasmtime_config_wasm_bulk_memory_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2124def wasmtime_config_wasm_bulk_memory_set(arg0: Any, arg1: Any) -> None: 

2125 return _wasmtime_config_wasm_bulk_memory_set(arg0, arg1) # type: ignore 

2126 

2127_wasmtime_config_wasm_multi_value_set = dll.wasmtime_config_wasm_multi_value_set 

2128_wasmtime_config_wasm_multi_value_set.restype = None 

2129_wasmtime_config_wasm_multi_value_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2130def wasmtime_config_wasm_multi_value_set(arg0: Any, arg1: Any) -> None: 

2131 return _wasmtime_config_wasm_multi_value_set(arg0, arg1) # type: ignore 

2132 

2133_wasmtime_config_wasm_multi_memory_set = dll.wasmtime_config_wasm_multi_memory_set 

2134_wasmtime_config_wasm_multi_memory_set.restype = None 

2135_wasmtime_config_wasm_multi_memory_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2136def wasmtime_config_wasm_multi_memory_set(arg0: Any, arg1: Any) -> None: 

2137 return _wasmtime_config_wasm_multi_memory_set(arg0, arg1) # type: ignore 

2138 

2139_wasmtime_config_wasm_memory64_set = dll.wasmtime_config_wasm_memory64_set 

2140_wasmtime_config_wasm_memory64_set.restype = None 

2141_wasmtime_config_wasm_memory64_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2142def wasmtime_config_wasm_memory64_set(arg0: Any, arg1: Any) -> None: 

2143 return _wasmtime_config_wasm_memory64_set(arg0, arg1) # type: ignore 

2144 

2145_wasmtime_config_wasm_wide_arithmetic_set = dll.wasmtime_config_wasm_wide_arithmetic_set 

2146_wasmtime_config_wasm_wide_arithmetic_set.restype = None 

2147_wasmtime_config_wasm_wide_arithmetic_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2148def wasmtime_config_wasm_wide_arithmetic_set(arg0: Any, arg1: Any) -> None: 

2149 return _wasmtime_config_wasm_wide_arithmetic_set(arg0, arg1) # type: ignore 

2150 

2151_wasmtime_config_strategy_set = dll.wasmtime_config_strategy_set 

2152_wasmtime_config_strategy_set.restype = None 

2153_wasmtime_config_strategy_set.argtypes = [POINTER(wasm_config_t), wasmtime_strategy_t] 

2154def wasmtime_config_strategy_set(arg0: Any, arg1: Any) -> None: 

2155 return _wasmtime_config_strategy_set(arg0, arg1) # type: ignore 

2156 

2157_wasmtime_config_parallel_compilation_set = dll.wasmtime_config_parallel_compilation_set 

2158_wasmtime_config_parallel_compilation_set.restype = None 

2159_wasmtime_config_parallel_compilation_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2160def wasmtime_config_parallel_compilation_set(arg0: Any, arg1: Any) -> None: 

2161 return _wasmtime_config_parallel_compilation_set(arg0, arg1) # type: ignore 

2162 

2163_wasmtime_config_cranelift_debug_verifier_set = dll.wasmtime_config_cranelift_debug_verifier_set 

2164_wasmtime_config_cranelift_debug_verifier_set.restype = None 

2165_wasmtime_config_cranelift_debug_verifier_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2166def wasmtime_config_cranelift_debug_verifier_set(arg0: Any, arg1: Any) -> None: 

2167 return _wasmtime_config_cranelift_debug_verifier_set(arg0, arg1) # type: ignore 

2168 

2169_wasmtime_config_cranelift_nan_canonicalization_set = dll.wasmtime_config_cranelift_nan_canonicalization_set 

2170_wasmtime_config_cranelift_nan_canonicalization_set.restype = None 

2171_wasmtime_config_cranelift_nan_canonicalization_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2172def wasmtime_config_cranelift_nan_canonicalization_set(arg0: Any, arg1: Any) -> None: 

2173 return _wasmtime_config_cranelift_nan_canonicalization_set(arg0, arg1) # type: ignore 

2174 

2175_wasmtime_config_cranelift_opt_level_set = dll.wasmtime_config_cranelift_opt_level_set 

2176_wasmtime_config_cranelift_opt_level_set.restype = None 

2177_wasmtime_config_cranelift_opt_level_set.argtypes = [POINTER(wasm_config_t), wasmtime_opt_level_t] 

2178def wasmtime_config_cranelift_opt_level_set(arg0: Any, arg1: Any) -> None: 

2179 return _wasmtime_config_cranelift_opt_level_set(arg0, arg1) # type: ignore 

2180 

2181_wasmtime_config_profiler_set = dll.wasmtime_config_profiler_set 

2182_wasmtime_config_profiler_set.restype = None 

2183_wasmtime_config_profiler_set.argtypes = [POINTER(wasm_config_t), wasmtime_profiling_strategy_t] 

2184def wasmtime_config_profiler_set(arg0: Any, arg1: Any) -> None: 

2185 return _wasmtime_config_profiler_set(arg0, arg1) # type: ignore 

2186 

2187_wasmtime_config_memory_may_move_set = dll.wasmtime_config_memory_may_move_set 

2188_wasmtime_config_memory_may_move_set.restype = None 

2189_wasmtime_config_memory_may_move_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2190def wasmtime_config_memory_may_move_set(arg0: Any, arg1: Any) -> None: 

2191 return _wasmtime_config_memory_may_move_set(arg0, arg1) # type: ignore 

2192 

2193_wasmtime_config_memory_reservation_set = dll.wasmtime_config_memory_reservation_set 

2194_wasmtime_config_memory_reservation_set.restype = None 

2195_wasmtime_config_memory_reservation_set.argtypes = [POINTER(wasm_config_t), c_uint64] 

2196def wasmtime_config_memory_reservation_set(arg0: Any, arg1: Any) -> None: 

2197 return _wasmtime_config_memory_reservation_set(arg0, arg1) # type: ignore 

2198 

2199_wasmtime_config_memory_guard_size_set = dll.wasmtime_config_memory_guard_size_set 

2200_wasmtime_config_memory_guard_size_set.restype = None 

2201_wasmtime_config_memory_guard_size_set.argtypes = [POINTER(wasm_config_t), c_uint64] 

2202def wasmtime_config_memory_guard_size_set(arg0: Any, arg1: Any) -> None: 

2203 return _wasmtime_config_memory_guard_size_set(arg0, arg1) # type: ignore 

2204 

2205_wasmtime_config_memory_reservation_for_growth_set = dll.wasmtime_config_memory_reservation_for_growth_set 

2206_wasmtime_config_memory_reservation_for_growth_set.restype = None 

2207_wasmtime_config_memory_reservation_for_growth_set.argtypes = [POINTER(wasm_config_t), c_uint64] 

2208def wasmtime_config_memory_reservation_for_growth_set(arg0: Any, arg1: Any) -> None: 

2209 return _wasmtime_config_memory_reservation_for_growth_set(arg0, arg1) # type: ignore 

2210 

2211_wasmtime_config_native_unwind_info_set = dll.wasmtime_config_native_unwind_info_set 

2212_wasmtime_config_native_unwind_info_set.restype = None 

2213_wasmtime_config_native_unwind_info_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2214def wasmtime_config_native_unwind_info_set(arg0: Any, arg1: Any) -> None: 

2215 return _wasmtime_config_native_unwind_info_set(arg0, arg1) # type: ignore 

2216 

2217_wasmtime_config_cache_config_load = dll.wasmtime_config_cache_config_load 

2218_wasmtime_config_cache_config_load.restype = POINTER(wasmtime_error_t) 

2219_wasmtime_config_cache_config_load.argtypes = [POINTER(wasm_config_t), POINTER(c_char)] 

2220def wasmtime_config_cache_config_load(arg0: Any, arg1: Any) -> ctypes._Pointer: 

2221 return _wasmtime_config_cache_config_load(arg0, arg1) # type: ignore 

2222 

2223_wasmtime_config_target_set = dll.wasmtime_config_target_set 

2224_wasmtime_config_target_set.restype = POINTER(wasmtime_error_t) 

2225_wasmtime_config_target_set.argtypes = [POINTER(wasm_config_t), POINTER(c_char)] 

2226def wasmtime_config_target_set(arg0: Any, arg1: Any) -> ctypes._Pointer: 

2227 return _wasmtime_config_target_set(arg0, arg1) # type: ignore 

2228 

2229_wasmtime_config_cranelift_flag_enable = dll.wasmtime_config_cranelift_flag_enable 

2230_wasmtime_config_cranelift_flag_enable.restype = None 

2231_wasmtime_config_cranelift_flag_enable.argtypes = [POINTER(wasm_config_t), POINTER(c_char)] 

2232def wasmtime_config_cranelift_flag_enable(arg0: Any, arg1: Any) -> None: 

2233 return _wasmtime_config_cranelift_flag_enable(arg0, arg1) # type: ignore 

2234 

2235_wasmtime_config_cranelift_flag_set = dll.wasmtime_config_cranelift_flag_set 

2236_wasmtime_config_cranelift_flag_set.restype = None 

2237_wasmtime_config_cranelift_flag_set.argtypes = [POINTER(wasm_config_t), POINTER(c_char), POINTER(c_char)] 

2238def wasmtime_config_cranelift_flag_set(arg0: Any, key: Any, value: Any) -> None: 

2239 return _wasmtime_config_cranelift_flag_set(arg0, key, value) # type: ignore 

2240 

2241_wasmtime_config_macos_use_mach_ports_set = dll.wasmtime_config_macos_use_mach_ports_set 

2242_wasmtime_config_macos_use_mach_ports_set.restype = None 

2243_wasmtime_config_macos_use_mach_ports_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2244def wasmtime_config_macos_use_mach_ports_set(arg0: Any, arg1: Any) -> None: 

2245 return _wasmtime_config_macos_use_mach_ports_set(arg0, arg1) # type: ignore 

2246 

2247wasmtime_memory_get_callback_t = CFUNCTYPE(c_size_t, c_void_p, POINTER(c_size_t), POINTER(c_size_t)) 

2248 

2249wasmtime_memory_grow_callback_t = CFUNCTYPE(c_size_t, c_void_p, c_size_t) 

2250 

2251class wasmtime_linear_memory(Structure): 

2252 _fields_ = [ 

2253 ("env", c_void_p), 

2254 ("get_memory", wasmtime_memory_get_callback_t), 

2255 ("grow_memory", wasmtime_memory_grow_callback_t), 

2256 ("finalizer", CFUNCTYPE(None, c_void_p)), 

2257 ] 

2258 env: ctypes._Pointer 

2259 get_memory: ctypes._Pointer 

2260 grow_memory: ctypes._Pointer 

2261 finalizer: ctypes._Pointer 

2262 

2263wasmtime_linear_memory_t = wasmtime_linear_memory 

2264 

2265wasmtime_new_memory_callback_t = CFUNCTYPE(c_size_t, c_void_p, POINTER(wasm_memorytype_t), c_size_t, c_size_t, c_size_t, c_size_t, POINTER(wasmtime_linear_memory_t)) 

2266 

2267class wasmtime_memory_creator(Structure): 

2268 _fields_ = [ 

2269 ("env", c_void_p), 

2270 ("new_memory", wasmtime_new_memory_callback_t), 

2271 ("finalizer", CFUNCTYPE(None, c_void_p)), 

2272 ] 

2273 env: ctypes._Pointer 

2274 new_memory: ctypes._Pointer 

2275 finalizer: ctypes._Pointer 

2276 

2277wasmtime_memory_creator_t = wasmtime_memory_creator 

2278 

2279_wasmtime_config_host_memory_creator_set = dll.wasmtime_config_host_memory_creator_set 

2280_wasmtime_config_host_memory_creator_set.restype = None 

2281_wasmtime_config_host_memory_creator_set.argtypes = [POINTER(wasm_config_t), POINTER(wasmtime_memory_creator_t)] 

2282def wasmtime_config_host_memory_creator_set(arg0: Any, arg1: Any) -> None: 

2283 return _wasmtime_config_host_memory_creator_set(arg0, arg1) # type: ignore 

2284 

2285_wasmtime_config_memory_init_cow_set = dll.wasmtime_config_memory_init_cow_set 

2286_wasmtime_config_memory_init_cow_set.restype = None 

2287_wasmtime_config_memory_init_cow_set.argtypes = [POINTER(wasm_config_t), c_bool] 

2288def wasmtime_config_memory_init_cow_set(arg0: Any, arg1: Any) -> None: 

2289 return _wasmtime_config_memory_init_cow_set(arg0, arg1) # type: ignore 

2290 

2291_wasmtime_engine_clone = dll.wasmtime_engine_clone 

2292_wasmtime_engine_clone.restype = POINTER(wasm_engine_t) 

2293_wasmtime_engine_clone.argtypes = [POINTER(wasm_engine_t)] 

2294def wasmtime_engine_clone(engine: Any) -> ctypes._Pointer: 

2295 return _wasmtime_engine_clone(engine) # type: ignore 

2296 

2297_wasmtime_engine_increment_epoch = dll.wasmtime_engine_increment_epoch 

2298_wasmtime_engine_increment_epoch.restype = None 

2299_wasmtime_engine_increment_epoch.argtypes = [POINTER(wasm_engine_t)] 

2300def wasmtime_engine_increment_epoch(engine: Any) -> None: 

2301 return _wasmtime_engine_increment_epoch(engine) # type: ignore 

2302 

2303_wasmtime_engine_is_pulley = dll.wasmtime_engine_is_pulley 

2304_wasmtime_engine_is_pulley.restype = c_bool 

2305_wasmtime_engine_is_pulley.argtypes = [POINTER(wasm_engine_t)] 

2306def wasmtime_engine_is_pulley(engine: Any) -> bool: 

2307 return _wasmtime_engine_is_pulley(engine) # type: ignore 

2308 

2309class wasmtime_module(Structure): 

2310 pass 

2311 

2312wasmtime_module_t = wasmtime_module 

2313 

2314_wasmtime_module_new = dll.wasmtime_module_new 

2315_wasmtime_module_new.restype = POINTER(wasmtime_error_t) 

2316_wasmtime_module_new.argtypes = [POINTER(wasm_engine_t), POINTER(c_uint8), c_size_t, POINTER(POINTER(wasmtime_module_t))] 

2317def wasmtime_module_new(engine: Any, wasm: Any, wasm_len: Any, ret: Any) -> ctypes._Pointer: 

2318 return _wasmtime_module_new(engine, wasm, wasm_len, ret) # type: ignore 

2319 

2320_wasmtime_module_delete = dll.wasmtime_module_delete 

2321_wasmtime_module_delete.restype = None 

2322_wasmtime_module_delete.argtypes = [POINTER(wasmtime_module_t)] 

2323def wasmtime_module_delete(m: Any) -> None: 

2324 return _wasmtime_module_delete(m) # type: ignore 

2325 

2326_wasmtime_module_clone = dll.wasmtime_module_clone 

2327_wasmtime_module_clone.restype = POINTER(wasmtime_module_t) 

2328_wasmtime_module_clone.argtypes = [POINTER(wasmtime_module_t)] 

2329def wasmtime_module_clone(m: Any) -> ctypes._Pointer: 

2330 return _wasmtime_module_clone(m) # type: ignore 

2331 

2332_wasmtime_module_imports = dll.wasmtime_module_imports 

2333_wasmtime_module_imports.restype = None 

2334_wasmtime_module_imports.argtypes = [POINTER(wasmtime_module_t), POINTER(wasm_importtype_vec_t)] 

2335def wasmtime_module_imports(module: Any, out: Any) -> None: 

2336 return _wasmtime_module_imports(module, out) # type: ignore 

2337 

2338_wasmtime_module_exports = dll.wasmtime_module_exports 

2339_wasmtime_module_exports.restype = None 

2340_wasmtime_module_exports.argtypes = [POINTER(wasmtime_module_t), POINTER(wasm_exporttype_vec_t)] 

2341def wasmtime_module_exports(module: Any, out: Any) -> None: 

2342 return _wasmtime_module_exports(module, out) # type: ignore 

2343 

2344_wasmtime_module_validate = dll.wasmtime_module_validate 

2345_wasmtime_module_validate.restype = POINTER(wasmtime_error_t) 

2346_wasmtime_module_validate.argtypes = [POINTER(wasm_engine_t), POINTER(c_uint8), c_size_t] 

2347def wasmtime_module_validate(engine: Any, wasm: Any, wasm_len: Any) -> ctypes._Pointer: 

2348 return _wasmtime_module_validate(engine, wasm, wasm_len) # type: ignore 

2349 

2350_wasmtime_module_serialize = dll.wasmtime_module_serialize 

2351_wasmtime_module_serialize.restype = POINTER(wasmtime_error_t) 

2352_wasmtime_module_serialize.argtypes = [POINTER(wasmtime_module_t), POINTER(wasm_byte_vec_t)] 

2353def wasmtime_module_serialize(module: Any, ret: Any) -> ctypes._Pointer: 

2354 return _wasmtime_module_serialize(module, ret) # type: ignore 

2355 

2356_wasmtime_module_deserialize = dll.wasmtime_module_deserialize 

2357_wasmtime_module_deserialize.restype = POINTER(wasmtime_error_t) 

2358_wasmtime_module_deserialize.argtypes = [POINTER(wasm_engine_t), POINTER(c_uint8), c_size_t, POINTER(POINTER(wasmtime_module_t))] 

2359def wasmtime_module_deserialize(engine: Any, bytes: Any, bytes_len: Any, ret: Any) -> ctypes._Pointer: 

2360 return _wasmtime_module_deserialize(engine, bytes, bytes_len, ret) # type: ignore 

2361 

2362_wasmtime_module_deserialize_file = dll.wasmtime_module_deserialize_file 

2363_wasmtime_module_deserialize_file.restype = POINTER(wasmtime_error_t) 

2364_wasmtime_module_deserialize_file.argtypes = [POINTER(wasm_engine_t), POINTER(c_char), POINTER(POINTER(wasmtime_module_t))] 

2365def wasmtime_module_deserialize_file(engine: Any, path: Any, ret: Any) -> ctypes._Pointer: 

2366 return _wasmtime_module_deserialize_file(engine, path, ret) # type: ignore 

2367 

2368_wasmtime_module_image_range = dll.wasmtime_module_image_range 

2369_wasmtime_module_image_range.restype = None 

2370_wasmtime_module_image_range.argtypes = [POINTER(wasmtime_module_t), POINTER(c_void_p), POINTER(c_void_p)] 

2371def wasmtime_module_image_range(module: Any, start: Any, end: Any) -> None: 

2372 return _wasmtime_module_image_range(module, start, end) # type: ignore 

2373 

2374class wasmtime_sharedmemory(Structure): 

2375 pass 

2376 

2377wasmtime_sharedmemory_t = wasmtime_sharedmemory 

2378 

2379_wasmtime_sharedmemory_new = dll.wasmtime_sharedmemory_new 

2380_wasmtime_sharedmemory_new.restype = POINTER(wasmtime_error_t) 

2381_wasmtime_sharedmemory_new.argtypes = [POINTER(wasm_engine_t), POINTER(wasm_memorytype_t), POINTER(POINTER(wasmtime_sharedmemory_t))] 

2382def wasmtime_sharedmemory_new(engine: Any, ty: Any, ret: Any) -> ctypes._Pointer: 

2383 return _wasmtime_sharedmemory_new(engine, ty, ret) # type: ignore 

2384 

2385_wasmtime_sharedmemory_delete = dll.wasmtime_sharedmemory_delete 

2386_wasmtime_sharedmemory_delete.restype = None 

2387_wasmtime_sharedmemory_delete.argtypes = [POINTER(wasmtime_sharedmemory_t)] 

2388def wasmtime_sharedmemory_delete(memory: Any) -> None: 

2389 return _wasmtime_sharedmemory_delete(memory) # type: ignore 

2390 

2391_wasmtime_sharedmemory_clone = dll.wasmtime_sharedmemory_clone 

2392_wasmtime_sharedmemory_clone.restype = POINTER(wasmtime_sharedmemory_t) 

2393_wasmtime_sharedmemory_clone.argtypes = [POINTER(wasmtime_sharedmemory_t)] 

2394def wasmtime_sharedmemory_clone(memory: Any) -> ctypes._Pointer: 

2395 return _wasmtime_sharedmemory_clone(memory) # type: ignore 

2396 

2397_wasmtime_sharedmemory_type = dll.wasmtime_sharedmemory_type 

2398_wasmtime_sharedmemory_type.restype = POINTER(wasm_memorytype_t) 

2399_wasmtime_sharedmemory_type.argtypes = [POINTER(wasmtime_sharedmemory_t)] 

2400def wasmtime_sharedmemory_type(memory: Any) -> ctypes._Pointer: 

2401 return _wasmtime_sharedmemory_type(memory) # type: ignore 

2402 

2403_wasmtime_sharedmemory_data = dll.wasmtime_sharedmemory_data 

2404_wasmtime_sharedmemory_data.restype = POINTER(c_uint8) 

2405_wasmtime_sharedmemory_data.argtypes = [POINTER(wasmtime_sharedmemory_t)] 

2406def wasmtime_sharedmemory_data(memory: Any) -> ctypes._Pointer: 

2407 return _wasmtime_sharedmemory_data(memory) # type: ignore 

2408 

2409_wasmtime_sharedmemory_data_size = dll.wasmtime_sharedmemory_data_size 

2410_wasmtime_sharedmemory_data_size.restype = c_size_t 

2411_wasmtime_sharedmemory_data_size.argtypes = [POINTER(wasmtime_sharedmemory_t)] 

2412def wasmtime_sharedmemory_data_size(memory: Any) -> int: 

2413 return _wasmtime_sharedmemory_data_size(memory) # type: ignore 

2414 

2415_wasmtime_sharedmemory_size = dll.wasmtime_sharedmemory_size 

2416_wasmtime_sharedmemory_size.restype = c_uint64 

2417_wasmtime_sharedmemory_size.argtypes = [POINTER(wasmtime_sharedmemory_t)] 

2418def wasmtime_sharedmemory_size(memory: Any) -> int: 

2419 return _wasmtime_sharedmemory_size(memory) # type: ignore 

2420 

2421_wasmtime_sharedmemory_grow = dll.wasmtime_sharedmemory_grow 

2422_wasmtime_sharedmemory_grow.restype = POINTER(wasmtime_error_t) 

2423_wasmtime_sharedmemory_grow.argtypes = [POINTER(wasmtime_sharedmemory_t), c_uint64, POINTER(c_uint64)] 

2424def wasmtime_sharedmemory_grow(memory: Any, delta: Any, prev_size: Any) -> ctypes._Pointer: 

2425 return _wasmtime_sharedmemory_grow(memory, delta, prev_size) # type: ignore 

2426 

2427class wasmtime_store(Structure): 

2428 pass 

2429 

2430wasmtime_store_t = wasmtime_store 

2431 

2432class wasmtime_context(Structure): 

2433 pass 

2434 

2435wasmtime_context_t = wasmtime_context 

2436 

2437_wasmtime_store_new = dll.wasmtime_store_new 

2438_wasmtime_store_new.restype = POINTER(wasmtime_store_t) 

2439_wasmtime_store_new.argtypes = [POINTER(wasm_engine_t), c_void_p, CFUNCTYPE(None, c_void_p)] 

2440def wasmtime_store_new(engine: Any, data: Any, finalizer: Any) -> ctypes._Pointer: 

2441 return _wasmtime_store_new(engine, data, finalizer) # type: ignore 

2442 

2443_wasmtime_store_context = dll.wasmtime_store_context 

2444_wasmtime_store_context.restype = POINTER(wasmtime_context_t) 

2445_wasmtime_store_context.argtypes = [POINTER(wasmtime_store_t)] 

2446def wasmtime_store_context(store: Any) -> ctypes._Pointer: 

2447 return _wasmtime_store_context(store) # type: ignore 

2448 

2449_wasmtime_store_limiter = dll.wasmtime_store_limiter 

2450_wasmtime_store_limiter.restype = None 

2451_wasmtime_store_limiter.argtypes = [POINTER(wasmtime_store_t), c_int64, c_int64, c_int64, c_int64, c_int64] 

2452def wasmtime_store_limiter(store: Any, memory_size: Any, table_elements: Any, instances: Any, tables: Any, memories: Any) -> None: 

2453 return _wasmtime_store_limiter(store, memory_size, table_elements, instances, tables, memories) # type: ignore 

2454 

2455_wasmtime_store_delete = dll.wasmtime_store_delete 

2456_wasmtime_store_delete.restype = None 

2457_wasmtime_store_delete.argtypes = [POINTER(wasmtime_store_t)] 

2458def wasmtime_store_delete(store: Any) -> None: 

2459 return _wasmtime_store_delete(store) # type: ignore 

2460 

2461_wasmtime_context_get_data = dll.wasmtime_context_get_data 

2462_wasmtime_context_get_data.restype = c_void_p 

2463_wasmtime_context_get_data.argtypes = [POINTER(wasmtime_context_t)] 

2464def wasmtime_context_get_data(context: Any) -> int: 

2465 return _wasmtime_context_get_data(context) # type: ignore 

2466 

2467_wasmtime_context_set_data = dll.wasmtime_context_set_data 

2468_wasmtime_context_set_data.restype = None 

2469_wasmtime_context_set_data.argtypes = [POINTER(wasmtime_context_t), c_void_p] 

2470def wasmtime_context_set_data(context: Any, data: Any) -> None: 

2471 return _wasmtime_context_set_data(context, data) # type: ignore 

2472 

2473_wasmtime_context_gc = dll.wasmtime_context_gc 

2474_wasmtime_context_gc.restype = None 

2475_wasmtime_context_gc.argtypes = [POINTER(wasmtime_context_t)] 

2476def wasmtime_context_gc(context: Any) -> None: 

2477 return _wasmtime_context_gc(context) # type: ignore 

2478 

2479_wasmtime_context_set_fuel = dll.wasmtime_context_set_fuel 

2480_wasmtime_context_set_fuel.restype = POINTER(wasmtime_error_t) 

2481_wasmtime_context_set_fuel.argtypes = [POINTER(wasmtime_context_t), c_uint64] 

2482def wasmtime_context_set_fuel(store: Any, fuel: Any) -> ctypes._Pointer: 

2483 return _wasmtime_context_set_fuel(store, fuel) # type: ignore 

2484 

2485_wasmtime_context_get_fuel = dll.wasmtime_context_get_fuel 

2486_wasmtime_context_get_fuel.restype = POINTER(wasmtime_error_t) 

2487_wasmtime_context_get_fuel.argtypes = [POINTER(wasmtime_context_t), POINTER(c_uint64)] 

2488def wasmtime_context_get_fuel(context: Any, fuel: Any) -> ctypes._Pointer: 

2489 return _wasmtime_context_get_fuel(context, fuel) # type: ignore 

2490 

2491_wasmtime_context_set_wasi = dll.wasmtime_context_set_wasi 

2492_wasmtime_context_set_wasi.restype = POINTER(wasmtime_error_t) 

2493_wasmtime_context_set_wasi.argtypes = [POINTER(wasmtime_context_t), POINTER(wasi_config_t)] 

2494def wasmtime_context_set_wasi(context: Any, wasi: Any) -> ctypes._Pointer: 

2495 return _wasmtime_context_set_wasi(context, wasi) # type: ignore 

2496 

2497_wasmtime_context_set_epoch_deadline = dll.wasmtime_context_set_epoch_deadline 

2498_wasmtime_context_set_epoch_deadline.restype = None 

2499_wasmtime_context_set_epoch_deadline.argtypes = [POINTER(wasmtime_context_t), c_uint64] 

2500def wasmtime_context_set_epoch_deadline(context: Any, ticks_beyond_current: Any) -> None: 

2501 return _wasmtime_context_set_epoch_deadline(context, ticks_beyond_current) # type: ignore 

2502 

2503wasmtime_update_deadline_kind_t = c_uint8 

2504 

2505_wasmtime_store_epoch_deadline_callback = dll.wasmtime_store_epoch_deadline_callback 

2506_wasmtime_store_epoch_deadline_callback.restype = None 

2507_wasmtime_store_epoch_deadline_callback.argtypes = [POINTER(wasmtime_store_t), CFUNCTYPE(c_size_t, POINTER(wasmtime_context_t), c_void_p, POINTER(c_uint64), POINTER(wasmtime_update_deadline_kind_t)), c_void_p, CFUNCTYPE(None, c_void_p)] 

2508def wasmtime_store_epoch_deadline_callback(store: Any, func: Any, data: Any, finalizer: Any) -> None: 

2509 return _wasmtime_store_epoch_deadline_callback(store, func, data, finalizer) # type: ignore 

2510 

2511class wasmtime_func(Structure): 

2512 _fields_ = [ 

2513 ("store_id", c_uint64), 

2514 ("__private", c_size_t), 

2515 ] 

2516 store_id: int 

2517 __private: int 

2518 

2519wasmtime_func_t = wasmtime_func 

2520 

2521class wasmtime_table(Structure): 

2522 _fields_ = [ 

2523 ("store_id", c_uint64), 

2524 ("__private", c_size_t), 

2525 ] 

2526 store_id: int 

2527 __private: int 

2528 

2529wasmtime_table_t = wasmtime_table 

2530 

2531class wasmtime_memory(Structure): 

2532 _fields_ = [ 

2533 ("store_id", c_uint64), 

2534 ("__private", c_size_t), 

2535 ] 

2536 store_id: int 

2537 __private: int 

2538 

2539wasmtime_memory_t = wasmtime_memory 

2540 

2541class wasmtime_global(Structure): 

2542 _fields_ = [ 

2543 ("store_id", c_uint64), 

2544 ("__private", c_size_t), 

2545 ] 

2546 store_id: int 

2547 __private: int 

2548 

2549wasmtime_global_t = wasmtime_global 

2550 

2551wasmtime_extern_kind_t = c_uint8 

2552 

2553class wasmtime_extern_union(Union): 

2554 _fields_ = [ 

2555 ("func", wasmtime_func_t), 

2556 ("global_", wasmtime_global_t), 

2557 ("table", wasmtime_table_t), 

2558 ("memory", wasmtime_memory_t), 

2559 ("sharedmemory", POINTER(wasmtime_sharedmemory)), 

2560 ] 

2561 func: wasmtime_func_t 

2562 global_: wasmtime_global_t 

2563 table: wasmtime_table_t 

2564 memory: wasmtime_memory_t 

2565 sharedmemory: ctypes._Pointer 

2566 

2567wasmtime_extern_union_t = wasmtime_extern_union 

2568 

2569class wasmtime_extern(Structure): 

2570 _fields_ = [ 

2571 ("kind", wasmtime_extern_kind_t), 

2572 ("of", wasmtime_extern_union_t), 

2573 ] 

2574 kind: wasmtime_extern_kind_t 

2575 of: wasmtime_extern_union_t 

2576 

2577wasmtime_extern_t = wasmtime_extern 

2578 

2579_wasmtime_extern_delete = dll.wasmtime_extern_delete 

2580_wasmtime_extern_delete.restype = None 

2581_wasmtime_extern_delete.argtypes = [POINTER(wasmtime_extern_t)] 

2582def wasmtime_extern_delete(val: Any) -> None: 

2583 return _wasmtime_extern_delete(val) # type: ignore 

2584 

2585_wasmtime_extern_type = dll.wasmtime_extern_type 

2586_wasmtime_extern_type.restype = POINTER(wasm_externtype_t) 

2587_wasmtime_extern_type.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_extern_t)] 

2588def wasmtime_extern_type(context: Any, val: Any) -> ctypes._Pointer: 

2589 return _wasmtime_extern_type(context, val) # type: ignore 

2590 

2591class wasmtime_anyref(Structure): 

2592 _fields_ = [ 

2593 ("store_id", c_uint64), 

2594 ("__private1", c_uint32), 

2595 ("__private2", c_uint32), 

2596 ] 

2597 store_id: int 

2598 __private1: int 

2599 __private2: int 

2600 

2601wasmtime_anyref_t = wasmtime_anyref 

2602 

2603_wasmtime_anyref_clone = dll.wasmtime_anyref_clone 

2604_wasmtime_anyref_clone.restype = None 

2605_wasmtime_anyref_clone.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_anyref_t), POINTER(wasmtime_anyref_t)] 

2606def wasmtime_anyref_clone(context: Any, anyref: Any, out: Any) -> None: 

2607 return _wasmtime_anyref_clone(context, anyref, out) # type: ignore 

2608 

2609_wasmtime_anyref_unroot = dll.wasmtime_anyref_unroot 

2610_wasmtime_anyref_unroot.restype = None 

2611_wasmtime_anyref_unroot.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_anyref_t)] 

2612def wasmtime_anyref_unroot(context: Any, ref: Any) -> None: 

2613 return _wasmtime_anyref_unroot(context, ref) # type: ignore 

2614 

2615_wasmtime_anyref_from_raw = dll.wasmtime_anyref_from_raw 

2616_wasmtime_anyref_from_raw.restype = None 

2617_wasmtime_anyref_from_raw.argtypes = [POINTER(wasmtime_context_t), c_uint32, POINTER(wasmtime_anyref_t)] 

2618def wasmtime_anyref_from_raw(context: Any, raw: Any, out: Any) -> None: 

2619 return _wasmtime_anyref_from_raw(context, raw, out) # type: ignore 

2620 

2621_wasmtime_anyref_to_raw = dll.wasmtime_anyref_to_raw 

2622_wasmtime_anyref_to_raw.restype = c_uint32 

2623_wasmtime_anyref_to_raw.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_anyref_t)] 

2624def wasmtime_anyref_to_raw(context: Any, ref: Any) -> int: 

2625 return _wasmtime_anyref_to_raw(context, ref) # type: ignore 

2626 

2627_wasmtime_anyref_from_i31 = dll.wasmtime_anyref_from_i31 

2628_wasmtime_anyref_from_i31.restype = None 

2629_wasmtime_anyref_from_i31.argtypes = [POINTER(wasmtime_context_t), c_uint32, POINTER(wasmtime_anyref_t)] 

2630def wasmtime_anyref_from_i31(context: Any, i31val: Any, out: Any) -> None: 

2631 return _wasmtime_anyref_from_i31(context, i31val, out) # type: ignore 

2632 

2633_wasmtime_anyref_i31_get_u = dll.wasmtime_anyref_i31_get_u 

2634_wasmtime_anyref_i31_get_u.restype = c_bool 

2635_wasmtime_anyref_i31_get_u.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_anyref_t), POINTER(c_uint32)] 

2636def wasmtime_anyref_i31_get_u(context: Any, anyref: Any, dst: Any) -> bool: 

2637 return _wasmtime_anyref_i31_get_u(context, anyref, dst) # type: ignore 

2638 

2639_wasmtime_anyref_i31_get_s = dll.wasmtime_anyref_i31_get_s 

2640_wasmtime_anyref_i31_get_s.restype = c_bool 

2641_wasmtime_anyref_i31_get_s.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_anyref_t), POINTER(c_int32)] 

2642def wasmtime_anyref_i31_get_s(context: Any, anyref: Any, dst: Any) -> bool: 

2643 return _wasmtime_anyref_i31_get_s(context, anyref, dst) # type: ignore 

2644 

2645class wasmtime_externref(Structure): 

2646 _fields_ = [ 

2647 ("store_id", c_uint64), 

2648 ("__private1", c_uint32), 

2649 ("__private2", c_uint32), 

2650 ] 

2651 store_id: int 

2652 __private1: int 

2653 __private2: int 

2654 

2655wasmtime_externref_t = wasmtime_externref 

2656 

2657_wasmtime_externref_new = dll.wasmtime_externref_new 

2658_wasmtime_externref_new.restype = c_bool 

2659_wasmtime_externref_new.argtypes = [POINTER(wasmtime_context_t), c_void_p, CFUNCTYPE(None, c_void_p), POINTER(wasmtime_externref_t)] 

2660def wasmtime_externref_new(context: Any, data: Any, finalizer: Any, out: Any) -> bool: 

2661 return _wasmtime_externref_new(context, data, finalizer, out) # type: ignore 

2662 

2663_wasmtime_externref_data = dll.wasmtime_externref_data 

2664_wasmtime_externref_data.restype = c_void_p 

2665_wasmtime_externref_data.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_externref_t)] 

2666def wasmtime_externref_data(context: Any, data: Any) -> int: 

2667 return _wasmtime_externref_data(context, data) # type: ignore 

2668 

2669_wasmtime_externref_clone = dll.wasmtime_externref_clone 

2670_wasmtime_externref_clone.restype = None 

2671_wasmtime_externref_clone.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_externref_t), POINTER(wasmtime_externref_t)] 

2672def wasmtime_externref_clone(context: Any, ref: Any, out: Any) -> None: 

2673 return _wasmtime_externref_clone(context, ref, out) # type: ignore 

2674 

2675_wasmtime_externref_unroot = dll.wasmtime_externref_unroot 

2676_wasmtime_externref_unroot.restype = None 

2677_wasmtime_externref_unroot.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_externref_t)] 

2678def wasmtime_externref_unroot(context: Any, ref: Any) -> None: 

2679 return _wasmtime_externref_unroot(context, ref) # type: ignore 

2680 

2681_wasmtime_externref_from_raw = dll.wasmtime_externref_from_raw 

2682_wasmtime_externref_from_raw.restype = None 

2683_wasmtime_externref_from_raw.argtypes = [POINTER(wasmtime_context_t), c_uint32, POINTER(wasmtime_externref_t)] 

2684def wasmtime_externref_from_raw(context: Any, raw: Any, out: Any) -> None: 

2685 return _wasmtime_externref_from_raw(context, raw, out) # type: ignore 

2686 

2687_wasmtime_externref_to_raw = dll.wasmtime_externref_to_raw 

2688_wasmtime_externref_to_raw.restype = c_uint32 

2689_wasmtime_externref_to_raw.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_externref_t)] 

2690def wasmtime_externref_to_raw(context: Any, ref: Any) -> int: 

2691 return _wasmtime_externref_to_raw(context, ref) # type: ignore 

2692 

2693wasmtime_valkind_t = c_uint8 

2694 

2695wasmtime_v128 = c_uint8 * 16 

2696 

2697class wasmtime_valunion(Union): 

2698 _fields_ = [ 

2699 ("i32", c_int32), 

2700 ("i64", c_int64), 

2701 ("f32", c_float), 

2702 ("f64", c_double), 

2703 ("anyref", wasmtime_anyref_t), 

2704 ("externref", wasmtime_externref_t), 

2705 ("funcref", wasmtime_func_t), 

2706 ("v128", wasmtime_v128), 

2707 ] 

2708 i32: int 

2709 i64: int 

2710 f32: float 

2711 f64: float 

2712 anyref: wasmtime_anyref_t 

2713 externref: wasmtime_externref_t 

2714 funcref: wasmtime_func_t 

2715 v128: wasmtime_v128 # type: ignore 

2716 

2717wasmtime_valunion_t = wasmtime_valunion 

2718 

2719class wasmtime_val_raw(Union): 

2720 _fields_ = [ 

2721 ("i32", c_int32), 

2722 ("i64", c_int64), 

2723 ("f32", c_float), 

2724 ("f64", c_double), 

2725 ("v128", wasmtime_v128), 

2726 ("anyref", c_uint32), 

2727 ("externref", c_uint32), 

2728 ("funcref", c_void_p), 

2729 ] 

2730 i32: int 

2731 i64: int 

2732 f32: float 

2733 f64: float 

2734 v128: wasmtime_v128 # type: ignore 

2735 anyref: int 

2736 externref: int 

2737 funcref: ctypes._Pointer 

2738 

2739wasmtime_val_raw_t = wasmtime_val_raw 

2740 

2741class wasmtime_val(Structure): 

2742 _fields_ = [ 

2743 ("kind", wasmtime_valkind_t), 

2744 ("of", wasmtime_valunion_t), 

2745 ] 

2746 kind: wasmtime_valkind_t 

2747 of: wasmtime_valunion_t 

2748 

2749wasmtime_val_t = wasmtime_val 

2750 

2751_wasmtime_val_unroot = dll.wasmtime_val_unroot 

2752_wasmtime_val_unroot.restype = None 

2753_wasmtime_val_unroot.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_val_t)] 

2754def wasmtime_val_unroot(context: Any, val: Any) -> None: 

2755 return _wasmtime_val_unroot(context, val) # type: ignore 

2756 

2757_wasmtime_val_clone = dll.wasmtime_val_clone 

2758_wasmtime_val_clone.restype = None 

2759_wasmtime_val_clone.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_val_t), POINTER(wasmtime_val_t)] 

2760def wasmtime_val_clone(context: Any, src: Any, dst: Any) -> None: 

2761 return _wasmtime_val_clone(context, src, dst) # type: ignore 

2762 

2763class wasmtime_caller(Structure): 

2764 pass 

2765 

2766wasmtime_caller_t = wasmtime_caller 

2767 

2768wasmtime_func_callback_t = CFUNCTYPE(c_size_t, c_void_p, POINTER(wasmtime_caller_t), POINTER(wasmtime_val_t), c_size_t, POINTER(wasmtime_val_t), c_size_t) 

2769 

2770_wasmtime_func_new = dll.wasmtime_func_new 

2771_wasmtime_func_new.restype = None 

2772_wasmtime_func_new.argtypes = [POINTER(wasmtime_context_t), POINTER(wasm_functype_t), wasmtime_func_callback_t, c_void_p, CFUNCTYPE(None, c_void_p), POINTER(wasmtime_func_t)] 

2773def wasmtime_func_new(store: Any, type: Any, callback: Any, env: Any, finalizer: Any, ret: Any) -> None: 

2774 return _wasmtime_func_new(store, type, callback, env, finalizer, ret) # type: ignore 

2775 

2776wasmtime_func_unchecked_callback_t = CFUNCTYPE(c_size_t, c_void_p, POINTER(wasmtime_caller_t), POINTER(wasmtime_val_raw_t), c_size_t) 

2777 

2778_wasmtime_func_new_unchecked = dll.wasmtime_func_new_unchecked 

2779_wasmtime_func_new_unchecked.restype = None 

2780_wasmtime_func_new_unchecked.argtypes = [POINTER(wasmtime_context_t), POINTER(wasm_functype_t), wasmtime_func_unchecked_callback_t, c_void_p, CFUNCTYPE(None, c_void_p), POINTER(wasmtime_func_t)] 

2781def wasmtime_func_new_unchecked(store: Any, type: Any, callback: Any, env: Any, finalizer: Any, ret: Any) -> None: 

2782 return _wasmtime_func_new_unchecked(store, type, callback, env, finalizer, ret) # type: ignore 

2783 

2784_wasmtime_func_type = dll.wasmtime_func_type 

2785_wasmtime_func_type.restype = POINTER(wasm_functype_t) 

2786_wasmtime_func_type.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_func_t)] 

2787def wasmtime_func_type(store: Any, func: Any) -> ctypes._Pointer: 

2788 return _wasmtime_func_type(store, func) # type: ignore 

2789 

2790_wasmtime_func_call = dll.wasmtime_func_call 

2791_wasmtime_func_call.restype = POINTER(wasmtime_error_t) 

2792_wasmtime_func_call.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_func_t), POINTER(wasmtime_val_t), c_size_t, POINTER(wasmtime_val_t), c_size_t, POINTER(POINTER(wasm_trap_t))] 

2793def wasmtime_func_call(store: Any, func: Any, args: Any, nargs: Any, results: Any, nresults: Any, trap: Any) -> ctypes._Pointer: 

2794 return _wasmtime_func_call(store, func, args, nargs, results, nresults, trap) # type: ignore 

2795 

2796_wasmtime_func_call_unchecked = dll.wasmtime_func_call_unchecked 

2797_wasmtime_func_call_unchecked.restype = POINTER(wasmtime_error_t) 

2798_wasmtime_func_call_unchecked.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_func_t), POINTER(wasmtime_val_raw_t), c_size_t, POINTER(POINTER(wasm_trap_t))] 

2799def wasmtime_func_call_unchecked(store: Any, func: Any, args_and_results: Any, args_and_results_len: Any, trap: Any) -> ctypes._Pointer: 

2800 return _wasmtime_func_call_unchecked(store, func, args_and_results, args_and_results_len, trap) # type: ignore 

2801 

2802_wasmtime_caller_export_get = dll.wasmtime_caller_export_get 

2803_wasmtime_caller_export_get.restype = c_bool 

2804_wasmtime_caller_export_get.argtypes = [POINTER(wasmtime_caller_t), POINTER(c_char), c_size_t, POINTER(wasmtime_extern_t)] 

2805def wasmtime_caller_export_get(caller: Any, name: Any, name_len: Any, item: Any) -> bool: 

2806 return _wasmtime_caller_export_get(caller, name, name_len, item) # type: ignore 

2807 

2808_wasmtime_caller_context = dll.wasmtime_caller_context 

2809_wasmtime_caller_context.restype = POINTER(wasmtime_context_t) 

2810_wasmtime_caller_context.argtypes = [POINTER(wasmtime_caller_t)] 

2811def wasmtime_caller_context(caller: Any) -> ctypes._Pointer: 

2812 return _wasmtime_caller_context(caller) # type: ignore 

2813 

2814_wasmtime_func_from_raw = dll.wasmtime_func_from_raw 

2815_wasmtime_func_from_raw.restype = None 

2816_wasmtime_func_from_raw.argtypes = [POINTER(wasmtime_context_t), c_void_p, POINTER(wasmtime_func_t)] 

2817def wasmtime_func_from_raw(context: Any, raw: Any, ret: Any) -> None: 

2818 return _wasmtime_func_from_raw(context, raw, ret) # type: ignore 

2819 

2820_wasmtime_func_to_raw = dll.wasmtime_func_to_raw 

2821_wasmtime_func_to_raw.restype = c_void_p 

2822_wasmtime_func_to_raw.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_func_t)] 

2823def wasmtime_func_to_raw(context: Any, func: Any) -> int: 

2824 return _wasmtime_func_to_raw(context, func) # type: ignore 

2825 

2826_wasmtime_global_new = dll.wasmtime_global_new 

2827_wasmtime_global_new.restype = POINTER(wasmtime_error_t) 

2828_wasmtime_global_new.argtypes = [POINTER(wasmtime_context_t), POINTER(wasm_globaltype_t), POINTER(wasmtime_val_t), POINTER(wasmtime_global_t)] 

2829def wasmtime_global_new(store: Any, type: Any, val: Any, ret: Any) -> ctypes._Pointer: 

2830 return _wasmtime_global_new(store, type, val, ret) # type: ignore 

2831 

2832_wasmtime_global_type = dll.wasmtime_global_type 

2833_wasmtime_global_type.restype = POINTER(wasm_globaltype_t) 

2834_wasmtime_global_type.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_global_t)] 

2835def wasmtime_global_type(store: Any, arg1: Any) -> ctypes._Pointer: 

2836 return _wasmtime_global_type(store, arg1) # type: ignore 

2837 

2838_wasmtime_global_get = dll.wasmtime_global_get 

2839_wasmtime_global_get.restype = None 

2840_wasmtime_global_get.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_global_t), POINTER(wasmtime_val_t)] 

2841def wasmtime_global_get(store: Any, arg1: Any, out: Any) -> None: 

2842 return _wasmtime_global_get(store, arg1, out) # type: ignore 

2843 

2844_wasmtime_global_set = dll.wasmtime_global_set 

2845_wasmtime_global_set.restype = POINTER(wasmtime_error_t) 

2846_wasmtime_global_set.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_global_t), POINTER(wasmtime_val_t)] 

2847def wasmtime_global_set(store: Any, arg1: Any, val: Any) -> ctypes._Pointer: 

2848 return _wasmtime_global_set(store, arg1, val) # type: ignore 

2849 

2850class wasmtime_instance(Structure): 

2851 _fields_ = [ 

2852 ("store_id", c_uint64), 

2853 ("index", c_size_t), 

2854 ] 

2855 store_id: int 

2856 index: int 

2857 

2858wasmtime_instance_t = wasmtime_instance 

2859 

2860_wasmtime_instance_new = dll.wasmtime_instance_new 

2861_wasmtime_instance_new.restype = POINTER(wasmtime_error_t) 

2862_wasmtime_instance_new.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_module_t), POINTER(wasmtime_extern_t), c_size_t, POINTER(wasmtime_instance_t), POINTER(POINTER(wasm_trap_t))] 

2863def wasmtime_instance_new(store: Any, module: Any, imports: Any, nimports: Any, instance: Any, trap: Any) -> ctypes._Pointer: 

2864 return _wasmtime_instance_new(store, module, imports, nimports, instance, trap) # type: ignore 

2865 

2866_wasmtime_instance_export_get = dll.wasmtime_instance_export_get 

2867_wasmtime_instance_export_get.restype = c_bool 

2868_wasmtime_instance_export_get.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_instance_t), POINTER(c_char), c_size_t, POINTER(wasmtime_extern_t)] 

2869def wasmtime_instance_export_get(store: Any, instance: Any, name: Any, name_len: Any, item: Any) -> bool: 

2870 return _wasmtime_instance_export_get(store, instance, name, name_len, item) # type: ignore 

2871 

2872_wasmtime_instance_export_nth = dll.wasmtime_instance_export_nth 

2873_wasmtime_instance_export_nth.restype = c_bool 

2874_wasmtime_instance_export_nth.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_instance_t), c_size_t, POINTER(POINTER(c_char)), POINTER(c_size_t), POINTER(wasmtime_extern_t)] 

2875def wasmtime_instance_export_nth(store: Any, instance: Any, index: Any, name: Any, name_len: Any, item: Any) -> bool: 

2876 return _wasmtime_instance_export_nth(store, instance, index, name, name_len, item) # type: ignore 

2877 

2878class wasmtime_instance_pre(Structure): 

2879 pass 

2880 

2881wasmtime_instance_pre_t = wasmtime_instance_pre 

2882 

2883_wasmtime_instance_pre_delete = dll.wasmtime_instance_pre_delete 

2884_wasmtime_instance_pre_delete.restype = None 

2885_wasmtime_instance_pre_delete.argtypes = [POINTER(wasmtime_instance_pre_t)] 

2886def wasmtime_instance_pre_delete(instance_pre: Any) -> None: 

2887 return _wasmtime_instance_pre_delete(instance_pre) # type: ignore 

2888 

2889_wasmtime_instance_pre_instantiate = dll.wasmtime_instance_pre_instantiate 

2890_wasmtime_instance_pre_instantiate.restype = POINTER(wasmtime_error_t) 

2891_wasmtime_instance_pre_instantiate.argtypes = [POINTER(wasmtime_instance_pre_t), POINTER(wasmtime_context_t), POINTER(wasmtime_instance_t), POINTER(POINTER(wasm_trap_t))] 

2892def wasmtime_instance_pre_instantiate(instance_pre: Any, store: Any, instance: Any, trap_ptr: Any) -> ctypes._Pointer: 

2893 return _wasmtime_instance_pre_instantiate(instance_pre, store, instance, trap_ptr) # type: ignore 

2894 

2895_wasmtime_instance_pre_module = dll.wasmtime_instance_pre_module 

2896_wasmtime_instance_pre_module.restype = POINTER(wasmtime_module_t) 

2897_wasmtime_instance_pre_module.argtypes = [POINTER(wasmtime_instance_pre_t)] 

2898def wasmtime_instance_pre_module(instance_pre: Any) -> ctypes._Pointer: 

2899 return _wasmtime_instance_pre_module(instance_pre) # type: ignore 

2900 

2901class wasmtime_linker(Structure): 

2902 pass 

2903 

2904wasmtime_linker_t = wasmtime_linker 

2905 

2906_wasmtime_linker_new = dll.wasmtime_linker_new 

2907_wasmtime_linker_new.restype = POINTER(wasmtime_linker_t) 

2908_wasmtime_linker_new.argtypes = [POINTER(wasm_engine_t)] 

2909def wasmtime_linker_new(engine: Any) -> ctypes._Pointer: 

2910 return _wasmtime_linker_new(engine) # type: ignore 

2911 

2912_wasmtime_linker_clone = dll.wasmtime_linker_clone 

2913_wasmtime_linker_clone.restype = POINTER(wasmtime_linker_t) 

2914_wasmtime_linker_clone.argtypes = [POINTER(wasmtime_linker_t)] 

2915def wasmtime_linker_clone(linker: Any) -> ctypes._Pointer: 

2916 return _wasmtime_linker_clone(linker) # type: ignore 

2917 

2918_wasmtime_linker_delete = dll.wasmtime_linker_delete 

2919_wasmtime_linker_delete.restype = None 

2920_wasmtime_linker_delete.argtypes = [POINTER(wasmtime_linker_t)] 

2921def wasmtime_linker_delete(linker: Any) -> None: 

2922 return _wasmtime_linker_delete(linker) # type: ignore 

2923 

2924_wasmtime_linker_allow_shadowing = dll.wasmtime_linker_allow_shadowing 

2925_wasmtime_linker_allow_shadowing.restype = None 

2926_wasmtime_linker_allow_shadowing.argtypes = [POINTER(wasmtime_linker_t), c_bool] 

2927def wasmtime_linker_allow_shadowing(linker: Any, allow_shadowing: Any) -> None: 

2928 return _wasmtime_linker_allow_shadowing(linker, allow_shadowing) # type: ignore 

2929 

2930_wasmtime_linker_define = dll.wasmtime_linker_define 

2931_wasmtime_linker_define.restype = POINTER(wasmtime_error_t) 

2932_wasmtime_linker_define.argtypes = [POINTER(wasmtime_linker_t), POINTER(wasmtime_context_t), POINTER(c_char), c_size_t, POINTER(c_char), c_size_t, POINTER(wasmtime_extern_t)] 

2933def wasmtime_linker_define(linker: Any, store: Any, module: Any, module_len: Any, name: Any, name_len: Any, item: Any) -> ctypes._Pointer: 

2934 return _wasmtime_linker_define(linker, store, module, module_len, name, name_len, item) # type: ignore 

2935 

2936_wasmtime_linker_define_func = dll.wasmtime_linker_define_func 

2937_wasmtime_linker_define_func.restype = POINTER(wasmtime_error_t) 

2938_wasmtime_linker_define_func.argtypes = [POINTER(wasmtime_linker_t), POINTER(c_char), c_size_t, POINTER(c_char), c_size_t, POINTER(wasm_functype_t), wasmtime_func_callback_t, c_void_p, CFUNCTYPE(None, c_void_p)] 

2939def wasmtime_linker_define_func(linker: Any, module: Any, module_len: Any, name: Any, name_len: Any, ty: Any, cb: Any, data: Any, finalizer: Any) -> ctypes._Pointer: 

2940 return _wasmtime_linker_define_func(linker, module, module_len, name, name_len, ty, cb, data, finalizer) # type: ignore 

2941 

2942_wasmtime_linker_define_func_unchecked = dll.wasmtime_linker_define_func_unchecked 

2943_wasmtime_linker_define_func_unchecked.restype = POINTER(wasmtime_error_t) 

2944_wasmtime_linker_define_func_unchecked.argtypes = [POINTER(wasmtime_linker_t), POINTER(c_char), c_size_t, POINTER(c_char), c_size_t, POINTER(wasm_functype_t), wasmtime_func_unchecked_callback_t, c_void_p, CFUNCTYPE(None, c_void_p)] 

2945def wasmtime_linker_define_func_unchecked(linker: Any, module: Any, module_len: Any, name: Any, name_len: Any, ty: Any, cb: Any, data: Any, finalizer: Any) -> ctypes._Pointer: 

2946 return _wasmtime_linker_define_func_unchecked(linker, module, module_len, name, name_len, ty, cb, data, finalizer) # type: ignore 

2947 

2948_wasmtime_linker_define_wasi = dll.wasmtime_linker_define_wasi 

2949_wasmtime_linker_define_wasi.restype = POINTER(wasmtime_error_t) 

2950_wasmtime_linker_define_wasi.argtypes = [POINTER(wasmtime_linker_t)] 

2951def wasmtime_linker_define_wasi(linker: Any) -> ctypes._Pointer: 

2952 return _wasmtime_linker_define_wasi(linker) # type: ignore 

2953 

2954_wasmtime_linker_define_instance = dll.wasmtime_linker_define_instance 

2955_wasmtime_linker_define_instance.restype = POINTER(wasmtime_error_t) 

2956_wasmtime_linker_define_instance.argtypes = [POINTER(wasmtime_linker_t), POINTER(wasmtime_context_t), POINTER(c_char), c_size_t, POINTER(wasmtime_instance_t)] 

2957def wasmtime_linker_define_instance(linker: Any, store: Any, name: Any, name_len: Any, instance: Any) -> ctypes._Pointer: 

2958 return _wasmtime_linker_define_instance(linker, store, name, name_len, instance) # type: ignore 

2959 

2960_wasmtime_linker_instantiate = dll.wasmtime_linker_instantiate 

2961_wasmtime_linker_instantiate.restype = POINTER(wasmtime_error_t) 

2962_wasmtime_linker_instantiate.argtypes = [POINTER(wasmtime_linker_t), POINTER(wasmtime_context_t), POINTER(wasmtime_module_t), POINTER(wasmtime_instance_t), POINTER(POINTER(wasm_trap_t))] 

2963def wasmtime_linker_instantiate(linker: Any, store: Any, module: Any, instance: Any, trap: Any) -> ctypes._Pointer: 

2964 return _wasmtime_linker_instantiate(linker, store, module, instance, trap) # type: ignore 

2965 

2966_wasmtime_linker_module = dll.wasmtime_linker_module 

2967_wasmtime_linker_module.restype = POINTER(wasmtime_error_t) 

2968_wasmtime_linker_module.argtypes = [POINTER(wasmtime_linker_t), POINTER(wasmtime_context_t), POINTER(c_char), c_size_t, POINTER(wasmtime_module_t)] 

2969def wasmtime_linker_module(linker: Any, store: Any, name: Any, name_len: Any, module: Any) -> ctypes._Pointer: 

2970 return _wasmtime_linker_module(linker, store, name, name_len, module) # type: ignore 

2971 

2972_wasmtime_linker_get_default = dll.wasmtime_linker_get_default 

2973_wasmtime_linker_get_default.restype = POINTER(wasmtime_error_t) 

2974_wasmtime_linker_get_default.argtypes = [POINTER(wasmtime_linker_t), POINTER(wasmtime_context_t), POINTER(c_char), c_size_t, POINTER(wasmtime_func_t)] 

2975def wasmtime_linker_get_default(linker: Any, store: Any, name: Any, name_len: Any, func: Any) -> ctypes._Pointer: 

2976 return _wasmtime_linker_get_default(linker, store, name, name_len, func) # type: ignore 

2977 

2978_wasmtime_linker_get = dll.wasmtime_linker_get 

2979_wasmtime_linker_get.restype = c_bool 

2980_wasmtime_linker_get.argtypes = [POINTER(wasmtime_linker_t), POINTER(wasmtime_context_t), POINTER(c_char), c_size_t, POINTER(c_char), c_size_t, POINTER(wasmtime_extern_t)] 

2981def wasmtime_linker_get(linker: Any, store: Any, module: Any, module_len: Any, name: Any, name_len: Any, item: Any) -> bool: 

2982 return _wasmtime_linker_get(linker, store, module, module_len, name, name_len, item) # type: ignore 

2983 

2984_wasmtime_linker_instantiate_pre = dll.wasmtime_linker_instantiate_pre 

2985_wasmtime_linker_instantiate_pre.restype = POINTER(wasmtime_error_t) 

2986_wasmtime_linker_instantiate_pre.argtypes = [POINTER(wasmtime_linker_t), POINTER(wasmtime_module_t), POINTER(POINTER(wasmtime_instance_pre_t))] 

2987def wasmtime_linker_instantiate_pre(linker: Any, module: Any, instance_pre: Any) -> ctypes._Pointer: 

2988 return _wasmtime_linker_instantiate_pre(linker, module, instance_pre) # type: ignore 

2989 

2990_wasmtime_memorytype_new = dll.wasmtime_memorytype_new 

2991_wasmtime_memorytype_new.restype = POINTER(wasm_memorytype_t) 

2992_wasmtime_memorytype_new.argtypes = [c_uint64, c_bool, c_uint64, c_bool, c_bool] 

2993def wasmtime_memorytype_new(min: Any, max_present: Any, max: Any, is_64: Any, shared: Any) -> ctypes._Pointer: 

2994 return _wasmtime_memorytype_new(min, max_present, max, is_64, shared) # type: ignore 

2995 

2996_wasmtime_memorytype_minimum = dll.wasmtime_memorytype_minimum 

2997_wasmtime_memorytype_minimum.restype = c_uint64 

2998_wasmtime_memorytype_minimum.argtypes = [POINTER(wasm_memorytype_t)] 

2999def wasmtime_memorytype_minimum(ty: Any) -> int: 

3000 return _wasmtime_memorytype_minimum(ty) # type: ignore 

3001 

3002_wasmtime_memorytype_maximum = dll.wasmtime_memorytype_maximum 

3003_wasmtime_memorytype_maximum.restype = c_bool 

3004_wasmtime_memorytype_maximum.argtypes = [POINTER(wasm_memorytype_t), POINTER(c_uint64)] 

3005def wasmtime_memorytype_maximum(ty: Any, max: Any) -> bool: 

3006 return _wasmtime_memorytype_maximum(ty, max) # type: ignore 

3007 

3008_wasmtime_memorytype_is64 = dll.wasmtime_memorytype_is64 

3009_wasmtime_memorytype_is64.restype = c_bool 

3010_wasmtime_memorytype_is64.argtypes = [POINTER(wasm_memorytype_t)] 

3011def wasmtime_memorytype_is64(ty: Any) -> bool: 

3012 return _wasmtime_memorytype_is64(ty) # type: ignore 

3013 

3014_wasmtime_memorytype_isshared = dll.wasmtime_memorytype_isshared 

3015_wasmtime_memorytype_isshared.restype = c_bool 

3016_wasmtime_memorytype_isshared.argtypes = [POINTER(wasm_memorytype_t)] 

3017def wasmtime_memorytype_isshared(ty: Any) -> bool: 

3018 return _wasmtime_memorytype_isshared(ty) # type: ignore 

3019 

3020_wasmtime_memory_new = dll.wasmtime_memory_new 

3021_wasmtime_memory_new.restype = POINTER(wasmtime_error_t) 

3022_wasmtime_memory_new.argtypes = [POINTER(wasmtime_context_t), POINTER(wasm_memorytype_t), POINTER(wasmtime_memory_t)] 

3023def wasmtime_memory_new(store: Any, ty: Any, ret: Any) -> ctypes._Pointer: 

3024 return _wasmtime_memory_new(store, ty, ret) # type: ignore 

3025 

3026_wasmtime_memory_type = dll.wasmtime_memory_type 

3027_wasmtime_memory_type.restype = POINTER(wasm_memorytype_t) 

3028_wasmtime_memory_type.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_memory_t)] 

3029def wasmtime_memory_type(store: Any, memory: Any) -> ctypes._Pointer: 

3030 return _wasmtime_memory_type(store, memory) # type: ignore 

3031 

3032_wasmtime_memory_data = dll.wasmtime_memory_data 

3033_wasmtime_memory_data.restype = POINTER(c_uint8) 

3034_wasmtime_memory_data.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_memory_t)] 

3035def wasmtime_memory_data(store: Any, memory: Any) -> ctypes._Pointer: 

3036 return _wasmtime_memory_data(store, memory) # type: ignore 

3037 

3038_wasmtime_memory_data_size = dll.wasmtime_memory_data_size 

3039_wasmtime_memory_data_size.restype = c_size_t 

3040_wasmtime_memory_data_size.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_memory_t)] 

3041def wasmtime_memory_data_size(store: Any, memory: Any) -> int: 

3042 return _wasmtime_memory_data_size(store, memory) # type: ignore 

3043 

3044_wasmtime_memory_size = dll.wasmtime_memory_size 

3045_wasmtime_memory_size.restype = c_uint64 

3046_wasmtime_memory_size.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_memory_t)] 

3047def wasmtime_memory_size(store: Any, memory: Any) -> int: 

3048 return _wasmtime_memory_size(store, memory) # type: ignore 

3049 

3050_wasmtime_memory_grow = dll.wasmtime_memory_grow 

3051_wasmtime_memory_grow.restype = POINTER(wasmtime_error_t) 

3052_wasmtime_memory_grow.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_memory_t), c_uint64, POINTER(c_uint64)] 

3053def wasmtime_memory_grow(store: Any, memory: Any, delta: Any, prev_size: Any) -> ctypes._Pointer: 

3054 return _wasmtime_memory_grow(store, memory, delta, prev_size) # type: ignore 

3055 

3056class wasmtime_guestprofiler(Structure): 

3057 pass 

3058 

3059wasmtime_guestprofiler_t = wasmtime_guestprofiler 

3060 

3061_wasmtime_guestprofiler_delete = dll.wasmtime_guestprofiler_delete 

3062_wasmtime_guestprofiler_delete.restype = None 

3063_wasmtime_guestprofiler_delete.argtypes = [POINTER(wasmtime_guestprofiler_t)] 

3064def wasmtime_guestprofiler_delete(guestprofiler: Any) -> None: 

3065 return _wasmtime_guestprofiler_delete(guestprofiler) # type: ignore 

3066 

3067class wasmtime_guestprofiler_modules(Structure): 

3068 _fields_ = [ 

3069 ("name", POINTER(wasm_name_t)), 

3070 ("mod", POINTER(wasmtime_module_t)), 

3071 ] 

3072 name: ctypes._Pointer 

3073 mod: ctypes._Pointer 

3074 

3075wasmtime_guestprofiler_modules_t = wasmtime_guestprofiler_modules 

3076 

3077_wasmtime_guestprofiler_new = dll.wasmtime_guestprofiler_new 

3078_wasmtime_guestprofiler_new.restype = POINTER(wasmtime_guestprofiler_t) 

3079_wasmtime_guestprofiler_new.argtypes = [POINTER(wasm_name_t), c_uint64, POINTER(wasmtime_guestprofiler_modules_t), c_size_t] 

3080def wasmtime_guestprofiler_new(module_name: Any, interval_nanos: Any, modules: Any, modules_len: Any) -> ctypes._Pointer: 

3081 return _wasmtime_guestprofiler_new(module_name, interval_nanos, modules, modules_len) # type: ignore 

3082 

3083_wasmtime_guestprofiler_sample = dll.wasmtime_guestprofiler_sample 

3084_wasmtime_guestprofiler_sample.restype = None 

3085_wasmtime_guestprofiler_sample.argtypes = [POINTER(wasmtime_guestprofiler_t), POINTER(wasmtime_store_t), c_uint64] 

3086def wasmtime_guestprofiler_sample(guestprofiler: Any, store: Any, delta_nanos: Any) -> None: 

3087 return _wasmtime_guestprofiler_sample(guestprofiler, store, delta_nanos) # type: ignore 

3088 

3089_wasmtime_guestprofiler_finish = dll.wasmtime_guestprofiler_finish 

3090_wasmtime_guestprofiler_finish.restype = POINTER(wasmtime_error_t) 

3091_wasmtime_guestprofiler_finish.argtypes = [POINTER(wasmtime_guestprofiler_t), POINTER(wasm_byte_vec_t)] 

3092def wasmtime_guestprofiler_finish(guestprofiler: Any, out: Any) -> ctypes._Pointer: 

3093 return _wasmtime_guestprofiler_finish(guestprofiler, out) # type: ignore 

3094 

3095_wasmtime_table_new = dll.wasmtime_table_new 

3096_wasmtime_table_new.restype = POINTER(wasmtime_error_t) 

3097_wasmtime_table_new.argtypes = [POINTER(wasmtime_context_t), POINTER(wasm_tabletype_t), POINTER(wasmtime_val_t), POINTER(wasmtime_table_t)] 

3098def wasmtime_table_new(store: Any, ty: Any, init: Any, table: Any) -> ctypes._Pointer: 

3099 return _wasmtime_table_new(store, ty, init, table) # type: ignore 

3100 

3101_wasmtime_table_type = dll.wasmtime_table_type 

3102_wasmtime_table_type.restype = POINTER(wasm_tabletype_t) 

3103_wasmtime_table_type.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_table_t)] 

3104def wasmtime_table_type(store: Any, table: Any) -> ctypes._Pointer: 

3105 return _wasmtime_table_type(store, table) # type: ignore 

3106 

3107_wasmtime_table_get = dll.wasmtime_table_get 

3108_wasmtime_table_get.restype = c_bool 

3109_wasmtime_table_get.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_table_t), c_uint64, POINTER(wasmtime_val_t)] 

3110def wasmtime_table_get(store: Any, table: Any, index: Any, val: Any) -> bool: 

3111 return _wasmtime_table_get(store, table, index, val) # type: ignore 

3112 

3113_wasmtime_table_set = dll.wasmtime_table_set 

3114_wasmtime_table_set.restype = POINTER(wasmtime_error_t) 

3115_wasmtime_table_set.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_table_t), c_uint64, POINTER(wasmtime_val_t)] 

3116def wasmtime_table_set(store: Any, table: Any, index: Any, value: Any) -> ctypes._Pointer: 

3117 return _wasmtime_table_set(store, table, index, value) # type: ignore 

3118 

3119_wasmtime_table_size = dll.wasmtime_table_size 

3120_wasmtime_table_size.restype = c_uint64 

3121_wasmtime_table_size.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_table_t)] 

3122def wasmtime_table_size(store: Any, table: Any) -> int: 

3123 return _wasmtime_table_size(store, table) # type: ignore 

3124 

3125_wasmtime_table_grow = dll.wasmtime_table_grow 

3126_wasmtime_table_grow.restype = POINTER(wasmtime_error_t) 

3127_wasmtime_table_grow.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_table_t), c_uint64, POINTER(wasmtime_val_t), POINTER(c_uint64)] 

3128def wasmtime_table_grow(store: Any, table: Any, delta: Any, init: Any, prev_size: Any) -> ctypes._Pointer: 

3129 return _wasmtime_table_grow(store, table, delta, init, prev_size) # type: ignore 

3130 

3131wasmtime_trap_code_t = c_uint8 

3132 

3133class wasmtime_trap_code_enum(Enum): 

3134 WASMTIME_TRAP_CODE_STACK_OVERFLOW = auto() 

3135 WASMTIME_TRAP_CODE_MEMORY_OUT_OF_BOUNDS = auto() 

3136 WASMTIME_TRAP_CODE_HEAP_MISALIGNED = auto() 

3137 WASMTIME_TRAP_CODE_TABLE_OUT_OF_BOUNDS = auto() 

3138 WASMTIME_TRAP_CODE_INDIRECT_CALL_TO_NULL = auto() 

3139 WASMTIME_TRAP_CODE_BAD_SIGNATURE = auto() 

3140 WASMTIME_TRAP_CODE_INTEGER_OVERFLOW = auto() 

3141 WASMTIME_TRAP_CODE_INTEGER_DIVISION_BY_ZERO = auto() 

3142 WASMTIME_TRAP_CODE_BAD_CONVERSION_TO_INTEGER = auto() 

3143 WASMTIME_TRAP_CODE_UNREACHABLE_CODE_REACHED = auto() 

3144 WASMTIME_TRAP_CODE_INTERRUPT = auto() 

3145 WASMTIME_TRAP_CODE_OUT_OF_FUEL = auto() 

3146 

3147_wasmtime_trap_new = dll.wasmtime_trap_new 

3148_wasmtime_trap_new.restype = POINTER(wasm_trap_t) 

3149_wasmtime_trap_new.argtypes = [POINTER(c_char), c_size_t] 

3150def wasmtime_trap_new(msg: Any, msg_len: Any) -> ctypes._Pointer: 

3151 return _wasmtime_trap_new(msg, msg_len) # type: ignore 

3152 

3153_wasmtime_trap_code = dll.wasmtime_trap_code 

3154_wasmtime_trap_code.restype = c_bool 

3155_wasmtime_trap_code.argtypes = [POINTER(wasm_trap_t), POINTER(wasmtime_trap_code_t)] 

3156def wasmtime_trap_code(arg0: Any, code: Any) -> bool: 

3157 return _wasmtime_trap_code(arg0, code) # type: ignore 

3158 

3159_wasmtime_frame_func_name = dll.wasmtime_frame_func_name 

3160_wasmtime_frame_func_name.restype = POINTER(wasm_name_t) 

3161_wasmtime_frame_func_name.argtypes = [POINTER(wasm_frame_t)] 

3162def wasmtime_frame_func_name(arg0: Any) -> ctypes._Pointer: 

3163 return _wasmtime_frame_func_name(arg0) # type: ignore 

3164 

3165_wasmtime_frame_module_name = dll.wasmtime_frame_module_name 

3166_wasmtime_frame_module_name.restype = POINTER(wasm_name_t) 

3167_wasmtime_frame_module_name.argtypes = [POINTER(wasm_frame_t)] 

3168def wasmtime_frame_module_name(arg0: Any) -> ctypes._Pointer: 

3169 return _wasmtime_frame_module_name(arg0) # type: ignore 

3170 

3171_wasmtime_config_async_support_set = dll.wasmtime_config_async_support_set 

3172_wasmtime_config_async_support_set.restype = None 

3173_wasmtime_config_async_support_set.argtypes = [POINTER(wasm_config_t), c_bool] 

3174def wasmtime_config_async_support_set(arg0: Any, arg1: Any) -> None: 

3175 return _wasmtime_config_async_support_set(arg0, arg1) # type: ignore 

3176 

3177_wasmtime_config_async_stack_size_set = dll.wasmtime_config_async_stack_size_set 

3178_wasmtime_config_async_stack_size_set.restype = None 

3179_wasmtime_config_async_stack_size_set.argtypes = [POINTER(wasm_config_t), c_uint64] 

3180def wasmtime_config_async_stack_size_set(arg0: Any, arg1: Any) -> None: 

3181 return _wasmtime_config_async_stack_size_set(arg0, arg1) # type: ignore 

3182 

3183_wasmtime_context_fuel_async_yield_interval = dll.wasmtime_context_fuel_async_yield_interval 

3184_wasmtime_context_fuel_async_yield_interval.restype = POINTER(wasmtime_error_t) 

3185_wasmtime_context_fuel_async_yield_interval.argtypes = [POINTER(wasmtime_context_t), c_uint64] 

3186def wasmtime_context_fuel_async_yield_interval(context: Any, interval: Any) -> ctypes._Pointer: 

3187 return _wasmtime_context_fuel_async_yield_interval(context, interval) # type: ignore 

3188 

3189_wasmtime_context_epoch_deadline_async_yield_and_update = dll.wasmtime_context_epoch_deadline_async_yield_and_update 

3190_wasmtime_context_epoch_deadline_async_yield_and_update.restype = POINTER(wasmtime_error_t) 

3191_wasmtime_context_epoch_deadline_async_yield_and_update.argtypes = [POINTER(wasmtime_context_t), c_uint64] 

3192def wasmtime_context_epoch_deadline_async_yield_and_update(context: Any, delta: Any) -> ctypes._Pointer: 

3193 return _wasmtime_context_epoch_deadline_async_yield_and_update(context, delta) # type: ignore 

3194 

3195wasmtime_func_async_continuation_callback_t = CFUNCTYPE(c_bool, c_void_p) 

3196 

3197class wasmtime_async_continuation_t(Structure): 

3198 _fields_ = [ 

3199 ("callback", wasmtime_func_async_continuation_callback_t), 

3200 ("env", c_void_p), 

3201 ("finalizer", CFUNCTYPE(None, c_void_p)), 

3202 ] 

3203 callback: ctypes._Pointer 

3204 env: ctypes._Pointer 

3205 finalizer: ctypes._Pointer 

3206 

3207wasmtime_func_async_callback_t = CFUNCTYPE(None, c_void_p, POINTER(wasmtime_caller_t), POINTER(wasmtime_val_t), c_size_t, POINTER(wasmtime_val_t), c_size_t, POINTER(POINTER(wasm_trap_t)), POINTER(wasmtime_async_continuation_t)) 

3208 

3209class wasmtime_call_future(Structure): 

3210 pass 

3211 

3212wasmtime_call_future_t = wasmtime_call_future 

3213 

3214_wasmtime_call_future_poll = dll.wasmtime_call_future_poll 

3215_wasmtime_call_future_poll.restype = c_bool 

3216_wasmtime_call_future_poll.argtypes = [POINTER(wasmtime_call_future_t)] 

3217def wasmtime_call_future_poll(future: Any) -> bool: 

3218 return _wasmtime_call_future_poll(future) # type: ignore 

3219 

3220_wasmtime_call_future_delete = dll.wasmtime_call_future_delete 

3221_wasmtime_call_future_delete.restype = None 

3222_wasmtime_call_future_delete.argtypes = [POINTER(wasmtime_call_future_t)] 

3223def wasmtime_call_future_delete(future: Any) -> None: 

3224 return _wasmtime_call_future_delete(future) # type: ignore 

3225 

3226_wasmtime_func_call_async = dll.wasmtime_func_call_async 

3227_wasmtime_func_call_async.restype = POINTER(wasmtime_call_future_t) 

3228_wasmtime_func_call_async.argtypes = [POINTER(wasmtime_context_t), POINTER(wasmtime_func_t), POINTER(wasmtime_val_t), c_size_t, POINTER(wasmtime_val_t), c_size_t, POINTER(POINTER(wasm_trap_t)), POINTER(POINTER(wasmtime_error_t))] 

3229def wasmtime_func_call_async(context: Any, func: Any, args: Any, nargs: Any, results: Any, nresults: Any, trap_ret: Any, error_ret: Any) -> ctypes._Pointer: 

3230 return _wasmtime_func_call_async(context, func, args, nargs, results, nresults, trap_ret, error_ret) # type: ignore 

3231 

3232_wasmtime_linker_define_async_func = dll.wasmtime_linker_define_async_func 

3233_wasmtime_linker_define_async_func.restype = POINTER(wasmtime_error_t) 

3234_wasmtime_linker_define_async_func.argtypes = [POINTER(wasmtime_linker_t), POINTER(c_char), c_size_t, POINTER(c_char), c_size_t, POINTER(wasm_functype_t), wasmtime_func_async_callback_t, c_void_p, CFUNCTYPE(None, c_void_p)] 

3235def wasmtime_linker_define_async_func(linker: Any, module: Any, module_len: Any, name: Any, name_len: Any, ty: Any, cb: Any, data: Any, finalizer: Any) -> ctypes._Pointer: 

3236 return _wasmtime_linker_define_async_func(linker, module, module_len, name, name_len, ty, cb, data, finalizer) # type: ignore 

3237 

3238_wasmtime_linker_instantiate_async = dll.wasmtime_linker_instantiate_async 

3239_wasmtime_linker_instantiate_async.restype = POINTER(wasmtime_call_future_t) 

3240_wasmtime_linker_instantiate_async.argtypes = [POINTER(wasmtime_linker_t), POINTER(wasmtime_context_t), POINTER(wasmtime_module_t), POINTER(wasmtime_instance_t), POINTER(POINTER(wasm_trap_t)), POINTER(POINTER(wasmtime_error_t))] 

3241def wasmtime_linker_instantiate_async(linker: Any, store: Any, module: Any, instance: Any, trap_ret: Any, error_ret: Any) -> ctypes._Pointer: 

3242 return _wasmtime_linker_instantiate_async(linker, store, module, instance, trap_ret, error_ret) # type: ignore 

3243 

3244_wasmtime_instance_pre_instantiate_async = dll.wasmtime_instance_pre_instantiate_async 

3245_wasmtime_instance_pre_instantiate_async.restype = POINTER(wasmtime_call_future_t) 

3246_wasmtime_instance_pre_instantiate_async.argtypes = [POINTER(wasmtime_instance_pre_t), POINTER(wasmtime_context_t), POINTER(wasmtime_instance_t), POINTER(POINTER(wasm_trap_t)), POINTER(POINTER(wasmtime_error_t))] 

3247def wasmtime_instance_pre_instantiate_async(instance_pre: Any, store: Any, instance: Any, trap_ret: Any, error_ret: Any) -> ctypes._Pointer: 

3248 return _wasmtime_instance_pre_instantiate_async(instance_pre, store, instance, trap_ret, error_ret) # type: ignore 

3249 

3250wasmtime_stack_memory_get_callback_t = CFUNCTYPE(c_size_t, c_void_p, POINTER(c_size_t)) 

3251 

3252class wasmtime_stack_memory(Structure): 

3253 _fields_ = [ 

3254 ("env", c_void_p), 

3255 ("get_stack_memory", wasmtime_stack_memory_get_callback_t), 

3256 ("finalizer", CFUNCTYPE(None, c_void_p)), 

3257 ] 

3258 env: ctypes._Pointer 

3259 get_stack_memory: ctypes._Pointer 

3260 finalizer: ctypes._Pointer 

3261 

3262wasmtime_stack_memory_t = wasmtime_stack_memory 

3263 

3264wasmtime_new_stack_memory_callback_t = CFUNCTYPE(c_size_t, c_void_p, c_size_t, c_bool, POINTER(wasmtime_stack_memory_t)) 

3265 

3266class wasmtime_stack_creator(Structure): 

3267 _fields_ = [ 

3268 ("env", c_void_p), 

3269 ("new_stack", wasmtime_new_stack_memory_callback_t), 

3270 ("finalizer", CFUNCTYPE(None, c_void_p)), 

3271 ] 

3272 env: ctypes._Pointer 

3273 new_stack: ctypes._Pointer 

3274 finalizer: ctypes._Pointer 

3275 

3276wasmtime_stack_creator_t = wasmtime_stack_creator 

3277 

3278_wasmtime_config_host_stack_creator_set = dll.wasmtime_config_host_stack_creator_set 

3279_wasmtime_config_host_stack_creator_set.restype = None 

3280_wasmtime_config_host_stack_creator_set.argtypes = [POINTER(wasm_config_t), POINTER(wasmtime_stack_creator_t)] 

3281def wasmtime_config_host_stack_creator_set(arg0: Any, arg1: Any) -> None: 

3282 return _wasmtime_config_host_stack_creator_set(arg0, arg1) # type: ignore 

3283 

3284_wasmtime_wat2wasm = dll.wasmtime_wat2wasm 

3285_wasmtime_wat2wasm.restype = POINTER(wasmtime_error_t) 

3286_wasmtime_wat2wasm.argtypes = [POINTER(c_char), c_size_t, POINTER(wasm_byte_vec_t)] 

3287def wasmtime_wat2wasm(wat: Any, wat_len: Any, ret: Any) -> ctypes._Pointer: 

3288 return _wasmtime_wat2wasm(wat, wat_len, ret) # type: ignore