Coverage for wasmtime/_bindings.py: 89%

4216 statements  

« prev     ^ index     » next       coverage.py v7.11.3, created at 2026-08-20 19:29 +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 

6import ctypes 

7from typing import Any 

8from enum import Enum, auto 

9from ._ffi import dll, wasm_val_t, wasm_ref_t 

10 

11wasm_byte_t = ctypes.c_ubyte 

12 

13class wasm_byte_vec_t(ctypes.Structure): 

14 _fields_ = [ 

15 ("size", ctypes.c_size_t), 

16 ("data", ctypes.POINTER(wasm_byte_t)), 

17 ] 

18 size: int 

19 data: ctypes._Pointer 

20 

21_wasm_byte_vec_new_empty = dll.wasm_byte_vec_new_empty 

22_wasm_byte_vec_new_empty.restype = None 

23_wasm_byte_vec_new_empty.argtypes = [ctypes.POINTER(wasm_byte_vec_t)] 

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

25 return _wasm_byte_vec_new_empty(out) # type: ignore 

26 

27_wasm_byte_vec_new_uninitialized = dll.wasm_byte_vec_new_uninitialized 

28_wasm_byte_vec_new_uninitialized.restype = None 

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

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

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

32 

33_wasm_byte_vec_new = dll.wasm_byte_vec_new 

34_wasm_byte_vec_new.restype = None 

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

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

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

38 

39_wasm_byte_vec_copy = dll.wasm_byte_vec_copy 

40_wasm_byte_vec_copy.restype = None 

41_wasm_byte_vec_copy.argtypes = [ctypes.POINTER(wasm_byte_vec_t), ctypes.POINTER(wasm_byte_vec_t)] 

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

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

44 

45_wasm_byte_vec_delete = dll.wasm_byte_vec_delete 

46_wasm_byte_vec_delete.restype = None 

47_wasm_byte_vec_delete.argtypes = [ctypes.POINTER(wasm_byte_vec_t)] 

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

49 return _wasm_byte_vec_delete(arg0) # type: ignore 

50 

51wasm_name_t = wasm_byte_vec_t 

52 

53class wasm_config_t(ctypes.Structure): 

54 pass 

55 

56_wasm_config_delete = dll.wasm_config_delete 

57_wasm_config_delete.restype = None 

58_wasm_config_delete.argtypes = [ctypes.POINTER(wasm_config_t)] 

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

60 return _wasm_config_delete(arg0) # type: ignore 

61 

62_wasm_config_new = dll.wasm_config_new 

63_wasm_config_new.restype = ctypes.POINTER(wasm_config_t) 

64_wasm_config_new.argtypes = [] 

65def wasm_config_new() -> ctypes._Pointer: 

66 return _wasm_config_new() # type: ignore 

67 

68class wasm_engine_t(ctypes.Structure): 

69 pass 

70 

71_wasm_engine_delete = dll.wasm_engine_delete 

72_wasm_engine_delete.restype = None 

73_wasm_engine_delete.argtypes = [ctypes.POINTER(wasm_engine_t)] 

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

75 return _wasm_engine_delete(arg0) # type: ignore 

76 

77_wasm_engine_new = dll.wasm_engine_new 

78_wasm_engine_new.restype = ctypes.POINTER(wasm_engine_t) 

79_wasm_engine_new.argtypes = [] 

80def wasm_engine_new() -> ctypes._Pointer: 

81 return _wasm_engine_new() # type: ignore 

82 

83_wasm_engine_new_with_config = dll.wasm_engine_new_with_config 

84_wasm_engine_new_with_config.restype = ctypes.POINTER(wasm_engine_t) 

85_wasm_engine_new_with_config.argtypes = [ctypes.POINTER(wasm_config_t)] 

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

87 return _wasm_engine_new_with_config(arg0) # type: ignore 

88 

89class wasm_store_t(ctypes.Structure): 

90 pass 

91 

92_wasm_store_delete = dll.wasm_store_delete 

93_wasm_store_delete.restype = None 

94_wasm_store_delete.argtypes = [ctypes.POINTER(wasm_store_t)] 

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

96 return _wasm_store_delete(arg0) # type: ignore 

97 

98_wasm_store_new = dll.wasm_store_new 

99_wasm_store_new.restype = ctypes.POINTER(wasm_store_t) 

100_wasm_store_new.argtypes = [ctypes.POINTER(wasm_engine_t)] 

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

102 return _wasm_store_new(arg0) # type: ignore 

103 

104wasm_mutability_t = ctypes.c_uint8 

105 

106class wasm_mutability_enum(Enum): 

107 WASM_CONST = auto() 

108 WASM_VAR = auto() 

109 

110class wasm_limits_t(ctypes.Structure): 

111 _fields_ = [ 

112 ("min", ctypes.c_uint32), 

113 ("max", ctypes.c_uint32), 

114 ] 

115 min: int 

116 max: int 

117 

118class wasm_valtype_t(ctypes.Structure): 

119 pass 

120 

121_wasm_valtype_delete = dll.wasm_valtype_delete 

122_wasm_valtype_delete.restype = None 

123_wasm_valtype_delete.argtypes = [ctypes.POINTER(wasm_valtype_t)] 

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

125 return _wasm_valtype_delete(arg0) # type: ignore 

126 

127class wasm_valtype_vec_t(ctypes.Structure): 

128 _fields_ = [ 

129 ("size", ctypes.c_size_t), 

130 ("data", ctypes.POINTER(ctypes.POINTER(wasm_valtype_t))), 

131 ] 

132 size: int 

133 data: ctypes._Pointer 

134 

135_wasm_valtype_vec_new_empty = dll.wasm_valtype_vec_new_empty 

136_wasm_valtype_vec_new_empty.restype = None 

137_wasm_valtype_vec_new_empty.argtypes = [ctypes.POINTER(wasm_valtype_vec_t)] 

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

139 return _wasm_valtype_vec_new_empty(out) # type: ignore 

140 

141_wasm_valtype_vec_new_uninitialized = dll.wasm_valtype_vec_new_uninitialized 

142_wasm_valtype_vec_new_uninitialized.restype = None 

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

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

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

146 

147_wasm_valtype_vec_new = dll.wasm_valtype_vec_new 

148_wasm_valtype_vec_new.restype = None 

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

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

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

152 

153_wasm_valtype_vec_copy = dll.wasm_valtype_vec_copy 

154_wasm_valtype_vec_copy.restype = None 

155_wasm_valtype_vec_copy.argtypes = [ctypes.POINTER(wasm_valtype_vec_t), ctypes.POINTER(wasm_valtype_vec_t)] 

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

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

158 

159_wasm_valtype_vec_delete = dll.wasm_valtype_vec_delete 

160_wasm_valtype_vec_delete.restype = None 

161_wasm_valtype_vec_delete.argtypes = [ctypes.POINTER(wasm_valtype_vec_t)] 

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

163 return _wasm_valtype_vec_delete(arg0) # type: ignore 

164 

165_wasm_valtype_copy = dll.wasm_valtype_copy 

166_wasm_valtype_copy.restype = ctypes.POINTER(wasm_valtype_t) 

167_wasm_valtype_copy.argtypes = [ctypes.POINTER(wasm_valtype_t)] 

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

169 return _wasm_valtype_copy(arg0) # type: ignore 

170 

171wasm_valkind_t = ctypes.c_uint8 

172 

173class wasm_valkind_enum(Enum): 

174 WASM_I32 = auto() 

175 WASM_I64 = auto() 

176 WASM_F32 = auto() 

177 WASM_F64 = auto() 

178 WASM_EXTERNREF = 128 

179 WASM_FUNCREF = auto() 

180 

181_wasm_valtype_new = dll.wasm_valtype_new 

182_wasm_valtype_new.restype = ctypes.POINTER(wasm_valtype_t) 

183_wasm_valtype_new.argtypes = [wasm_valkind_t] 

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

185 return _wasm_valtype_new(arg0) # type: ignore 

186 

187_wasm_valtype_kind = dll.wasm_valtype_kind 

188_wasm_valtype_kind.restype = wasm_valkind_t 

189_wasm_valtype_kind.argtypes = [ctypes.POINTER(wasm_valtype_t)] 

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

191 return _wasm_valtype_kind(arg0) # type: ignore 

192 

193class wasm_functype_t(ctypes.Structure): 

194 pass 

195 

196_wasm_functype_delete = dll.wasm_functype_delete 

197_wasm_functype_delete.restype = None 

198_wasm_functype_delete.argtypes = [ctypes.POINTER(wasm_functype_t)] 

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

200 return _wasm_functype_delete(arg0) # type: ignore 

201 

202class wasm_functype_vec_t(ctypes.Structure): 

203 _fields_ = [ 

204 ("size", ctypes.c_size_t), 

205 ("data", ctypes.POINTER(ctypes.POINTER(wasm_functype_t))), 

206 ] 

207 size: int 

208 data: ctypes._Pointer 

209 

210_wasm_functype_vec_new_empty = dll.wasm_functype_vec_new_empty 

211_wasm_functype_vec_new_empty.restype = None 

212_wasm_functype_vec_new_empty.argtypes = [ctypes.POINTER(wasm_functype_vec_t)] 

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

214 return _wasm_functype_vec_new_empty(out) # type: ignore 

215 

216_wasm_functype_vec_new_uninitialized = dll.wasm_functype_vec_new_uninitialized 

217_wasm_functype_vec_new_uninitialized.restype = None 

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

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

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

221 

222_wasm_functype_vec_new = dll.wasm_functype_vec_new 

223_wasm_functype_vec_new.restype = None 

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

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

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

227 

228_wasm_functype_vec_copy = dll.wasm_functype_vec_copy 

229_wasm_functype_vec_copy.restype = None 

230_wasm_functype_vec_copy.argtypes = [ctypes.POINTER(wasm_functype_vec_t), ctypes.POINTER(wasm_functype_vec_t)] 

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

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

233 

234_wasm_functype_vec_delete = dll.wasm_functype_vec_delete 

235_wasm_functype_vec_delete.restype = None 

236_wasm_functype_vec_delete.argtypes = [ctypes.POINTER(wasm_functype_vec_t)] 

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

238 return _wasm_functype_vec_delete(arg0) # type: ignore 

239 

240_wasm_functype_copy = dll.wasm_functype_copy 

241_wasm_functype_copy.restype = ctypes.POINTER(wasm_functype_t) 

242_wasm_functype_copy.argtypes = [ctypes.POINTER(wasm_functype_t)] 

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

244 return _wasm_functype_copy(arg0) # type: ignore 

245 

246_wasm_functype_new = dll.wasm_functype_new 

247_wasm_functype_new.restype = ctypes.POINTER(wasm_functype_t) 

248_wasm_functype_new.argtypes = [ctypes.POINTER(wasm_valtype_vec_t), ctypes.POINTER(wasm_valtype_vec_t)] 

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

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

251 

252_wasm_functype_params = dll.wasm_functype_params 

253_wasm_functype_params.restype = ctypes.POINTER(wasm_valtype_vec_t) 

254_wasm_functype_params.argtypes = [ctypes.POINTER(wasm_functype_t)] 

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

256 return _wasm_functype_params(arg0) # type: ignore 

257 

258_wasm_functype_results = dll.wasm_functype_results 

259_wasm_functype_results.restype = ctypes.POINTER(wasm_valtype_vec_t) 

260_wasm_functype_results.argtypes = [ctypes.POINTER(wasm_functype_t)] 

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

262 return _wasm_functype_results(arg0) # type: ignore 

263 

264class wasm_globaltype_t(ctypes.Structure): 

265 pass 

266 

267_wasm_globaltype_delete = dll.wasm_globaltype_delete 

268_wasm_globaltype_delete.restype = None 

269_wasm_globaltype_delete.argtypes = [ctypes.POINTER(wasm_globaltype_t)] 

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

271 return _wasm_globaltype_delete(arg0) # type: ignore 

272 

273class wasm_globaltype_vec_t(ctypes.Structure): 

274 _fields_ = [ 

275 ("size", ctypes.c_size_t), 

276 ("data", ctypes.POINTER(ctypes.POINTER(wasm_globaltype_t))), 

277 ] 

278 size: int 

279 data: ctypes._Pointer 

280 

281_wasm_globaltype_vec_new_empty = dll.wasm_globaltype_vec_new_empty 

282_wasm_globaltype_vec_new_empty.restype = None 

283_wasm_globaltype_vec_new_empty.argtypes = [ctypes.POINTER(wasm_globaltype_vec_t)] 

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

285 return _wasm_globaltype_vec_new_empty(out) # type: ignore 

286 

287_wasm_globaltype_vec_new_uninitialized = dll.wasm_globaltype_vec_new_uninitialized 

288_wasm_globaltype_vec_new_uninitialized.restype = None 

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

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

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

292 

293_wasm_globaltype_vec_new = dll.wasm_globaltype_vec_new 

294_wasm_globaltype_vec_new.restype = None 

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

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

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

298 

299_wasm_globaltype_vec_copy = dll.wasm_globaltype_vec_copy 

300_wasm_globaltype_vec_copy.restype = None 

301_wasm_globaltype_vec_copy.argtypes = [ctypes.POINTER(wasm_globaltype_vec_t), ctypes.POINTER(wasm_globaltype_vec_t)] 

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

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

304 

305_wasm_globaltype_vec_delete = dll.wasm_globaltype_vec_delete 

306_wasm_globaltype_vec_delete.restype = None 

307_wasm_globaltype_vec_delete.argtypes = [ctypes.POINTER(wasm_globaltype_vec_t)] 

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

309 return _wasm_globaltype_vec_delete(arg0) # type: ignore 

310 

311_wasm_globaltype_copy = dll.wasm_globaltype_copy 

312_wasm_globaltype_copy.restype = ctypes.POINTER(wasm_globaltype_t) 

313_wasm_globaltype_copy.argtypes = [ctypes.POINTER(wasm_globaltype_t)] 

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

315 return _wasm_globaltype_copy(arg0) # type: ignore 

316 

317_wasm_globaltype_new = dll.wasm_globaltype_new 

318_wasm_globaltype_new.restype = ctypes.POINTER(wasm_globaltype_t) 

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

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

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

322 

323_wasm_globaltype_content = dll.wasm_globaltype_content 

324_wasm_globaltype_content.restype = ctypes.POINTER(wasm_valtype_t) 

325_wasm_globaltype_content.argtypes = [ctypes.POINTER(wasm_globaltype_t)] 

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

327 return _wasm_globaltype_content(arg0) # type: ignore 

328 

329_wasm_globaltype_mutability = dll.wasm_globaltype_mutability 

330_wasm_globaltype_mutability.restype = wasm_mutability_t 

331_wasm_globaltype_mutability.argtypes = [ctypes.POINTER(wasm_globaltype_t)] 

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

333 return _wasm_globaltype_mutability(arg0) # type: ignore 

334 

335class wasm_tabletype_t(ctypes.Structure): 

336 pass 

337 

338_wasm_tabletype_delete = dll.wasm_tabletype_delete 

339_wasm_tabletype_delete.restype = None 

340_wasm_tabletype_delete.argtypes = [ctypes.POINTER(wasm_tabletype_t)] 

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

342 return _wasm_tabletype_delete(arg0) # type: ignore 

343 

344class wasm_tabletype_vec_t(ctypes.Structure): 

345 _fields_ = [ 

346 ("size", ctypes.c_size_t), 

347 ("data", ctypes.POINTER(ctypes.POINTER(wasm_tabletype_t))), 

348 ] 

349 size: int 

350 data: ctypes._Pointer 

351 

352_wasm_tabletype_vec_new_empty = dll.wasm_tabletype_vec_new_empty 

353_wasm_tabletype_vec_new_empty.restype = None 

354_wasm_tabletype_vec_new_empty.argtypes = [ctypes.POINTER(wasm_tabletype_vec_t)] 

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

356 return _wasm_tabletype_vec_new_empty(out) # type: ignore 

357 

358_wasm_tabletype_vec_new_uninitialized = dll.wasm_tabletype_vec_new_uninitialized 

359_wasm_tabletype_vec_new_uninitialized.restype = None 

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

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

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

363 

364_wasm_tabletype_vec_new = dll.wasm_tabletype_vec_new 

365_wasm_tabletype_vec_new.restype = None 

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

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

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

369 

370_wasm_tabletype_vec_copy = dll.wasm_tabletype_vec_copy 

371_wasm_tabletype_vec_copy.restype = None 

372_wasm_tabletype_vec_copy.argtypes = [ctypes.POINTER(wasm_tabletype_vec_t), ctypes.POINTER(wasm_tabletype_vec_t)] 

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

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

375 

376_wasm_tabletype_vec_delete = dll.wasm_tabletype_vec_delete 

377_wasm_tabletype_vec_delete.restype = None 

378_wasm_tabletype_vec_delete.argtypes = [ctypes.POINTER(wasm_tabletype_vec_t)] 

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

380 return _wasm_tabletype_vec_delete(arg0) # type: ignore 

381 

382_wasm_tabletype_copy = dll.wasm_tabletype_copy 

383_wasm_tabletype_copy.restype = ctypes.POINTER(wasm_tabletype_t) 

384_wasm_tabletype_copy.argtypes = [ctypes.POINTER(wasm_tabletype_t)] 

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

386 return _wasm_tabletype_copy(arg0) # type: ignore 

387 

388_wasm_tabletype_new = dll.wasm_tabletype_new 

389_wasm_tabletype_new.restype = ctypes.POINTER(wasm_tabletype_t) 

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

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

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

393 

394_wasm_tabletype_element = dll.wasm_tabletype_element 

395_wasm_tabletype_element.restype = ctypes.POINTER(wasm_valtype_t) 

396_wasm_tabletype_element.argtypes = [ctypes.POINTER(wasm_tabletype_t)] 

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

398 return _wasm_tabletype_element(arg0) # type: ignore 

399 

400_wasm_tabletype_limits = dll.wasm_tabletype_limits 

401_wasm_tabletype_limits.restype = ctypes.POINTER(wasm_limits_t) 

402_wasm_tabletype_limits.argtypes = [ctypes.POINTER(wasm_tabletype_t)] 

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

404 return _wasm_tabletype_limits(arg0) # type: ignore 

405 

406class wasm_memorytype_t(ctypes.Structure): 

407 pass 

408 

409_wasm_memorytype_delete = dll.wasm_memorytype_delete 

410_wasm_memorytype_delete.restype = None 

411_wasm_memorytype_delete.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

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

413 return _wasm_memorytype_delete(arg0) # type: ignore 

414 

415class wasm_memorytype_vec_t(ctypes.Structure): 

416 _fields_ = [ 

417 ("size", ctypes.c_size_t), 

418 ("data", ctypes.POINTER(ctypes.POINTER(wasm_memorytype_t))), 

419 ] 

420 size: int 

421 data: ctypes._Pointer 

422 

423_wasm_memorytype_vec_new_empty = dll.wasm_memorytype_vec_new_empty 

424_wasm_memorytype_vec_new_empty.restype = None 

425_wasm_memorytype_vec_new_empty.argtypes = [ctypes.POINTER(wasm_memorytype_vec_t)] 

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

427 return _wasm_memorytype_vec_new_empty(out) # type: ignore 

428 

429_wasm_memorytype_vec_new_uninitialized = dll.wasm_memorytype_vec_new_uninitialized 

430_wasm_memorytype_vec_new_uninitialized.restype = None 

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

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

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

434 

435_wasm_memorytype_vec_new = dll.wasm_memorytype_vec_new 

436_wasm_memorytype_vec_new.restype = None 

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

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

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

440 

441_wasm_memorytype_vec_copy = dll.wasm_memorytype_vec_copy 

442_wasm_memorytype_vec_copy.restype = None 

443_wasm_memorytype_vec_copy.argtypes = [ctypes.POINTER(wasm_memorytype_vec_t), ctypes.POINTER(wasm_memorytype_vec_t)] 

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

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

446 

447_wasm_memorytype_vec_delete = dll.wasm_memorytype_vec_delete 

448_wasm_memorytype_vec_delete.restype = None 

449_wasm_memorytype_vec_delete.argtypes = [ctypes.POINTER(wasm_memorytype_vec_t)] 

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

451 return _wasm_memorytype_vec_delete(arg0) # type: ignore 

452 

453_wasm_memorytype_copy = dll.wasm_memorytype_copy 

454_wasm_memorytype_copy.restype = ctypes.POINTER(wasm_memorytype_t) 

455_wasm_memorytype_copy.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

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

457 return _wasm_memorytype_copy(arg0) # type: ignore 

458 

459_wasm_memorytype_new = dll.wasm_memorytype_new 

460_wasm_memorytype_new.restype = ctypes.POINTER(wasm_memorytype_t) 

461_wasm_memorytype_new.argtypes = [ctypes.POINTER(wasm_limits_t)] 

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

463 return _wasm_memorytype_new(arg0) # type: ignore 

464 

465_wasm_memorytype_limits = dll.wasm_memorytype_limits 

466_wasm_memorytype_limits.restype = ctypes.POINTER(wasm_limits_t) 

467_wasm_memorytype_limits.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

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

469 return _wasm_memorytype_limits(arg0) # type: ignore 

470 

471class wasm_tagtype_t(ctypes.Structure): 

472 pass 

473 

474_wasm_tagtype_delete = dll.wasm_tagtype_delete 

475_wasm_tagtype_delete.restype = None 

476_wasm_tagtype_delete.argtypes = [ctypes.POINTER(wasm_tagtype_t)] 

477def wasm_tagtype_delete(arg0: Any) -> None: 

478 return _wasm_tagtype_delete(arg0) # type: ignore 

479 

480class wasm_tagtype_vec_t(ctypes.Structure): 

481 _fields_ = [ 

482 ("size", ctypes.c_size_t), 

483 ("data", ctypes.POINTER(ctypes.POINTER(wasm_tagtype_t))), 

484 ] 

485 size: int 

486 data: ctypes._Pointer 

487 

488_wasm_tagtype_copy = dll.wasm_tagtype_copy 

489_wasm_tagtype_copy.restype = ctypes.POINTER(wasm_tagtype_t) 

490_wasm_tagtype_copy.argtypes = [ctypes.POINTER(wasm_tagtype_t)] 

491def wasm_tagtype_copy(arg0: Any) -> ctypes._Pointer: 

492 return _wasm_tagtype_copy(arg0) # type: ignore 

493 

494_wasm_tagtype_new = dll.wasm_tagtype_new 

495_wasm_tagtype_new.restype = ctypes.POINTER(wasm_tagtype_t) 

496_wasm_tagtype_new.argtypes = [ctypes.POINTER(wasm_functype_t)] 

497def wasm_tagtype_new(arg0: Any) -> ctypes._Pointer: 

498 return _wasm_tagtype_new(arg0) # type: ignore 

499 

500_wasm_tagtype_functype = dll.wasm_tagtype_functype 

501_wasm_tagtype_functype.restype = ctypes.POINTER(wasm_functype_t) 

502_wasm_tagtype_functype.argtypes = [ctypes.POINTER(wasm_tagtype_t)] 

503def wasm_tagtype_functype(arg0: Any) -> ctypes._Pointer: 

504 return _wasm_tagtype_functype(arg0) # type: ignore 

505 

506class wasm_externtype_t(ctypes.Structure): 

507 pass 

508 

509_wasm_externtype_delete = dll.wasm_externtype_delete 

510_wasm_externtype_delete.restype = None 

511_wasm_externtype_delete.argtypes = [ctypes.POINTER(wasm_externtype_t)] 

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

513 return _wasm_externtype_delete(arg0) # type: ignore 

514 

515class wasm_externtype_vec_t(ctypes.Structure): 

516 _fields_ = [ 

517 ("size", ctypes.c_size_t), 

518 ("data", ctypes.POINTER(ctypes.POINTER(wasm_externtype_t))), 

519 ] 

520 size: int 

521 data: ctypes._Pointer 

522 

523_wasm_externtype_vec_new_empty = dll.wasm_externtype_vec_new_empty 

524_wasm_externtype_vec_new_empty.restype = None 

525_wasm_externtype_vec_new_empty.argtypes = [ctypes.POINTER(wasm_externtype_vec_t)] 

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

527 return _wasm_externtype_vec_new_empty(out) # type: ignore 

528 

529_wasm_externtype_vec_new_uninitialized = dll.wasm_externtype_vec_new_uninitialized 

530_wasm_externtype_vec_new_uninitialized.restype = None 

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

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

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

534 

535_wasm_externtype_vec_new = dll.wasm_externtype_vec_new 

536_wasm_externtype_vec_new.restype = None 

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

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

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

540 

541_wasm_externtype_vec_copy = dll.wasm_externtype_vec_copy 

542_wasm_externtype_vec_copy.restype = None 

543_wasm_externtype_vec_copy.argtypes = [ctypes.POINTER(wasm_externtype_vec_t), ctypes.POINTER(wasm_externtype_vec_t)] 

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

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

546 

547_wasm_externtype_vec_delete = dll.wasm_externtype_vec_delete 

548_wasm_externtype_vec_delete.restype = None 

549_wasm_externtype_vec_delete.argtypes = [ctypes.POINTER(wasm_externtype_vec_t)] 

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

551 return _wasm_externtype_vec_delete(arg0) # type: ignore 

552 

553_wasm_externtype_copy = dll.wasm_externtype_copy 

554_wasm_externtype_copy.restype = ctypes.POINTER(wasm_externtype_t) 

555_wasm_externtype_copy.argtypes = [ctypes.POINTER(wasm_externtype_t)] 

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

557 return _wasm_externtype_copy(arg0) # type: ignore 

558 

559wasm_externkind_t = ctypes.c_uint8 

560 

561class wasm_externkind_enum(Enum): 

562 WASM_EXTERN_FUNC = auto() 

563 WASM_EXTERN_GLOBAL = auto() 

564 WASM_EXTERN_TABLE = auto() 

565 WASM_EXTERN_MEMORY = auto() 

566 WASM_EXTERN_TAG = auto() 

567 

568_wasm_externtype_kind = dll.wasm_externtype_kind 

569_wasm_externtype_kind.restype = wasm_externkind_t 

570_wasm_externtype_kind.argtypes = [ctypes.POINTER(wasm_externtype_t)] 

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

572 return _wasm_externtype_kind(arg0) # type: ignore 

573 

574_wasm_functype_as_externtype = dll.wasm_functype_as_externtype 

575_wasm_functype_as_externtype.restype = ctypes.POINTER(wasm_externtype_t) 

576_wasm_functype_as_externtype.argtypes = [ctypes.POINTER(wasm_functype_t)] 

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

578 return _wasm_functype_as_externtype(arg0) # type: ignore 

579 

580_wasm_globaltype_as_externtype = dll.wasm_globaltype_as_externtype 

581_wasm_globaltype_as_externtype.restype = ctypes.POINTER(wasm_externtype_t) 

582_wasm_globaltype_as_externtype.argtypes = [ctypes.POINTER(wasm_globaltype_t)] 

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

584 return _wasm_globaltype_as_externtype(arg0) # type: ignore 

585 

586_wasm_tabletype_as_externtype = dll.wasm_tabletype_as_externtype 

587_wasm_tabletype_as_externtype.restype = ctypes.POINTER(wasm_externtype_t) 

588_wasm_tabletype_as_externtype.argtypes = [ctypes.POINTER(wasm_tabletype_t)] 

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

590 return _wasm_tabletype_as_externtype(arg0) # type: ignore 

591 

592_wasm_memorytype_as_externtype = dll.wasm_memorytype_as_externtype 

593_wasm_memorytype_as_externtype.restype = ctypes.POINTER(wasm_externtype_t) 

594_wasm_memorytype_as_externtype.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

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

596 return _wasm_memorytype_as_externtype(arg0) # type: ignore 

597 

598_wasm_tagtype_as_externtype = dll.wasm_tagtype_as_externtype 

599_wasm_tagtype_as_externtype.restype = ctypes.POINTER(wasm_externtype_t) 

600_wasm_tagtype_as_externtype.argtypes = [ctypes.POINTER(wasm_tagtype_t)] 

601def wasm_tagtype_as_externtype(arg0: Any) -> ctypes._Pointer: 

602 return _wasm_tagtype_as_externtype(arg0) # type: ignore 

603 

604_wasm_externtype_as_functype = dll.wasm_externtype_as_functype 

605_wasm_externtype_as_functype.restype = ctypes.POINTER(wasm_functype_t) 

606_wasm_externtype_as_functype.argtypes = [ctypes.POINTER(wasm_externtype_t)] 

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

608 return _wasm_externtype_as_functype(arg0) # type: ignore 

609 

610_wasm_externtype_as_globaltype = dll.wasm_externtype_as_globaltype 

611_wasm_externtype_as_globaltype.restype = ctypes.POINTER(wasm_globaltype_t) 

612_wasm_externtype_as_globaltype.argtypes = [ctypes.POINTER(wasm_externtype_t)] 

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

614 return _wasm_externtype_as_globaltype(arg0) # type: ignore 

615 

616_wasm_externtype_as_tabletype = dll.wasm_externtype_as_tabletype 

617_wasm_externtype_as_tabletype.restype = ctypes.POINTER(wasm_tabletype_t) 

618_wasm_externtype_as_tabletype.argtypes = [ctypes.POINTER(wasm_externtype_t)] 

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

620 return _wasm_externtype_as_tabletype(arg0) # type: ignore 

621 

622_wasm_externtype_as_memorytype = dll.wasm_externtype_as_memorytype 

623_wasm_externtype_as_memorytype.restype = ctypes.POINTER(wasm_memorytype_t) 

624_wasm_externtype_as_memorytype.argtypes = [ctypes.POINTER(wasm_externtype_t)] 

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

626 return _wasm_externtype_as_memorytype(arg0) # type: ignore 

627 

628_wasm_externtype_as_tagtype = dll.wasm_externtype_as_tagtype 

629_wasm_externtype_as_tagtype.restype = ctypes.POINTER(wasm_tagtype_t) 

630_wasm_externtype_as_tagtype.argtypes = [ctypes.POINTER(wasm_externtype_t)] 

631def wasm_externtype_as_tagtype(arg0: Any) -> ctypes._Pointer: 

632 return _wasm_externtype_as_tagtype(arg0) # type: ignore 

633 

634_wasm_functype_as_externtype_const = dll.wasm_functype_as_externtype_const 

635_wasm_functype_as_externtype_const.restype = ctypes.POINTER(wasm_externtype_t) 

636_wasm_functype_as_externtype_const.argtypes = [ctypes.POINTER(wasm_functype_t)] 

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

638 return _wasm_functype_as_externtype_const(arg0) # type: ignore 

639 

640_wasm_globaltype_as_externtype_const = dll.wasm_globaltype_as_externtype_const 

641_wasm_globaltype_as_externtype_const.restype = ctypes.POINTER(wasm_externtype_t) 

642_wasm_globaltype_as_externtype_const.argtypes = [ctypes.POINTER(wasm_globaltype_t)] 

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

644 return _wasm_globaltype_as_externtype_const(arg0) # type: ignore 

645 

646_wasm_tabletype_as_externtype_const = dll.wasm_tabletype_as_externtype_const 

647_wasm_tabletype_as_externtype_const.restype = ctypes.POINTER(wasm_externtype_t) 

648_wasm_tabletype_as_externtype_const.argtypes = [ctypes.POINTER(wasm_tabletype_t)] 

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

650 return _wasm_tabletype_as_externtype_const(arg0) # type: ignore 

651 

652_wasm_memorytype_as_externtype_const = dll.wasm_memorytype_as_externtype_const 

653_wasm_memorytype_as_externtype_const.restype = ctypes.POINTER(wasm_externtype_t) 

654_wasm_memorytype_as_externtype_const.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

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

656 return _wasm_memorytype_as_externtype_const(arg0) # type: ignore 

657 

658_wasm_tagtype_as_externtype_const = dll.wasm_tagtype_as_externtype_const 

659_wasm_tagtype_as_externtype_const.restype = ctypes.POINTER(wasm_externtype_t) 

660_wasm_tagtype_as_externtype_const.argtypes = [ctypes.POINTER(wasm_tagtype_t)] 

661def wasm_tagtype_as_externtype_const(arg0: Any) -> ctypes._Pointer: 

662 return _wasm_tagtype_as_externtype_const(arg0) # type: ignore 

663 

664_wasm_externtype_as_functype_const = dll.wasm_externtype_as_functype_const 

665_wasm_externtype_as_functype_const.restype = ctypes.POINTER(wasm_functype_t) 

666_wasm_externtype_as_functype_const.argtypes = [ctypes.POINTER(wasm_externtype_t)] 

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

668 return _wasm_externtype_as_functype_const(arg0) # type: ignore 

669 

670_wasm_externtype_as_globaltype_const = dll.wasm_externtype_as_globaltype_const 

671_wasm_externtype_as_globaltype_const.restype = ctypes.POINTER(wasm_globaltype_t) 

672_wasm_externtype_as_globaltype_const.argtypes = [ctypes.POINTER(wasm_externtype_t)] 

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

674 return _wasm_externtype_as_globaltype_const(arg0) # type: ignore 

675 

676_wasm_externtype_as_tabletype_const = dll.wasm_externtype_as_tabletype_const 

677_wasm_externtype_as_tabletype_const.restype = ctypes.POINTER(wasm_tabletype_t) 

678_wasm_externtype_as_tabletype_const.argtypes = [ctypes.POINTER(wasm_externtype_t)] 

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

680 return _wasm_externtype_as_tabletype_const(arg0) # type: ignore 

681 

682_wasm_externtype_as_memorytype_const = dll.wasm_externtype_as_memorytype_const 

683_wasm_externtype_as_memorytype_const.restype = ctypes.POINTER(wasm_memorytype_t) 

684_wasm_externtype_as_memorytype_const.argtypes = [ctypes.POINTER(wasm_externtype_t)] 

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

686 return _wasm_externtype_as_memorytype_const(arg0) # type: ignore 

687 

688_wasm_externtype_as_tagtype_const = dll.wasm_externtype_as_tagtype_const 

689_wasm_externtype_as_tagtype_const.restype = ctypes.POINTER(wasm_tagtype_t) 

690_wasm_externtype_as_tagtype_const.argtypes = [ctypes.POINTER(wasm_externtype_t)] 

691def wasm_externtype_as_tagtype_const(arg0: Any) -> ctypes._Pointer: 

692 return _wasm_externtype_as_tagtype_const(arg0) # type: ignore 

693 

694class wasm_importtype_t(ctypes.Structure): 

695 pass 

696 

697_wasm_importtype_delete = dll.wasm_importtype_delete 

698_wasm_importtype_delete.restype = None 

699_wasm_importtype_delete.argtypes = [ctypes.POINTER(wasm_importtype_t)] 

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

701 return _wasm_importtype_delete(arg0) # type: ignore 

702 

703class wasm_importtype_vec_t(ctypes.Structure): 

704 _fields_ = [ 

705 ("size", ctypes.c_size_t), 

706 ("data", ctypes.POINTER(ctypes.POINTER(wasm_importtype_t))), 

707 ] 

708 size: int 

709 data: ctypes._Pointer 

710 

711_wasm_importtype_vec_new_empty = dll.wasm_importtype_vec_new_empty 

712_wasm_importtype_vec_new_empty.restype = None 

713_wasm_importtype_vec_new_empty.argtypes = [ctypes.POINTER(wasm_importtype_vec_t)] 

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

715 return _wasm_importtype_vec_new_empty(out) # type: ignore 

716 

717_wasm_importtype_vec_new_uninitialized = dll.wasm_importtype_vec_new_uninitialized 

718_wasm_importtype_vec_new_uninitialized.restype = None 

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

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

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

722 

723_wasm_importtype_vec_new = dll.wasm_importtype_vec_new 

724_wasm_importtype_vec_new.restype = None 

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

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

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

728 

729_wasm_importtype_vec_copy = dll.wasm_importtype_vec_copy 

730_wasm_importtype_vec_copy.restype = None 

731_wasm_importtype_vec_copy.argtypes = [ctypes.POINTER(wasm_importtype_vec_t), ctypes.POINTER(wasm_importtype_vec_t)] 

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

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

734 

735_wasm_importtype_vec_delete = dll.wasm_importtype_vec_delete 

736_wasm_importtype_vec_delete.restype = None 

737_wasm_importtype_vec_delete.argtypes = [ctypes.POINTER(wasm_importtype_vec_t)] 

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

739 return _wasm_importtype_vec_delete(arg0) # type: ignore 

740 

741_wasm_importtype_copy = dll.wasm_importtype_copy 

742_wasm_importtype_copy.restype = ctypes.POINTER(wasm_importtype_t) 

743_wasm_importtype_copy.argtypes = [ctypes.POINTER(wasm_importtype_t)] 

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

745 return _wasm_importtype_copy(arg0) # type: ignore 

746 

747_wasm_importtype_new = dll.wasm_importtype_new 

748_wasm_importtype_new.restype = ctypes.POINTER(wasm_importtype_t) 

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

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

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

752 

753_wasm_importtype_module = dll.wasm_importtype_module 

754_wasm_importtype_module.restype = ctypes.POINTER(wasm_name_t) 

755_wasm_importtype_module.argtypes = [ctypes.POINTER(wasm_importtype_t)] 

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

757 return _wasm_importtype_module(arg0) # type: ignore 

758 

759_wasm_importtype_name = dll.wasm_importtype_name 

760_wasm_importtype_name.restype = ctypes.POINTER(wasm_name_t) 

761_wasm_importtype_name.argtypes = [ctypes.POINTER(wasm_importtype_t)] 

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

763 return _wasm_importtype_name(arg0) # type: ignore 

764 

765_wasm_importtype_type = dll.wasm_importtype_type 

766_wasm_importtype_type.restype = ctypes.POINTER(wasm_externtype_t) 

767_wasm_importtype_type.argtypes = [ctypes.POINTER(wasm_importtype_t)] 

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

769 return _wasm_importtype_type(arg0) # type: ignore 

770 

771class wasm_exporttype_t(ctypes.Structure): 

772 pass 

773 

774_wasm_exporttype_delete = dll.wasm_exporttype_delete 

775_wasm_exporttype_delete.restype = None 

776_wasm_exporttype_delete.argtypes = [ctypes.POINTER(wasm_exporttype_t)] 

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

778 return _wasm_exporttype_delete(arg0) # type: ignore 

779 

780class wasm_exporttype_vec_t(ctypes.Structure): 

781 _fields_ = [ 

782 ("size", ctypes.c_size_t), 

783 ("data", ctypes.POINTER(ctypes.POINTER(wasm_exporttype_t))), 

784 ] 

785 size: int 

786 data: ctypes._Pointer 

787 

788_wasm_exporttype_vec_new_empty = dll.wasm_exporttype_vec_new_empty 

789_wasm_exporttype_vec_new_empty.restype = None 

790_wasm_exporttype_vec_new_empty.argtypes = [ctypes.POINTER(wasm_exporttype_vec_t)] 

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

792 return _wasm_exporttype_vec_new_empty(out) # type: ignore 

793 

794_wasm_exporttype_vec_new_uninitialized = dll.wasm_exporttype_vec_new_uninitialized 

795_wasm_exporttype_vec_new_uninitialized.restype = None 

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

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

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

799 

800_wasm_exporttype_vec_new = dll.wasm_exporttype_vec_new 

801_wasm_exporttype_vec_new.restype = None 

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

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

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

805 

806_wasm_exporttype_vec_copy = dll.wasm_exporttype_vec_copy 

807_wasm_exporttype_vec_copy.restype = None 

808_wasm_exporttype_vec_copy.argtypes = [ctypes.POINTER(wasm_exporttype_vec_t), ctypes.POINTER(wasm_exporttype_vec_t)] 

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

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

811 

812_wasm_exporttype_vec_delete = dll.wasm_exporttype_vec_delete 

813_wasm_exporttype_vec_delete.restype = None 

814_wasm_exporttype_vec_delete.argtypes = [ctypes.POINTER(wasm_exporttype_vec_t)] 

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

816 return _wasm_exporttype_vec_delete(arg0) # type: ignore 

817 

818_wasm_exporttype_copy = dll.wasm_exporttype_copy 

819_wasm_exporttype_copy.restype = ctypes.POINTER(wasm_exporttype_t) 

820_wasm_exporttype_copy.argtypes = [ctypes.POINTER(wasm_exporttype_t)] 

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

822 return _wasm_exporttype_copy(arg0) # type: ignore 

823 

824_wasm_exporttype_new = dll.wasm_exporttype_new 

825_wasm_exporttype_new.restype = ctypes.POINTER(wasm_exporttype_t) 

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

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

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

829 

830_wasm_exporttype_name = dll.wasm_exporttype_name 

831_wasm_exporttype_name.restype = ctypes.POINTER(wasm_name_t) 

832_wasm_exporttype_name.argtypes = [ctypes.POINTER(wasm_exporttype_t)] 

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

834 return _wasm_exporttype_name(arg0) # type: ignore 

835 

836_wasm_exporttype_type = dll.wasm_exporttype_type 

837_wasm_exporttype_type.restype = ctypes.POINTER(wasm_externtype_t) 

838_wasm_exporttype_type.argtypes = [ctypes.POINTER(wasm_exporttype_t)] 

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

840 return _wasm_exporttype_type(arg0) # type: ignore 

841 

842_wasm_val_delete = dll.wasm_val_delete 

843_wasm_val_delete.restype = None 

844_wasm_val_delete.argtypes = [ctypes.POINTER(wasm_val_t)] 

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

846 return _wasm_val_delete(v) # type: ignore 

847 

848_wasm_val_copy = dll.wasm_val_copy 

849_wasm_val_copy.restype = None 

850_wasm_val_copy.argtypes = [ctypes.POINTER(wasm_val_t), ctypes.POINTER(wasm_val_t)] 

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

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

853 

854class wasm_val_vec_t(ctypes.Structure): 

855 _fields_ = [ 

856 ("size", ctypes.c_size_t), 

857 ("data", ctypes.POINTER(wasm_val_t)), 

858 ] 

859 size: int 

860 data: ctypes._Pointer 

861 

862_wasm_val_vec_new_empty = dll.wasm_val_vec_new_empty 

863_wasm_val_vec_new_empty.restype = None 

864_wasm_val_vec_new_empty.argtypes = [ctypes.POINTER(wasm_val_vec_t)] 

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

866 return _wasm_val_vec_new_empty(out) # type: ignore 

867 

868_wasm_val_vec_new_uninitialized = dll.wasm_val_vec_new_uninitialized 

869_wasm_val_vec_new_uninitialized.restype = None 

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

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

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

873 

874_wasm_val_vec_new = dll.wasm_val_vec_new 

875_wasm_val_vec_new.restype = None 

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

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

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

879 

880_wasm_val_vec_copy = dll.wasm_val_vec_copy 

881_wasm_val_vec_copy.restype = None 

882_wasm_val_vec_copy.argtypes = [ctypes.POINTER(wasm_val_vec_t), ctypes.POINTER(wasm_val_vec_t)] 

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

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

885 

886_wasm_val_vec_delete = dll.wasm_val_vec_delete 

887_wasm_val_vec_delete.restype = None 

888_wasm_val_vec_delete.argtypes = [ctypes.POINTER(wasm_val_vec_t)] 

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

890 return _wasm_val_vec_delete(arg0) # type: ignore 

891 

892_wasm_ref_delete = dll.wasm_ref_delete 

893_wasm_ref_delete.restype = None 

894_wasm_ref_delete.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

896 return _wasm_ref_delete(arg0) # type: ignore 

897 

898_wasm_ref_copy = dll.wasm_ref_copy 

899_wasm_ref_copy.restype = ctypes.POINTER(wasm_ref_t) 

900_wasm_ref_copy.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

902 return _wasm_ref_copy(arg0) # type: ignore 

903 

904_wasm_ref_same = dll.wasm_ref_same 

905_wasm_ref_same.restype = ctypes.c_bool 

906_wasm_ref_same.argtypes = [ctypes.POINTER(wasm_ref_t), ctypes.POINTER(wasm_ref_t)] 

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

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

909 

910_wasm_ref_get_host_info = dll.wasm_ref_get_host_info 

911_wasm_ref_get_host_info.restype = ctypes.c_void_p 

912_wasm_ref_get_host_info.argtypes = [ctypes.POINTER(wasm_ref_t)] 

913def wasm_ref_get_host_info(arg0: Any) -> ctypes._Pointer: 

914 return _wasm_ref_get_host_info(arg0) # type: ignore 

915 

916_wasm_ref_set_host_info = dll.wasm_ref_set_host_info 

917_wasm_ref_set_host_info.restype = None 

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

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

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

921 

922_wasm_ref_set_host_info_with_finalizer = dll.wasm_ref_set_host_info_with_finalizer 

923_wasm_ref_set_host_info_with_finalizer.restype = None 

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

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

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

927 

928class wasm_frame_t(ctypes.Structure): 

929 pass 

930 

931_wasm_frame_delete = dll.wasm_frame_delete 

932_wasm_frame_delete.restype = None 

933_wasm_frame_delete.argtypes = [ctypes.POINTER(wasm_frame_t)] 

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

935 return _wasm_frame_delete(arg0) # type: ignore 

936 

937class wasm_frame_vec_t(ctypes.Structure): 

938 _fields_ = [ 

939 ("size", ctypes.c_size_t), 

940 ("data", ctypes.POINTER(ctypes.POINTER(wasm_frame_t))), 

941 ] 

942 size: int 

943 data: ctypes._Pointer 

944 

945_wasm_frame_vec_new_empty = dll.wasm_frame_vec_new_empty 

946_wasm_frame_vec_new_empty.restype = None 

947_wasm_frame_vec_new_empty.argtypes = [ctypes.POINTER(wasm_frame_vec_t)] 

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

949 return _wasm_frame_vec_new_empty(out) # type: ignore 

950 

951_wasm_frame_vec_new_uninitialized = dll.wasm_frame_vec_new_uninitialized 

952_wasm_frame_vec_new_uninitialized.restype = None 

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

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

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

956 

957_wasm_frame_vec_new = dll.wasm_frame_vec_new 

958_wasm_frame_vec_new.restype = None 

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

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

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

962 

963_wasm_frame_vec_copy = dll.wasm_frame_vec_copy 

964_wasm_frame_vec_copy.restype = None 

965_wasm_frame_vec_copy.argtypes = [ctypes.POINTER(wasm_frame_vec_t), ctypes.POINTER(wasm_frame_vec_t)] 

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

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

968 

969_wasm_frame_vec_delete = dll.wasm_frame_vec_delete 

970_wasm_frame_vec_delete.restype = None 

971_wasm_frame_vec_delete.argtypes = [ctypes.POINTER(wasm_frame_vec_t)] 

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

973 return _wasm_frame_vec_delete(arg0) # type: ignore 

974 

975_wasm_frame_copy = dll.wasm_frame_copy 

976_wasm_frame_copy.restype = ctypes.POINTER(wasm_frame_t) 

977_wasm_frame_copy.argtypes = [ctypes.POINTER(wasm_frame_t)] 

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

979 return _wasm_frame_copy(arg0) # type: ignore 

980 

981_wasm_frame_func_index = dll.wasm_frame_func_index 

982_wasm_frame_func_index.restype = ctypes.c_uint32 

983_wasm_frame_func_index.argtypes = [ctypes.POINTER(wasm_frame_t)] 

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

985 return _wasm_frame_func_index(arg0) # type: ignore 

986 

987_wasm_frame_func_offset = dll.wasm_frame_func_offset 

988_wasm_frame_func_offset.restype = ctypes.c_size_t 

989_wasm_frame_func_offset.argtypes = [ctypes.POINTER(wasm_frame_t)] 

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

991 return _wasm_frame_func_offset(arg0) # type: ignore 

992 

993_wasm_frame_module_offset = dll.wasm_frame_module_offset 

994_wasm_frame_module_offset.restype = ctypes.c_size_t 

995_wasm_frame_module_offset.argtypes = [ctypes.POINTER(wasm_frame_t)] 

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

997 return _wasm_frame_module_offset(arg0) # type: ignore 

998 

999wasm_message_t = wasm_name_t 

1000 

1001class wasm_trap_t(ctypes.Structure): 

1002 pass 

1003 

1004_wasm_trap_delete = dll.wasm_trap_delete 

1005_wasm_trap_delete.restype = None 

1006_wasm_trap_delete.argtypes = [ctypes.POINTER(wasm_trap_t)] 

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

1008 return _wasm_trap_delete(arg0) # type: ignore 

1009 

1010_wasm_trap_copy = dll.wasm_trap_copy 

1011_wasm_trap_copy.restype = ctypes.POINTER(wasm_trap_t) 

1012_wasm_trap_copy.argtypes = [ctypes.POINTER(wasm_trap_t)] 

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

1014 return _wasm_trap_copy(arg0) # type: ignore 

1015 

1016_wasm_trap_same = dll.wasm_trap_same 

1017_wasm_trap_same.restype = ctypes.c_bool 

1018_wasm_trap_same.argtypes = [ctypes.POINTER(wasm_trap_t), ctypes.POINTER(wasm_trap_t)] 

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

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

1021 

1022_wasm_trap_get_host_info = dll.wasm_trap_get_host_info 

1023_wasm_trap_get_host_info.restype = ctypes.c_void_p 

1024_wasm_trap_get_host_info.argtypes = [ctypes.POINTER(wasm_trap_t)] 

1025def wasm_trap_get_host_info(arg0: Any) -> ctypes._Pointer: 

1026 return _wasm_trap_get_host_info(arg0) # type: ignore 

1027 

1028_wasm_trap_set_host_info = dll.wasm_trap_set_host_info 

1029_wasm_trap_set_host_info.restype = None 

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

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

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

1033 

1034_wasm_trap_set_host_info_with_finalizer = dll.wasm_trap_set_host_info_with_finalizer 

1035_wasm_trap_set_host_info_with_finalizer.restype = None 

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

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

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

1039 

1040_wasm_trap_as_ref = dll.wasm_trap_as_ref 

1041_wasm_trap_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

1042_wasm_trap_as_ref.argtypes = [ctypes.POINTER(wasm_trap_t)] 

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

1044 return _wasm_trap_as_ref(arg0) # type: ignore 

1045 

1046_wasm_ref_as_trap = dll.wasm_ref_as_trap 

1047_wasm_ref_as_trap.restype = ctypes.POINTER(wasm_trap_t) 

1048_wasm_ref_as_trap.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1050 return _wasm_ref_as_trap(arg0) # type: ignore 

1051 

1052_wasm_trap_as_ref_const = dll.wasm_trap_as_ref_const 

1053_wasm_trap_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

1054_wasm_trap_as_ref_const.argtypes = [ctypes.POINTER(wasm_trap_t)] 

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

1056 return _wasm_trap_as_ref_const(arg0) # type: ignore 

1057 

1058_wasm_ref_as_trap_const = dll.wasm_ref_as_trap_const 

1059_wasm_ref_as_trap_const.restype = ctypes.POINTER(wasm_trap_t) 

1060_wasm_ref_as_trap_const.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1062 return _wasm_ref_as_trap_const(arg0) # type: ignore 

1063 

1064_wasm_trap_new = dll.wasm_trap_new 

1065_wasm_trap_new.restype = ctypes.POINTER(wasm_trap_t) 

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

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

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

1069 

1070_wasm_trap_message = dll.wasm_trap_message 

1071_wasm_trap_message.restype = None 

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

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

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

1075 

1076_wasm_trap_origin = dll.wasm_trap_origin 

1077_wasm_trap_origin.restype = ctypes.POINTER(wasm_frame_t) 

1078_wasm_trap_origin.argtypes = [ctypes.POINTER(wasm_trap_t)] 

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

1080 return _wasm_trap_origin(arg0) # type: ignore 

1081 

1082_wasm_trap_trace = dll.wasm_trap_trace 

1083_wasm_trap_trace.restype = None 

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

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

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

1087 

1088class wasm_foreign_t(ctypes.Structure): 

1089 pass 

1090 

1091_wasm_foreign_delete = dll.wasm_foreign_delete 

1092_wasm_foreign_delete.restype = None 

1093_wasm_foreign_delete.argtypes = [ctypes.POINTER(wasm_foreign_t)] 

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

1095 return _wasm_foreign_delete(arg0) # type: ignore 

1096 

1097_wasm_foreign_copy = dll.wasm_foreign_copy 

1098_wasm_foreign_copy.restype = ctypes.POINTER(wasm_foreign_t) 

1099_wasm_foreign_copy.argtypes = [ctypes.POINTER(wasm_foreign_t)] 

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

1101 return _wasm_foreign_copy(arg0) # type: ignore 

1102 

1103_wasm_foreign_same = dll.wasm_foreign_same 

1104_wasm_foreign_same.restype = ctypes.c_bool 

1105_wasm_foreign_same.argtypes = [ctypes.POINTER(wasm_foreign_t), ctypes.POINTER(wasm_foreign_t)] 

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

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

1108 

1109_wasm_foreign_get_host_info = dll.wasm_foreign_get_host_info 

1110_wasm_foreign_get_host_info.restype = ctypes.c_void_p 

1111_wasm_foreign_get_host_info.argtypes = [ctypes.POINTER(wasm_foreign_t)] 

1112def wasm_foreign_get_host_info(arg0: Any) -> ctypes._Pointer: 

1113 return _wasm_foreign_get_host_info(arg0) # type: ignore 

1114 

1115_wasm_foreign_set_host_info = dll.wasm_foreign_set_host_info 

1116_wasm_foreign_set_host_info.restype = None 

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

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

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

1120 

1121_wasm_foreign_set_host_info_with_finalizer = dll.wasm_foreign_set_host_info_with_finalizer 

1122_wasm_foreign_set_host_info_with_finalizer.restype = None 

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

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

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

1126 

1127_wasm_foreign_as_ref = dll.wasm_foreign_as_ref 

1128_wasm_foreign_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

1129_wasm_foreign_as_ref.argtypes = [ctypes.POINTER(wasm_foreign_t)] 

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

1131 return _wasm_foreign_as_ref(arg0) # type: ignore 

1132 

1133_wasm_ref_as_foreign = dll.wasm_ref_as_foreign 

1134_wasm_ref_as_foreign.restype = ctypes.POINTER(wasm_foreign_t) 

1135_wasm_ref_as_foreign.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1137 return _wasm_ref_as_foreign(arg0) # type: ignore 

1138 

1139_wasm_foreign_as_ref_const = dll.wasm_foreign_as_ref_const 

1140_wasm_foreign_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

1141_wasm_foreign_as_ref_const.argtypes = [ctypes.POINTER(wasm_foreign_t)] 

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

1143 return _wasm_foreign_as_ref_const(arg0) # type: ignore 

1144 

1145_wasm_ref_as_foreign_const = dll.wasm_ref_as_foreign_const 

1146_wasm_ref_as_foreign_const.restype = ctypes.POINTER(wasm_foreign_t) 

1147_wasm_ref_as_foreign_const.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1149 return _wasm_ref_as_foreign_const(arg0) # type: ignore 

1150 

1151_wasm_foreign_new = dll.wasm_foreign_new 

1152_wasm_foreign_new.restype = ctypes.POINTER(wasm_foreign_t) 

1153_wasm_foreign_new.argtypes = [ctypes.POINTER(wasm_store_t)] 

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

1155 return _wasm_foreign_new(arg0) # type: ignore 

1156 

1157class wasm_module_t(ctypes.Structure): 

1158 pass 

1159 

1160_wasm_module_delete = dll.wasm_module_delete 

1161_wasm_module_delete.restype = None 

1162_wasm_module_delete.argtypes = [ctypes.POINTER(wasm_module_t)] 

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

1164 return _wasm_module_delete(arg0) # type: ignore 

1165 

1166_wasm_module_copy = dll.wasm_module_copy 

1167_wasm_module_copy.restype = ctypes.POINTER(wasm_module_t) 

1168_wasm_module_copy.argtypes = [ctypes.POINTER(wasm_module_t)] 

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

1170 return _wasm_module_copy(arg0) # type: ignore 

1171 

1172_wasm_module_same = dll.wasm_module_same 

1173_wasm_module_same.restype = ctypes.c_bool 

1174_wasm_module_same.argtypes = [ctypes.POINTER(wasm_module_t), ctypes.POINTER(wasm_module_t)] 

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

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

1177 

1178_wasm_module_get_host_info = dll.wasm_module_get_host_info 

1179_wasm_module_get_host_info.restype = ctypes.c_void_p 

1180_wasm_module_get_host_info.argtypes = [ctypes.POINTER(wasm_module_t)] 

1181def wasm_module_get_host_info(arg0: Any) -> ctypes._Pointer: 

1182 return _wasm_module_get_host_info(arg0) # type: ignore 

1183 

1184_wasm_module_set_host_info = dll.wasm_module_set_host_info 

1185_wasm_module_set_host_info.restype = None 

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

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

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

1189 

1190_wasm_module_set_host_info_with_finalizer = dll.wasm_module_set_host_info_with_finalizer 

1191_wasm_module_set_host_info_with_finalizer.restype = None 

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

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

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

1195 

1196_wasm_module_as_ref = dll.wasm_module_as_ref 

1197_wasm_module_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

1198_wasm_module_as_ref.argtypes = [ctypes.POINTER(wasm_module_t)] 

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

1200 return _wasm_module_as_ref(arg0) # type: ignore 

1201 

1202_wasm_ref_as_module = dll.wasm_ref_as_module 

1203_wasm_ref_as_module.restype = ctypes.POINTER(wasm_module_t) 

1204_wasm_ref_as_module.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1206 return _wasm_ref_as_module(arg0) # type: ignore 

1207 

1208_wasm_module_as_ref_const = dll.wasm_module_as_ref_const 

1209_wasm_module_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

1210_wasm_module_as_ref_const.argtypes = [ctypes.POINTER(wasm_module_t)] 

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

1212 return _wasm_module_as_ref_const(arg0) # type: ignore 

1213 

1214_wasm_ref_as_module_const = dll.wasm_ref_as_module_const 

1215_wasm_ref_as_module_const.restype = ctypes.POINTER(wasm_module_t) 

1216_wasm_ref_as_module_const.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1218 return _wasm_ref_as_module_const(arg0) # type: ignore 

1219 

1220class wasm_shared_module_t(ctypes.Structure): 

1221 pass 

1222 

1223_wasm_shared_module_delete = dll.wasm_shared_module_delete 

1224_wasm_shared_module_delete.restype = None 

1225_wasm_shared_module_delete.argtypes = [ctypes.POINTER(wasm_shared_module_t)] 

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

1227 return _wasm_shared_module_delete(arg0) # type: ignore 

1228 

1229_wasm_module_share = dll.wasm_module_share 

1230_wasm_module_share.restype = ctypes.POINTER(wasm_shared_module_t) 

1231_wasm_module_share.argtypes = [ctypes.POINTER(wasm_module_t)] 

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

1233 return _wasm_module_share(arg0) # type: ignore 

1234 

1235_wasm_module_obtain = dll.wasm_module_obtain 

1236_wasm_module_obtain.restype = ctypes.POINTER(wasm_module_t) 

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

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

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

1240 

1241_wasm_module_new = dll.wasm_module_new 

1242_wasm_module_new.restype = ctypes.POINTER(wasm_module_t) 

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

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

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

1246 

1247_wasm_module_validate = dll.wasm_module_validate 

1248_wasm_module_validate.restype = ctypes.c_bool 

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

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

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

1252 

1253_wasm_module_imports = dll.wasm_module_imports 

1254_wasm_module_imports.restype = None 

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

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

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

1258 

1259_wasm_module_exports = dll.wasm_module_exports 

1260_wasm_module_exports.restype = None 

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

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

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

1264 

1265_wasm_module_serialize = dll.wasm_module_serialize 

1266_wasm_module_serialize.restype = None 

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

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

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

1270 

1271_wasm_module_deserialize = dll.wasm_module_deserialize 

1272_wasm_module_deserialize.restype = ctypes.POINTER(wasm_module_t) 

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

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

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

1276 

1277class wasm_func_t(ctypes.Structure): 

1278 pass 

1279 

1280_wasm_func_delete = dll.wasm_func_delete 

1281_wasm_func_delete.restype = None 

1282_wasm_func_delete.argtypes = [ctypes.POINTER(wasm_func_t)] 

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

1284 return _wasm_func_delete(arg0) # type: ignore 

1285 

1286_wasm_func_copy = dll.wasm_func_copy 

1287_wasm_func_copy.restype = ctypes.POINTER(wasm_func_t) 

1288_wasm_func_copy.argtypes = [ctypes.POINTER(wasm_func_t)] 

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

1290 return _wasm_func_copy(arg0) # type: ignore 

1291 

1292_wasm_func_same = dll.wasm_func_same 

1293_wasm_func_same.restype = ctypes.c_bool 

1294_wasm_func_same.argtypes = [ctypes.POINTER(wasm_func_t), ctypes.POINTER(wasm_func_t)] 

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

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

1297 

1298_wasm_func_get_host_info = dll.wasm_func_get_host_info 

1299_wasm_func_get_host_info.restype = ctypes.c_void_p 

1300_wasm_func_get_host_info.argtypes = [ctypes.POINTER(wasm_func_t)] 

1301def wasm_func_get_host_info(arg0: Any) -> ctypes._Pointer: 

1302 return _wasm_func_get_host_info(arg0) # type: ignore 

1303 

1304_wasm_func_set_host_info = dll.wasm_func_set_host_info 

1305_wasm_func_set_host_info.restype = None 

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

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

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

1309 

1310_wasm_func_set_host_info_with_finalizer = dll.wasm_func_set_host_info_with_finalizer 

1311_wasm_func_set_host_info_with_finalizer.restype = None 

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

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

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

1315 

1316_wasm_func_as_ref = dll.wasm_func_as_ref 

1317_wasm_func_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

1318_wasm_func_as_ref.argtypes = [ctypes.POINTER(wasm_func_t)] 

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

1320 return _wasm_func_as_ref(arg0) # type: ignore 

1321 

1322_wasm_ref_as_func = dll.wasm_ref_as_func 

1323_wasm_ref_as_func.restype = ctypes.POINTER(wasm_func_t) 

1324_wasm_ref_as_func.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1326 return _wasm_ref_as_func(arg0) # type: ignore 

1327 

1328_wasm_func_as_ref_const = dll.wasm_func_as_ref_const 

1329_wasm_func_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

1330_wasm_func_as_ref_const.argtypes = [ctypes.POINTER(wasm_func_t)] 

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

1332 return _wasm_func_as_ref_const(arg0) # type: ignore 

1333 

1334_wasm_ref_as_func_const = dll.wasm_ref_as_func_const 

1335_wasm_ref_as_func_const.restype = ctypes.POINTER(wasm_func_t) 

1336_wasm_ref_as_func_const.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1338 return _wasm_ref_as_func_const(arg0) # type: ignore 

1339 

1340wasm_func_callback_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.POINTER(wasm_val_vec_t), ctypes.POINTER(wasm_val_vec_t)) 

1341 

1342wasm_func_callback_with_env_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.POINTER(wasm_val_vec_t), ctypes.POINTER(wasm_val_vec_t)) 

1343 

1344_wasm_func_new = dll.wasm_func_new 

1345_wasm_func_new.restype = ctypes.POINTER(wasm_func_t) 

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

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

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

1349 

1350_wasm_func_new_with_env = dll.wasm_func_new_with_env 

1351_wasm_func_new_with_env.restype = ctypes.POINTER(wasm_func_t) 

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

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

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

1355 

1356_wasm_func_type = dll.wasm_func_type 

1357_wasm_func_type.restype = ctypes.POINTER(wasm_functype_t) 

1358_wasm_func_type.argtypes = [ctypes.POINTER(wasm_func_t)] 

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

1360 return _wasm_func_type(arg0) # type: ignore 

1361 

1362_wasm_func_param_arity = dll.wasm_func_param_arity 

1363_wasm_func_param_arity.restype = ctypes.c_size_t 

1364_wasm_func_param_arity.argtypes = [ctypes.POINTER(wasm_func_t)] 

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

1366 return _wasm_func_param_arity(arg0) # type: ignore 

1367 

1368_wasm_func_result_arity = dll.wasm_func_result_arity 

1369_wasm_func_result_arity.restype = ctypes.c_size_t 

1370_wasm_func_result_arity.argtypes = [ctypes.POINTER(wasm_func_t)] 

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

1372 return _wasm_func_result_arity(arg0) # type: ignore 

1373 

1374_wasm_func_call = dll.wasm_func_call 

1375_wasm_func_call.restype = ctypes.POINTER(wasm_trap_t) 

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

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

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

1379 

1380class wasm_global_t(ctypes.Structure): 

1381 pass 

1382 

1383_wasm_global_delete = dll.wasm_global_delete 

1384_wasm_global_delete.restype = None 

1385_wasm_global_delete.argtypes = [ctypes.POINTER(wasm_global_t)] 

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

1387 return _wasm_global_delete(arg0) # type: ignore 

1388 

1389_wasm_global_copy = dll.wasm_global_copy 

1390_wasm_global_copy.restype = ctypes.POINTER(wasm_global_t) 

1391_wasm_global_copy.argtypes = [ctypes.POINTER(wasm_global_t)] 

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

1393 return _wasm_global_copy(arg0) # type: ignore 

1394 

1395_wasm_global_same = dll.wasm_global_same 

1396_wasm_global_same.restype = ctypes.c_bool 

1397_wasm_global_same.argtypes = [ctypes.POINTER(wasm_global_t), ctypes.POINTER(wasm_global_t)] 

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

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

1400 

1401_wasm_global_get_host_info = dll.wasm_global_get_host_info 

1402_wasm_global_get_host_info.restype = ctypes.c_void_p 

1403_wasm_global_get_host_info.argtypes = [ctypes.POINTER(wasm_global_t)] 

1404def wasm_global_get_host_info(arg0: Any) -> ctypes._Pointer: 

1405 return _wasm_global_get_host_info(arg0) # type: ignore 

1406 

1407_wasm_global_set_host_info = dll.wasm_global_set_host_info 

1408_wasm_global_set_host_info.restype = None 

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

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

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

1412 

1413_wasm_global_set_host_info_with_finalizer = dll.wasm_global_set_host_info_with_finalizer 

1414_wasm_global_set_host_info_with_finalizer.restype = None 

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

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

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

1418 

1419_wasm_global_as_ref = dll.wasm_global_as_ref 

1420_wasm_global_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

1421_wasm_global_as_ref.argtypes = [ctypes.POINTER(wasm_global_t)] 

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

1423 return _wasm_global_as_ref(arg0) # type: ignore 

1424 

1425_wasm_ref_as_global = dll.wasm_ref_as_global 

1426_wasm_ref_as_global.restype = ctypes.POINTER(wasm_global_t) 

1427_wasm_ref_as_global.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1429 return _wasm_ref_as_global(arg0) # type: ignore 

1430 

1431_wasm_global_as_ref_const = dll.wasm_global_as_ref_const 

1432_wasm_global_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

1433_wasm_global_as_ref_const.argtypes = [ctypes.POINTER(wasm_global_t)] 

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

1435 return _wasm_global_as_ref_const(arg0) # type: ignore 

1436 

1437_wasm_ref_as_global_const = dll.wasm_ref_as_global_const 

1438_wasm_ref_as_global_const.restype = ctypes.POINTER(wasm_global_t) 

1439_wasm_ref_as_global_const.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1441 return _wasm_ref_as_global_const(arg0) # type: ignore 

1442 

1443_wasm_global_new = dll.wasm_global_new 

1444_wasm_global_new.restype = ctypes.POINTER(wasm_global_t) 

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

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

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

1448 

1449_wasm_global_type = dll.wasm_global_type 

1450_wasm_global_type.restype = ctypes.POINTER(wasm_globaltype_t) 

1451_wasm_global_type.argtypes = [ctypes.POINTER(wasm_global_t)] 

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

1453 return _wasm_global_type(arg0) # type: ignore 

1454 

1455_wasm_global_get = dll.wasm_global_get 

1456_wasm_global_get.restype = None 

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

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

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

1460 

1461_wasm_global_set = dll.wasm_global_set 

1462_wasm_global_set.restype = None 

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

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

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

1466 

1467class wasm_table_t(ctypes.Structure): 

1468 pass 

1469 

1470_wasm_table_delete = dll.wasm_table_delete 

1471_wasm_table_delete.restype = None 

1472_wasm_table_delete.argtypes = [ctypes.POINTER(wasm_table_t)] 

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

1474 return _wasm_table_delete(arg0) # type: ignore 

1475 

1476_wasm_table_copy = dll.wasm_table_copy 

1477_wasm_table_copy.restype = ctypes.POINTER(wasm_table_t) 

1478_wasm_table_copy.argtypes = [ctypes.POINTER(wasm_table_t)] 

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

1480 return _wasm_table_copy(arg0) # type: ignore 

1481 

1482_wasm_table_same = dll.wasm_table_same 

1483_wasm_table_same.restype = ctypes.c_bool 

1484_wasm_table_same.argtypes = [ctypes.POINTER(wasm_table_t), ctypes.POINTER(wasm_table_t)] 

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

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

1487 

1488_wasm_table_get_host_info = dll.wasm_table_get_host_info 

1489_wasm_table_get_host_info.restype = ctypes.c_void_p 

1490_wasm_table_get_host_info.argtypes = [ctypes.POINTER(wasm_table_t)] 

1491def wasm_table_get_host_info(arg0: Any) -> ctypes._Pointer: 

1492 return _wasm_table_get_host_info(arg0) # type: ignore 

1493 

1494_wasm_table_set_host_info = dll.wasm_table_set_host_info 

1495_wasm_table_set_host_info.restype = None 

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

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

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

1499 

1500_wasm_table_set_host_info_with_finalizer = dll.wasm_table_set_host_info_with_finalizer 

1501_wasm_table_set_host_info_with_finalizer.restype = None 

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

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

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

1505 

1506_wasm_table_as_ref = dll.wasm_table_as_ref 

1507_wasm_table_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

1508_wasm_table_as_ref.argtypes = [ctypes.POINTER(wasm_table_t)] 

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

1510 return _wasm_table_as_ref(arg0) # type: ignore 

1511 

1512_wasm_ref_as_table = dll.wasm_ref_as_table 

1513_wasm_ref_as_table.restype = ctypes.POINTER(wasm_table_t) 

1514_wasm_ref_as_table.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1516 return _wasm_ref_as_table(arg0) # type: ignore 

1517 

1518_wasm_table_as_ref_const = dll.wasm_table_as_ref_const 

1519_wasm_table_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

1520_wasm_table_as_ref_const.argtypes = [ctypes.POINTER(wasm_table_t)] 

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

1522 return _wasm_table_as_ref_const(arg0) # type: ignore 

1523 

1524_wasm_ref_as_table_const = dll.wasm_ref_as_table_const 

1525_wasm_ref_as_table_const.restype = ctypes.POINTER(wasm_table_t) 

1526_wasm_ref_as_table_const.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1528 return _wasm_ref_as_table_const(arg0) # type: ignore 

1529 

1530wasm_table_size_t = ctypes.c_uint32 

1531 

1532_wasm_table_new = dll.wasm_table_new 

1533_wasm_table_new.restype = ctypes.POINTER(wasm_table_t) 

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

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

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

1537 

1538_wasm_table_type = dll.wasm_table_type 

1539_wasm_table_type.restype = ctypes.POINTER(wasm_tabletype_t) 

1540_wasm_table_type.argtypes = [ctypes.POINTER(wasm_table_t)] 

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

1542 return _wasm_table_type(arg0) # type: ignore 

1543 

1544_wasm_table_get = dll.wasm_table_get 

1545_wasm_table_get.restype = ctypes.POINTER(wasm_ref_t) 

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

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

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

1549 

1550_wasm_table_set = dll.wasm_table_set 

1551_wasm_table_set.restype = ctypes.c_bool 

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

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

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

1555 

1556_wasm_table_size = dll.wasm_table_size 

1557_wasm_table_size.restype = wasm_table_size_t 

1558_wasm_table_size.argtypes = [ctypes.POINTER(wasm_table_t)] 

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

1560 return _wasm_table_size(arg0) # type: ignore 

1561 

1562_wasm_table_grow = dll.wasm_table_grow 

1563_wasm_table_grow.restype = ctypes.c_bool 

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

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

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

1567 

1568class wasm_memory_t(ctypes.Structure): 

1569 pass 

1570 

1571_wasm_memory_delete = dll.wasm_memory_delete 

1572_wasm_memory_delete.restype = None 

1573_wasm_memory_delete.argtypes = [ctypes.POINTER(wasm_memory_t)] 

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

1575 return _wasm_memory_delete(arg0) # type: ignore 

1576 

1577_wasm_memory_copy = dll.wasm_memory_copy 

1578_wasm_memory_copy.restype = ctypes.POINTER(wasm_memory_t) 

1579_wasm_memory_copy.argtypes = [ctypes.POINTER(wasm_memory_t)] 

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

1581 return _wasm_memory_copy(arg0) # type: ignore 

1582 

1583_wasm_memory_same = dll.wasm_memory_same 

1584_wasm_memory_same.restype = ctypes.c_bool 

1585_wasm_memory_same.argtypes = [ctypes.POINTER(wasm_memory_t), ctypes.POINTER(wasm_memory_t)] 

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

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

1588 

1589_wasm_memory_get_host_info = dll.wasm_memory_get_host_info 

1590_wasm_memory_get_host_info.restype = ctypes.c_void_p 

1591_wasm_memory_get_host_info.argtypes = [ctypes.POINTER(wasm_memory_t)] 

1592def wasm_memory_get_host_info(arg0: Any) -> ctypes._Pointer: 

1593 return _wasm_memory_get_host_info(arg0) # type: ignore 

1594 

1595_wasm_memory_set_host_info = dll.wasm_memory_set_host_info 

1596_wasm_memory_set_host_info.restype = None 

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

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

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

1600 

1601_wasm_memory_set_host_info_with_finalizer = dll.wasm_memory_set_host_info_with_finalizer 

1602_wasm_memory_set_host_info_with_finalizer.restype = None 

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

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

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

1606 

1607_wasm_memory_as_ref = dll.wasm_memory_as_ref 

1608_wasm_memory_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

1609_wasm_memory_as_ref.argtypes = [ctypes.POINTER(wasm_memory_t)] 

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

1611 return _wasm_memory_as_ref(arg0) # type: ignore 

1612 

1613_wasm_ref_as_memory = dll.wasm_ref_as_memory 

1614_wasm_ref_as_memory.restype = ctypes.POINTER(wasm_memory_t) 

1615_wasm_ref_as_memory.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1617 return _wasm_ref_as_memory(arg0) # type: ignore 

1618 

1619_wasm_memory_as_ref_const = dll.wasm_memory_as_ref_const 

1620_wasm_memory_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

1621_wasm_memory_as_ref_const.argtypes = [ctypes.POINTER(wasm_memory_t)] 

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

1623 return _wasm_memory_as_ref_const(arg0) # type: ignore 

1624 

1625_wasm_ref_as_memory_const = dll.wasm_ref_as_memory_const 

1626_wasm_ref_as_memory_const.restype = ctypes.POINTER(wasm_memory_t) 

1627_wasm_ref_as_memory_const.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1629 return _wasm_ref_as_memory_const(arg0) # type: ignore 

1630 

1631wasm_memory_pages_t = ctypes.c_uint32 

1632 

1633_wasm_memory_new = dll.wasm_memory_new 

1634_wasm_memory_new.restype = ctypes.POINTER(wasm_memory_t) 

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

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

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

1638 

1639_wasm_memory_type = dll.wasm_memory_type 

1640_wasm_memory_type.restype = ctypes.POINTER(wasm_memorytype_t) 

1641_wasm_memory_type.argtypes = [ctypes.POINTER(wasm_memory_t)] 

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

1643 return _wasm_memory_type(arg0) # type: ignore 

1644 

1645_wasm_memory_data = dll.wasm_memory_data 

1646_wasm_memory_data.restype = ctypes.POINTER(ctypes.c_ubyte) 

1647_wasm_memory_data.argtypes = [ctypes.POINTER(wasm_memory_t)] 

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

1649 return _wasm_memory_data(arg0) # type: ignore 

1650 

1651_wasm_memory_data_size = dll.wasm_memory_data_size 

1652_wasm_memory_data_size.restype = ctypes.c_size_t 

1653_wasm_memory_data_size.argtypes = [ctypes.POINTER(wasm_memory_t)] 

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

1655 return _wasm_memory_data_size(arg0) # type: ignore 

1656 

1657_wasm_memory_size = dll.wasm_memory_size 

1658_wasm_memory_size.restype = wasm_memory_pages_t 

1659_wasm_memory_size.argtypes = [ctypes.POINTER(wasm_memory_t)] 

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

1661 return _wasm_memory_size(arg0) # type: ignore 

1662 

1663_wasm_memory_grow = dll.wasm_memory_grow 

1664_wasm_memory_grow.restype = ctypes.c_bool 

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

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

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

1668 

1669class wasm_extern_t(ctypes.Structure): 

1670 pass 

1671 

1672_wasm_extern_delete = dll.wasm_extern_delete 

1673_wasm_extern_delete.restype = None 

1674_wasm_extern_delete.argtypes = [ctypes.POINTER(wasm_extern_t)] 

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

1676 return _wasm_extern_delete(arg0) # type: ignore 

1677 

1678_wasm_extern_copy = dll.wasm_extern_copy 

1679_wasm_extern_copy.restype = ctypes.POINTER(wasm_extern_t) 

1680_wasm_extern_copy.argtypes = [ctypes.POINTER(wasm_extern_t)] 

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

1682 return _wasm_extern_copy(arg0) # type: ignore 

1683 

1684_wasm_extern_same = dll.wasm_extern_same 

1685_wasm_extern_same.restype = ctypes.c_bool 

1686_wasm_extern_same.argtypes = [ctypes.POINTER(wasm_extern_t), ctypes.POINTER(wasm_extern_t)] 

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

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

1689 

1690_wasm_extern_get_host_info = dll.wasm_extern_get_host_info 

1691_wasm_extern_get_host_info.restype = ctypes.c_void_p 

1692_wasm_extern_get_host_info.argtypes = [ctypes.POINTER(wasm_extern_t)] 

1693def wasm_extern_get_host_info(arg0: Any) -> ctypes._Pointer: 

1694 return _wasm_extern_get_host_info(arg0) # type: ignore 

1695 

1696_wasm_extern_set_host_info = dll.wasm_extern_set_host_info 

1697_wasm_extern_set_host_info.restype = None 

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

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

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

1701 

1702_wasm_extern_set_host_info_with_finalizer = dll.wasm_extern_set_host_info_with_finalizer 

1703_wasm_extern_set_host_info_with_finalizer.restype = None 

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

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

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

1707 

1708_wasm_extern_as_ref = dll.wasm_extern_as_ref 

1709_wasm_extern_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

1710_wasm_extern_as_ref.argtypes = [ctypes.POINTER(wasm_extern_t)] 

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

1712 return _wasm_extern_as_ref(arg0) # type: ignore 

1713 

1714_wasm_ref_as_extern = dll.wasm_ref_as_extern 

1715_wasm_ref_as_extern.restype = ctypes.POINTER(wasm_extern_t) 

1716_wasm_ref_as_extern.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1718 return _wasm_ref_as_extern(arg0) # type: ignore 

1719 

1720_wasm_extern_as_ref_const = dll.wasm_extern_as_ref_const 

1721_wasm_extern_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

1722_wasm_extern_as_ref_const.argtypes = [ctypes.POINTER(wasm_extern_t)] 

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

1724 return _wasm_extern_as_ref_const(arg0) # type: ignore 

1725 

1726_wasm_ref_as_extern_const = dll.wasm_ref_as_extern_const 

1727_wasm_ref_as_extern_const.restype = ctypes.POINTER(wasm_extern_t) 

1728_wasm_ref_as_extern_const.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1730 return _wasm_ref_as_extern_const(arg0) # type: ignore 

1731 

1732class wasm_extern_vec_t(ctypes.Structure): 

1733 _fields_ = [ 

1734 ("size", ctypes.c_size_t), 

1735 ("data", ctypes.POINTER(ctypes.POINTER(wasm_extern_t))), 

1736 ] 

1737 size: int 

1738 data: ctypes._Pointer 

1739 

1740_wasm_extern_vec_new_empty = dll.wasm_extern_vec_new_empty 

1741_wasm_extern_vec_new_empty.restype = None 

1742_wasm_extern_vec_new_empty.argtypes = [ctypes.POINTER(wasm_extern_vec_t)] 

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

1744 return _wasm_extern_vec_new_empty(out) # type: ignore 

1745 

1746_wasm_extern_vec_new_uninitialized = dll.wasm_extern_vec_new_uninitialized 

1747_wasm_extern_vec_new_uninitialized.restype = None 

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

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

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

1751 

1752_wasm_extern_vec_new = dll.wasm_extern_vec_new 

1753_wasm_extern_vec_new.restype = None 

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

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

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

1757 

1758_wasm_extern_vec_copy = dll.wasm_extern_vec_copy 

1759_wasm_extern_vec_copy.restype = None 

1760_wasm_extern_vec_copy.argtypes = [ctypes.POINTER(wasm_extern_vec_t), ctypes.POINTER(wasm_extern_vec_t)] 

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

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

1763 

1764_wasm_extern_vec_delete = dll.wasm_extern_vec_delete 

1765_wasm_extern_vec_delete.restype = None 

1766_wasm_extern_vec_delete.argtypes = [ctypes.POINTER(wasm_extern_vec_t)] 

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

1768 return _wasm_extern_vec_delete(arg0) # type: ignore 

1769 

1770_wasm_extern_kind = dll.wasm_extern_kind 

1771_wasm_extern_kind.restype = wasm_externkind_t 

1772_wasm_extern_kind.argtypes = [ctypes.POINTER(wasm_extern_t)] 

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

1774 return _wasm_extern_kind(arg0) # type: ignore 

1775 

1776_wasm_extern_type = dll.wasm_extern_type 

1777_wasm_extern_type.restype = ctypes.POINTER(wasm_externtype_t) 

1778_wasm_extern_type.argtypes = [ctypes.POINTER(wasm_extern_t)] 

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

1780 return _wasm_extern_type(arg0) # type: ignore 

1781 

1782_wasm_func_as_extern = dll.wasm_func_as_extern 

1783_wasm_func_as_extern.restype = ctypes.POINTER(wasm_extern_t) 

1784_wasm_func_as_extern.argtypes = [ctypes.POINTER(wasm_func_t)] 

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

1786 return _wasm_func_as_extern(arg0) # type: ignore 

1787 

1788_wasm_global_as_extern = dll.wasm_global_as_extern 

1789_wasm_global_as_extern.restype = ctypes.POINTER(wasm_extern_t) 

1790_wasm_global_as_extern.argtypes = [ctypes.POINTER(wasm_global_t)] 

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

1792 return _wasm_global_as_extern(arg0) # type: ignore 

1793 

1794_wasm_table_as_extern = dll.wasm_table_as_extern 

1795_wasm_table_as_extern.restype = ctypes.POINTER(wasm_extern_t) 

1796_wasm_table_as_extern.argtypes = [ctypes.POINTER(wasm_table_t)] 

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

1798 return _wasm_table_as_extern(arg0) # type: ignore 

1799 

1800_wasm_memory_as_extern = dll.wasm_memory_as_extern 

1801_wasm_memory_as_extern.restype = ctypes.POINTER(wasm_extern_t) 

1802_wasm_memory_as_extern.argtypes = [ctypes.POINTER(wasm_memory_t)] 

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

1804 return _wasm_memory_as_extern(arg0) # type: ignore 

1805 

1806_wasm_extern_as_func = dll.wasm_extern_as_func 

1807_wasm_extern_as_func.restype = ctypes.POINTER(wasm_func_t) 

1808_wasm_extern_as_func.argtypes = [ctypes.POINTER(wasm_extern_t)] 

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

1810 return _wasm_extern_as_func(arg0) # type: ignore 

1811 

1812_wasm_extern_as_global = dll.wasm_extern_as_global 

1813_wasm_extern_as_global.restype = ctypes.POINTER(wasm_global_t) 

1814_wasm_extern_as_global.argtypes = [ctypes.POINTER(wasm_extern_t)] 

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

1816 return _wasm_extern_as_global(arg0) # type: ignore 

1817 

1818_wasm_extern_as_table = dll.wasm_extern_as_table 

1819_wasm_extern_as_table.restype = ctypes.POINTER(wasm_table_t) 

1820_wasm_extern_as_table.argtypes = [ctypes.POINTER(wasm_extern_t)] 

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

1822 return _wasm_extern_as_table(arg0) # type: ignore 

1823 

1824_wasm_extern_as_memory = dll.wasm_extern_as_memory 

1825_wasm_extern_as_memory.restype = ctypes.POINTER(wasm_memory_t) 

1826_wasm_extern_as_memory.argtypes = [ctypes.POINTER(wasm_extern_t)] 

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

1828 return _wasm_extern_as_memory(arg0) # type: ignore 

1829 

1830_wasm_func_as_extern_const = dll.wasm_func_as_extern_const 

1831_wasm_func_as_extern_const.restype = ctypes.POINTER(wasm_extern_t) 

1832_wasm_func_as_extern_const.argtypes = [ctypes.POINTER(wasm_func_t)] 

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

1834 return _wasm_func_as_extern_const(arg0) # type: ignore 

1835 

1836_wasm_global_as_extern_const = dll.wasm_global_as_extern_const 

1837_wasm_global_as_extern_const.restype = ctypes.POINTER(wasm_extern_t) 

1838_wasm_global_as_extern_const.argtypes = [ctypes.POINTER(wasm_global_t)] 

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

1840 return _wasm_global_as_extern_const(arg0) # type: ignore 

1841 

1842_wasm_table_as_extern_const = dll.wasm_table_as_extern_const 

1843_wasm_table_as_extern_const.restype = ctypes.POINTER(wasm_extern_t) 

1844_wasm_table_as_extern_const.argtypes = [ctypes.POINTER(wasm_table_t)] 

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

1846 return _wasm_table_as_extern_const(arg0) # type: ignore 

1847 

1848_wasm_memory_as_extern_const = dll.wasm_memory_as_extern_const 

1849_wasm_memory_as_extern_const.restype = ctypes.POINTER(wasm_extern_t) 

1850_wasm_memory_as_extern_const.argtypes = [ctypes.POINTER(wasm_memory_t)] 

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

1852 return _wasm_memory_as_extern_const(arg0) # type: ignore 

1853 

1854_wasm_extern_as_func_const = dll.wasm_extern_as_func_const 

1855_wasm_extern_as_func_const.restype = ctypes.POINTER(wasm_func_t) 

1856_wasm_extern_as_func_const.argtypes = [ctypes.POINTER(wasm_extern_t)] 

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

1858 return _wasm_extern_as_func_const(arg0) # type: ignore 

1859 

1860_wasm_extern_as_global_const = dll.wasm_extern_as_global_const 

1861_wasm_extern_as_global_const.restype = ctypes.POINTER(wasm_global_t) 

1862_wasm_extern_as_global_const.argtypes = [ctypes.POINTER(wasm_extern_t)] 

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

1864 return _wasm_extern_as_global_const(arg0) # type: ignore 

1865 

1866_wasm_extern_as_table_const = dll.wasm_extern_as_table_const 

1867_wasm_extern_as_table_const.restype = ctypes.POINTER(wasm_table_t) 

1868_wasm_extern_as_table_const.argtypes = [ctypes.POINTER(wasm_extern_t)] 

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

1870 return _wasm_extern_as_table_const(arg0) # type: ignore 

1871 

1872_wasm_extern_as_memory_const = dll.wasm_extern_as_memory_const 

1873_wasm_extern_as_memory_const.restype = ctypes.POINTER(wasm_memory_t) 

1874_wasm_extern_as_memory_const.argtypes = [ctypes.POINTER(wasm_extern_t)] 

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

1876 return _wasm_extern_as_memory_const(arg0) # type: ignore 

1877 

1878class wasm_instance_t(ctypes.Structure): 

1879 pass 

1880 

1881_wasm_instance_delete = dll.wasm_instance_delete 

1882_wasm_instance_delete.restype = None 

1883_wasm_instance_delete.argtypes = [ctypes.POINTER(wasm_instance_t)] 

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

1885 return _wasm_instance_delete(arg0) # type: ignore 

1886 

1887_wasm_instance_copy = dll.wasm_instance_copy 

1888_wasm_instance_copy.restype = ctypes.POINTER(wasm_instance_t) 

1889_wasm_instance_copy.argtypes = [ctypes.POINTER(wasm_instance_t)] 

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

1891 return _wasm_instance_copy(arg0) # type: ignore 

1892 

1893_wasm_instance_same = dll.wasm_instance_same 

1894_wasm_instance_same.restype = ctypes.c_bool 

1895_wasm_instance_same.argtypes = [ctypes.POINTER(wasm_instance_t), ctypes.POINTER(wasm_instance_t)] 

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

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

1898 

1899_wasm_instance_get_host_info = dll.wasm_instance_get_host_info 

1900_wasm_instance_get_host_info.restype = ctypes.c_void_p 

1901_wasm_instance_get_host_info.argtypes = [ctypes.POINTER(wasm_instance_t)] 

1902def wasm_instance_get_host_info(arg0: Any) -> ctypes._Pointer: 

1903 return _wasm_instance_get_host_info(arg0) # type: ignore 

1904 

1905_wasm_instance_set_host_info = dll.wasm_instance_set_host_info 

1906_wasm_instance_set_host_info.restype = None 

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

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

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

1910 

1911_wasm_instance_set_host_info_with_finalizer = dll.wasm_instance_set_host_info_with_finalizer 

1912_wasm_instance_set_host_info_with_finalizer.restype = None 

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

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

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

1916 

1917_wasm_instance_as_ref = dll.wasm_instance_as_ref 

1918_wasm_instance_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

1919_wasm_instance_as_ref.argtypes = [ctypes.POINTER(wasm_instance_t)] 

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

1921 return _wasm_instance_as_ref(arg0) # type: ignore 

1922 

1923_wasm_ref_as_instance = dll.wasm_ref_as_instance 

1924_wasm_ref_as_instance.restype = ctypes.POINTER(wasm_instance_t) 

1925_wasm_ref_as_instance.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1927 return _wasm_ref_as_instance(arg0) # type: ignore 

1928 

1929_wasm_instance_as_ref_const = dll.wasm_instance_as_ref_const 

1930_wasm_instance_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

1931_wasm_instance_as_ref_const.argtypes = [ctypes.POINTER(wasm_instance_t)] 

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

1933 return _wasm_instance_as_ref_const(arg0) # type: ignore 

1934 

1935_wasm_ref_as_instance_const = dll.wasm_ref_as_instance_const 

1936_wasm_ref_as_instance_const.restype = ctypes.POINTER(wasm_instance_t) 

1937_wasm_ref_as_instance_const.argtypes = [ctypes.POINTER(wasm_ref_t)] 

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

1939 return _wasm_ref_as_instance_const(arg0) # type: ignore 

1940 

1941_wasm_instance_new = dll.wasm_instance_new 

1942_wasm_instance_new.restype = ctypes.POINTER(wasm_instance_t) 

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

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

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

1946 

1947_wasm_instance_exports = dll.wasm_instance_exports 

1948_wasm_instance_exports.restype = None 

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

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

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

1952 

1953class wasi_config_t(ctypes.Structure): 

1954 pass 

1955 

1956_wasi_config_delete = dll.wasi_config_delete 

1957_wasi_config_delete.restype = None 

1958_wasi_config_delete.argtypes = [ctypes.POINTER(wasi_config_t)] 

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

1960 return _wasi_config_delete(arg0) # type: ignore 

1961 

1962_wasi_config_new = dll.wasi_config_new 

1963_wasi_config_new.restype = ctypes.POINTER(wasi_config_t) 

1964_wasi_config_new.argtypes = [] 

1965def wasi_config_new() -> ctypes._Pointer: 

1966 return _wasi_config_new() # type: ignore 

1967 

1968_wasi_config_inherit_network = dll.wasi_config_inherit_network 

1969_wasi_config_inherit_network.restype = None 

1970_wasi_config_inherit_network.argtypes = [ctypes.POINTER(wasi_config_t)] 

1971def wasi_config_inherit_network(config: Any) -> None: 

1972 return _wasi_config_inherit_network(config) # type: ignore 

1973 

1974_wasi_config_allow_ip_name_lookup = dll.wasi_config_allow_ip_name_lookup 

1975_wasi_config_allow_ip_name_lookup.restype = None 

1976_wasi_config_allow_ip_name_lookup.argtypes = [ctypes.POINTER(wasi_config_t), ctypes.c_bool] 

1977def wasi_config_allow_ip_name_lookup(config: Any, enable: Any) -> None: 

1978 return _wasi_config_allow_ip_name_lookup(config, enable) # type: ignore 

1979 

1980_wasi_config_set_argv = dll.wasi_config_set_argv 

1981_wasi_config_set_argv.restype = ctypes.c_bool 

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

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

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

1985 

1986_wasi_config_inherit_argv = dll.wasi_config_inherit_argv 

1987_wasi_config_inherit_argv.restype = None 

1988_wasi_config_inherit_argv.argtypes = [ctypes.POINTER(wasi_config_t)] 

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

1990 return _wasi_config_inherit_argv(config) # type: ignore 

1991 

1992_wasi_config_set_env = dll.wasi_config_set_env 

1993_wasi_config_set_env.restype = ctypes.c_bool 

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

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

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

1997 

1998_wasi_config_inherit_env = dll.wasi_config_inherit_env 

1999_wasi_config_inherit_env.restype = None 

2000_wasi_config_inherit_env.argtypes = [ctypes.POINTER(wasi_config_t)] 

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

2002 return _wasi_config_inherit_env(config) # type: ignore 

2003 

2004_wasi_config_set_stdin_file = dll.wasi_config_set_stdin_file 

2005_wasi_config_set_stdin_file.restype = ctypes.c_bool 

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

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

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

2009 

2010_wasi_config_set_stdin_bytes = dll.wasi_config_set_stdin_bytes 

2011_wasi_config_set_stdin_bytes.restype = None 

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

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

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

2015 

2016_wasi_config_inherit_stdin = dll.wasi_config_inherit_stdin 

2017_wasi_config_inherit_stdin.restype = None 

2018_wasi_config_inherit_stdin.argtypes = [ctypes.POINTER(wasi_config_t)] 

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

2020 return _wasi_config_inherit_stdin(config) # type: ignore 

2021 

2022_wasi_config_set_stdout_file = dll.wasi_config_set_stdout_file 

2023_wasi_config_set_stdout_file.restype = ctypes.c_bool 

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

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

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

2027 

2028_wasi_config_inherit_stdout = dll.wasi_config_inherit_stdout 

2029_wasi_config_inherit_stdout.restype = None 

2030_wasi_config_inherit_stdout.argtypes = [ctypes.POINTER(wasi_config_t)] 

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

2032 return _wasi_config_inherit_stdout(config) # type: ignore 

2033 

2034_wasi_config_set_stdout_custom = dll.wasi_config_set_stdout_custom 

2035_wasi_config_set_stdout_custom.restype = None 

2036_wasi_config_set_stdout_custom.argtypes = [ctypes.POINTER(wasi_config_t), ctypes.CFUNCTYPE(ctypes.c_ssize_t, ctypes.c_void_p, ctypes.POINTER(ctypes.c_ubyte), ctypes.c_size_t), ctypes.c_void_p, ctypes.CFUNCTYPE(None, ctypes.c_void_p)] 

2037def wasi_config_set_stdout_custom(config: Any, callback: Any, data: Any, finalizer: Any) -> None: 

2038 return _wasi_config_set_stdout_custom(config, callback, data, finalizer) # type: ignore 

2039 

2040_wasi_config_set_stderr_file = dll.wasi_config_set_stderr_file 

2041_wasi_config_set_stderr_file.restype = ctypes.c_bool 

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

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

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

2045 

2046_wasi_config_inherit_stderr = dll.wasi_config_inherit_stderr 

2047_wasi_config_inherit_stderr.restype = None 

2048_wasi_config_inherit_stderr.argtypes = [ctypes.POINTER(wasi_config_t)] 

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

2050 return _wasi_config_inherit_stderr(config) # type: ignore 

2051 

2052_wasi_config_set_stderr_custom = dll.wasi_config_set_stderr_custom 

2053_wasi_config_set_stderr_custom.restype = None 

2054_wasi_config_set_stderr_custom.argtypes = [ctypes.POINTER(wasi_config_t), ctypes.CFUNCTYPE(ctypes.c_ssize_t, ctypes.c_void_p, ctypes.POINTER(ctypes.c_ubyte), ctypes.c_size_t), ctypes.c_void_p, ctypes.CFUNCTYPE(None, ctypes.c_void_p)] 

2055def wasi_config_set_stderr_custom(config: Any, callback: Any, data: Any, finalizer: Any) -> None: 

2056 return _wasi_config_set_stderr_custom(config, callback, data, finalizer) # type: ignore 

2057 

2058wasi_file_perms = ctypes.c_size_t 

2059 

2060_wasi_config_preopen_dir = dll.wasi_config_preopen_dir 

2061_wasi_config_preopen_dir.restype = ctypes.c_bool 

2062_wasi_config_preopen_dir.argtypes = [ctypes.POINTER(wasi_config_t), ctypes.POINTER(ctypes.c_char), ctypes.POINTER(ctypes.c_char), ctypes.c_bool] 

2063def wasi_config_preopen_dir(config: Any, host_path: Any, guest_path: Any, fs_mutable: Any) -> bool: 

2064 return _wasi_config_preopen_dir(config, host_path, guest_path, fs_mutable) # type: ignore 

2065 

2066wasmtime_storage_type_kind_t = ctypes.c_uint8 

2067 

2068class wasmtime_storage_type(ctypes.Structure): 

2069 _fields_ = [ 

2070 ("kind", wasmtime_storage_type_kind_t), 

2071 ("valtype", ctypes.POINTER(wasm_valtype_t)), 

2072 ] 

2073 kind: wasmtime_storage_type_kind_t 

2074 valtype: ctypes._Pointer 

2075 

2076wasmtime_storage_type_t = wasmtime_storage_type 

2077 

2078_wasmtime_storage_type_clone = dll.wasmtime_storage_type_clone 

2079_wasmtime_storage_type_clone.restype = None 

2080_wasmtime_storage_type_clone.argtypes = [ctypes.POINTER(wasmtime_storage_type_t), ctypes.POINTER(wasmtime_storage_type_t)] 

2081def wasmtime_storage_type_clone(storage: Any, out: Any) -> None: 

2082 return _wasmtime_storage_type_clone(storage, out) # type: ignore 

2083 

2084_wasmtime_storage_type_delete = dll.wasmtime_storage_type_delete 

2085_wasmtime_storage_type_delete.restype = None 

2086_wasmtime_storage_type_delete.argtypes = [ctypes.POINTER(wasmtime_storage_type_t)] 

2087def wasmtime_storage_type_delete(storage: Any) -> None: 

2088 return _wasmtime_storage_type_delete(storage) # type: ignore 

2089 

2090class wasmtime_field_type(ctypes.Structure): 

2091 _fields_ = [ 

2092 ("mutable_", ctypes.c_bool), 

2093 ("storage", wasmtime_storage_type_t), 

2094 ] 

2095 mutable_: bool 

2096 storage: wasmtime_storage_type_t 

2097 

2098wasmtime_field_type_t = wasmtime_field_type 

2099 

2100_wasmtime_field_type_clone = dll.wasmtime_field_type_clone 

2101_wasmtime_field_type_clone.restype = None 

2102_wasmtime_field_type_clone.argtypes = [ctypes.POINTER(wasmtime_field_type_t), ctypes.POINTER(wasmtime_field_type_t)] 

2103def wasmtime_field_type_clone(field: Any, out: Any) -> None: 

2104 return _wasmtime_field_type_clone(field, out) # type: ignore 

2105 

2106_wasmtime_field_type_delete = dll.wasmtime_field_type_delete 

2107_wasmtime_field_type_delete.restype = None 

2108_wasmtime_field_type_delete.argtypes = [ctypes.POINTER(wasmtime_field_type_t)] 

2109def wasmtime_field_type_delete(field: Any) -> None: 

2110 return _wasmtime_field_type_delete(field) # type: ignore 

2111 

2112class wasmtime_struct_type(ctypes.Structure): 

2113 pass 

2114 

2115wasmtime_struct_type_t = wasmtime_struct_type 

2116 

2117_wasmtime_struct_type_new = dll.wasmtime_struct_type_new 

2118_wasmtime_struct_type_new.restype = ctypes.POINTER(wasmtime_struct_type_t) 

2119_wasmtime_struct_type_new.argtypes = [ctypes.POINTER(wasm_engine_t), ctypes.POINTER(wasmtime_field_type_t), ctypes.c_size_t] 

2120def wasmtime_struct_type_new(engine: Any, fields: Any, nfields: Any) -> ctypes._Pointer: 

2121 return _wasmtime_struct_type_new(engine, fields, nfields) # type: ignore 

2122 

2123_wasmtime_struct_type_copy = dll.wasmtime_struct_type_copy 

2124_wasmtime_struct_type_copy.restype = ctypes.POINTER(wasmtime_struct_type_t) 

2125_wasmtime_struct_type_copy.argtypes = [ctypes.POINTER(wasmtime_struct_type_t)] 

2126def wasmtime_struct_type_copy(ty: Any) -> ctypes._Pointer: 

2127 return _wasmtime_struct_type_copy(ty) # type: ignore 

2128 

2129_wasmtime_struct_type_delete = dll.wasmtime_struct_type_delete 

2130_wasmtime_struct_type_delete.restype = None 

2131_wasmtime_struct_type_delete.argtypes = [ctypes.POINTER(wasmtime_struct_type_t)] 

2132def wasmtime_struct_type_delete(ty: Any) -> None: 

2133 return _wasmtime_struct_type_delete(ty) # type: ignore 

2134 

2135_wasmtime_struct_type_num_fields = dll.wasmtime_struct_type_num_fields 

2136_wasmtime_struct_type_num_fields.restype = ctypes.c_size_t 

2137_wasmtime_struct_type_num_fields.argtypes = [ctypes.POINTER(wasmtime_struct_type_t)] 

2138def wasmtime_struct_type_num_fields(ty: Any) -> int: 

2139 return _wasmtime_struct_type_num_fields(ty) # type: ignore 

2140 

2141_wasmtime_struct_type_field = dll.wasmtime_struct_type_field 

2142_wasmtime_struct_type_field.restype = ctypes.c_bool 

2143_wasmtime_struct_type_field.argtypes = [ctypes.POINTER(wasmtime_struct_type_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_field_type_t)] 

2144def wasmtime_struct_type_field(ty: Any, index: Any, out: Any) -> bool: 

2145 return _wasmtime_struct_type_field(ty, index, out) # type: ignore 

2146 

2147class wasmtime_array_type(ctypes.Structure): 

2148 pass 

2149 

2150wasmtime_array_type_t = wasmtime_array_type 

2151 

2152_wasmtime_array_type_new = dll.wasmtime_array_type_new 

2153_wasmtime_array_type_new.restype = ctypes.POINTER(wasmtime_array_type_t) 

2154_wasmtime_array_type_new.argtypes = [ctypes.POINTER(wasm_engine_t), ctypes.POINTER(wasmtime_field_type_t)] 

2155def wasmtime_array_type_new(engine: Any, field: Any) -> ctypes._Pointer: 

2156 return _wasmtime_array_type_new(engine, field) # type: ignore 

2157 

2158_wasmtime_array_type_copy = dll.wasmtime_array_type_copy 

2159_wasmtime_array_type_copy.restype = ctypes.POINTER(wasmtime_array_type_t) 

2160_wasmtime_array_type_copy.argtypes = [ctypes.POINTER(wasmtime_array_type_t)] 

2161def wasmtime_array_type_copy(ty: Any) -> ctypes._Pointer: 

2162 return _wasmtime_array_type_copy(ty) # type: ignore 

2163 

2164_wasmtime_array_type_delete = dll.wasmtime_array_type_delete 

2165_wasmtime_array_type_delete.restype = None 

2166_wasmtime_array_type_delete.argtypes = [ctypes.POINTER(wasmtime_array_type_t)] 

2167def wasmtime_array_type_delete(ty: Any) -> None: 

2168 return _wasmtime_array_type_delete(ty) # type: ignore 

2169 

2170_wasmtime_array_type_element = dll.wasmtime_array_type_element 

2171_wasmtime_array_type_element.restype = None 

2172_wasmtime_array_type_element.argtypes = [ctypes.POINTER(wasmtime_array_type_t), ctypes.POINTER(wasmtime_field_type_t)] 

2173def wasmtime_array_type_element(ty: Any, out: Any) -> None: 

2174 return _wasmtime_array_type_element(ty, out) # type: ignore 

2175 

2176class wasmtime_error(ctypes.Structure): 

2177 pass 

2178 

2179wasmtime_error_t = wasmtime_error 

2180 

2181_wasmtime_error_new = dll.wasmtime_error_new 

2182_wasmtime_error_new.restype = ctypes.POINTER(wasmtime_error_t) 

2183_wasmtime_error_new.argtypes = [ctypes.POINTER(ctypes.c_char)] 

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

2185 return _wasmtime_error_new(arg0) # type: ignore 

2186 

2187_wasmtime_error_delete = dll.wasmtime_error_delete 

2188_wasmtime_error_delete.restype = None 

2189_wasmtime_error_delete.argtypes = [ctypes.POINTER(wasmtime_error_t)] 

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

2191 return _wasmtime_error_delete(error) # type: ignore 

2192 

2193_wasmtime_error_message = dll.wasmtime_error_message 

2194_wasmtime_error_message.restype = None 

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

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

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

2198 

2199_wasmtime_error_exit_status = dll.wasmtime_error_exit_status 

2200_wasmtime_error_exit_status.restype = ctypes.c_bool 

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

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

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

2204 

2205_wasmtime_error_wasm_trace = dll.wasmtime_error_wasm_trace 

2206_wasmtime_error_wasm_trace.restype = None 

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

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

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

2210 

2211class wasmtime_exn_type(ctypes.Structure): 

2212 pass 

2213 

2214wasmtime_exn_type_t = wasmtime_exn_type 

2215 

2216_wasmtime_exn_type_new = dll.wasmtime_exn_type_new 

2217_wasmtime_exn_type_new.restype = ctypes.POINTER(wasmtime_error_t) 

2218_wasmtime_exn_type_new.argtypes = [ctypes.POINTER(wasm_engine_t), ctypes.POINTER(wasm_valtype_vec_t), ctypes.POINTER(ctypes.POINTER(wasmtime_exn_type_t))] 

2219def wasmtime_exn_type_new(engine: Any, params: Any, out: Any) -> ctypes._Pointer: 

2220 return _wasmtime_exn_type_new(engine, params, out) # type: ignore 

2221 

2222_wasmtime_exn_type_delete = dll.wasmtime_exn_type_delete 

2223_wasmtime_exn_type_delete.restype = None 

2224_wasmtime_exn_type_delete.argtypes = [ctypes.POINTER(wasmtime_exn_type_t)] 

2225def wasmtime_exn_type_delete(ty: Any) -> None: 

2226 return _wasmtime_exn_type_delete(ty) # type: ignore 

2227 

2228_wasmtime_exn_type_copy = dll.wasmtime_exn_type_copy 

2229_wasmtime_exn_type_copy.restype = ctypes.POINTER(wasmtime_exn_type_t) 

2230_wasmtime_exn_type_copy.argtypes = [ctypes.POINTER(wasmtime_exn_type_t)] 

2231def wasmtime_exn_type_copy(ty: Any) -> ctypes._Pointer: 

2232 return _wasmtime_exn_type_copy(ty) # type: ignore 

2233 

2234_wasmtime_exn_type_tag_type = dll.wasmtime_exn_type_tag_type 

2235_wasmtime_exn_type_tag_type.restype = ctypes.POINTER(wasm_tagtype_t) 

2236_wasmtime_exn_type_tag_type.argtypes = [ctypes.POINTER(wasmtime_exn_type_t)] 

2237def wasmtime_exn_type_tag_type(ty: Any) -> ctypes._Pointer: 

2238 return _wasmtime_exn_type_tag_type(ty) # type: ignore 

2239 

2240_wasmtime_wasm_valtype_v128 = dll.wasmtime_wasm_valtype_v128 

2241_wasmtime_wasm_valtype_v128.restype = ctypes.POINTER(wasm_valtype_t) 

2242_wasmtime_wasm_valtype_v128.argtypes = [] 

2243def wasmtime_wasm_valtype_v128() -> ctypes._Pointer: 

2244 return _wasmtime_wasm_valtype_v128() # type: ignore 

2245 

2246_wasmtime_wasm_valtype_equal = dll.wasmtime_wasm_valtype_equal 

2247_wasmtime_wasm_valtype_equal.restype = ctypes.c_bool 

2248_wasmtime_wasm_valtype_equal.argtypes = [ctypes.POINTER(wasm_valtype_t), ctypes.POINTER(wasm_valtype_t)] 

2249def wasmtime_wasm_valtype_equal(a: Any, b: Any) -> bool: 

2250 return _wasmtime_wasm_valtype_equal(a, b) # type: ignore 

2251 

2252wasmtime_heaptype_kind_t = ctypes.c_uint8 

2253 

2254class wasmtime_heaptype_union(ctypes.Union): 

2255 _fields_ = [ 

2256 ("concrete_func", ctypes.POINTER(wasm_functype_t)), 

2257 ("concrete_array", ctypes.POINTER(wasmtime_array_type_t)), 

2258 ("concrete_struct", ctypes.POINTER(wasmtime_struct_type_t)), 

2259 ("concrete_exn", ctypes.POINTER(wasmtime_exn_type_t)), 

2260 ] 

2261 concrete_func: ctypes._Pointer 

2262 concrete_array: ctypes._Pointer 

2263 concrete_struct: ctypes._Pointer 

2264 concrete_exn: ctypes._Pointer 

2265 

2266wasmtime_heaptype_union_t = wasmtime_heaptype_union 

2267 

2268class wasmtime_heaptype(ctypes.Structure): 

2269 _fields_ = [ 

2270 ("kind", wasmtime_heaptype_kind_t), 

2271 ("of", wasmtime_heaptype_union_t), 

2272 ] 

2273 kind: wasmtime_heaptype_kind_t 

2274 of: wasmtime_heaptype_union_t 

2275 

2276wasmtime_heaptype_t = wasmtime_heaptype 

2277 

2278_wasmtime_heaptype_clone = dll.wasmtime_heaptype_clone 

2279_wasmtime_heaptype_clone.restype = None 

2280_wasmtime_heaptype_clone.argtypes = [ctypes.POINTER(wasmtime_heaptype_t), ctypes.POINTER(wasmtime_heaptype_t)] 

2281def wasmtime_heaptype_clone(ty: Any, out: Any) -> None: 

2282 return _wasmtime_heaptype_clone(ty, out) # type: ignore 

2283 

2284_wasmtime_heaptype_delete = dll.wasmtime_heaptype_delete 

2285_wasmtime_heaptype_delete.restype = None 

2286_wasmtime_heaptype_delete.argtypes = [ctypes.POINTER(wasmtime_heaptype_t)] 

2287def wasmtime_heaptype_delete(ty: Any) -> None: 

2288 return _wasmtime_heaptype_delete(ty) # type: ignore 

2289 

2290class wasmtime_reftype(ctypes.Structure): 

2291 _fields_ = [ 

2292 ("nullable", ctypes.c_bool), 

2293 ("heaptype", wasmtime_heaptype_t), 

2294 ] 

2295 nullable: bool 

2296 heaptype: wasmtime_heaptype_t 

2297 

2298wasmtime_reftype_t = wasmtime_reftype 

2299 

2300_wasmtime_reftype_clone = dll.wasmtime_reftype_clone 

2301_wasmtime_reftype_clone.restype = None 

2302_wasmtime_reftype_clone.argtypes = [ctypes.POINTER(wasmtime_reftype_t), ctypes.POINTER(wasmtime_reftype_t)] 

2303def wasmtime_reftype_clone(ty: Any, out: Any) -> None: 

2304 return _wasmtime_reftype_clone(ty, out) # type: ignore 

2305 

2306_wasmtime_reftype_delete = dll.wasmtime_reftype_delete 

2307_wasmtime_reftype_delete.restype = None 

2308_wasmtime_reftype_delete.argtypes = [ctypes.POINTER(wasmtime_reftype_t)] 

2309def wasmtime_reftype_delete(ty: Any) -> None: 

2310 return _wasmtime_reftype_delete(ty) # type: ignore 

2311 

2312wasmtime_valtype_kind_t = ctypes.c_uint8 

2313 

2314class wasmtime_valtype(ctypes.Structure): 

2315 _fields_ = [ 

2316 ("kind", wasmtime_valtype_kind_t), 

2317 ("reftype", wasmtime_reftype_t), 

2318 ] 

2319 kind: wasmtime_valtype_kind_t 

2320 reftype: wasmtime_reftype_t 

2321 

2322wasmtime_valtype_t = wasmtime_valtype 

2323 

2324_wasmtime_valtype_new = dll.wasmtime_valtype_new 

2325_wasmtime_valtype_new.restype = None 

2326_wasmtime_valtype_new.argtypes = [ctypes.POINTER(wasm_valtype_t), ctypes.POINTER(wasmtime_valtype_t)] 

2327def wasmtime_valtype_new(ty: Any, out: Any) -> None: 

2328 return _wasmtime_valtype_new(ty, out) # type: ignore 

2329 

2330_wasmtime_valtype_clone = dll.wasmtime_valtype_clone 

2331_wasmtime_valtype_clone.restype = None 

2332_wasmtime_valtype_clone.argtypes = [ctypes.POINTER(wasmtime_valtype_t), ctypes.POINTER(wasmtime_valtype_t)] 

2333def wasmtime_valtype_clone(ty: Any, out: Any) -> None: 

2334 return _wasmtime_valtype_clone(ty, out) # type: ignore 

2335 

2336_wasmtime_valtype_delete = dll.wasmtime_valtype_delete 

2337_wasmtime_valtype_delete.restype = None 

2338_wasmtime_valtype_delete.argtypes = [ctypes.POINTER(wasmtime_valtype_t)] 

2339def wasmtime_valtype_delete(ty: Any) -> None: 

2340 return _wasmtime_valtype_delete(ty) # type: ignore 

2341 

2342_wasmtime_valtype_to_wasm = dll.wasmtime_valtype_to_wasm 

2343_wasmtime_valtype_to_wasm.restype = ctypes.POINTER(wasm_valtype_t) 

2344_wasmtime_valtype_to_wasm.argtypes = [ctypes.POINTER(wasm_engine_t), ctypes.POINTER(wasmtime_valtype_t)] 

2345def wasmtime_valtype_to_wasm(engine: Any, ty: Any) -> ctypes._Pointer: 

2346 return _wasmtime_valtype_to_wasm(engine, ty) # type: ignore 

2347 

2348class wasmtime_module(ctypes.Structure): 

2349 pass 

2350 

2351wasmtime_module_t = wasmtime_module 

2352 

2353_wasmtime_module_new = dll.wasmtime_module_new 

2354_wasmtime_module_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2358 

2359_wasmtime_module_delete = dll.wasmtime_module_delete 

2360_wasmtime_module_delete.restype = None 

2361_wasmtime_module_delete.argtypes = [ctypes.POINTER(wasmtime_module_t)] 

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

2363 return _wasmtime_module_delete(m) # type: ignore 

2364 

2365_wasmtime_module_clone = dll.wasmtime_module_clone 

2366_wasmtime_module_clone.restype = ctypes.POINTER(wasmtime_module_t) 

2367_wasmtime_module_clone.argtypes = [ctypes.POINTER(wasmtime_module_t)] 

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

2369 return _wasmtime_module_clone(m) # type: ignore 

2370 

2371_wasmtime_module_imports = dll.wasmtime_module_imports 

2372_wasmtime_module_imports.restype = None 

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

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

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

2376 

2377_wasmtime_module_exports = dll.wasmtime_module_exports 

2378_wasmtime_module_exports.restype = None 

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

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

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

2382 

2383_wasmtime_module_validate = dll.wasmtime_module_validate 

2384_wasmtime_module_validate.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2388 

2389_wasmtime_module_serialize = dll.wasmtime_module_serialize 

2390_wasmtime_module_serialize.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2394 

2395_wasmtime_module_deserialize = dll.wasmtime_module_deserialize 

2396_wasmtime_module_deserialize.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2400 

2401_wasmtime_module_deserialize_file = dll.wasmtime_module_deserialize_file 

2402_wasmtime_module_deserialize_file.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2406 

2407_wasmtime_module_image_range = dll.wasmtime_module_image_range 

2408_wasmtime_module_image_range.restype = None 

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

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

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

2412 

2413class wasmtime_sharedmemory(ctypes.Structure): 

2414 pass 

2415 

2416wasmtime_sharedmemory_t = wasmtime_sharedmemory 

2417 

2418_wasmtime_sharedmemory_new = dll.wasmtime_sharedmemory_new 

2419_wasmtime_sharedmemory_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2423 

2424_wasmtime_sharedmemory_delete = dll.wasmtime_sharedmemory_delete 

2425_wasmtime_sharedmemory_delete.restype = None 

2426_wasmtime_sharedmemory_delete.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

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

2428 return _wasmtime_sharedmemory_delete(memory) # type: ignore 

2429 

2430_wasmtime_sharedmemory_clone = dll.wasmtime_sharedmemory_clone 

2431_wasmtime_sharedmemory_clone.restype = ctypes.POINTER(wasmtime_sharedmemory_t) 

2432_wasmtime_sharedmemory_clone.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

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

2434 return _wasmtime_sharedmemory_clone(memory) # type: ignore 

2435 

2436_wasmtime_sharedmemory_type = dll.wasmtime_sharedmemory_type 

2437_wasmtime_sharedmemory_type.restype = ctypes.POINTER(wasm_memorytype_t) 

2438_wasmtime_sharedmemory_type.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

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

2440 return _wasmtime_sharedmemory_type(memory) # type: ignore 

2441 

2442_wasmtime_sharedmemory_data = dll.wasmtime_sharedmemory_data 

2443_wasmtime_sharedmemory_data.restype = ctypes.POINTER(ctypes.c_uint8) 

2444_wasmtime_sharedmemory_data.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

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

2446 return _wasmtime_sharedmemory_data(memory) # type: ignore 

2447 

2448_wasmtime_sharedmemory_data_size = dll.wasmtime_sharedmemory_data_size 

2449_wasmtime_sharedmemory_data_size.restype = ctypes.c_size_t 

2450_wasmtime_sharedmemory_data_size.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

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

2452 return _wasmtime_sharedmemory_data_size(memory) # type: ignore 

2453 

2454_wasmtime_sharedmemory_size = dll.wasmtime_sharedmemory_size 

2455_wasmtime_sharedmemory_size.restype = ctypes.c_uint64 

2456_wasmtime_sharedmemory_size.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

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

2458 return _wasmtime_sharedmemory_size(memory) # type: ignore 

2459 

2460_wasmtime_sharedmemory_grow = dll.wasmtime_sharedmemory_grow 

2461_wasmtime_sharedmemory_grow.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2465 

2466class wasmtime_store(ctypes.Structure): 

2467 pass 

2468 

2469wasmtime_store_t = wasmtime_store 

2470 

2471class wasmtime_context(ctypes.Structure): 

2472 pass 

2473 

2474wasmtime_context_t = wasmtime_context 

2475 

2476_wasmtime_store_new = dll.wasmtime_store_new 

2477_wasmtime_store_new.restype = ctypes.POINTER(wasmtime_store_t) 

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

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

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

2481 

2482_wasmtime_store_context = dll.wasmtime_store_context 

2483_wasmtime_store_context.restype = ctypes.POINTER(wasmtime_context_t) 

2484_wasmtime_store_context.argtypes = [ctypes.POINTER(wasmtime_store_t)] 

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

2486 return _wasmtime_store_context(store) # type: ignore 

2487 

2488_wasmtime_store_limiter = dll.wasmtime_store_limiter 

2489_wasmtime_store_limiter.restype = None 

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

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

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

2493 

2494_wasmtime_store_delete = dll.wasmtime_store_delete 

2495_wasmtime_store_delete.restype = None 

2496_wasmtime_store_delete.argtypes = [ctypes.POINTER(wasmtime_store_t)] 

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

2498 return _wasmtime_store_delete(store) # type: ignore 

2499 

2500_wasmtime_context_get_data = dll.wasmtime_context_get_data 

2501_wasmtime_context_get_data.restype = ctypes.c_void_p 

2502_wasmtime_context_get_data.argtypes = [ctypes.POINTER(wasmtime_context_t)] 

2503def wasmtime_context_get_data(context: Any) -> ctypes._Pointer: 

2504 return _wasmtime_context_get_data(context) # type: ignore 

2505 

2506_wasmtime_context_set_data = dll.wasmtime_context_set_data 

2507_wasmtime_context_set_data.restype = None 

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

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

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

2511 

2512_wasmtime_context_gc = dll.wasmtime_context_gc 

2513_wasmtime_context_gc.restype = ctypes.POINTER(wasmtime_error_t) 

2514_wasmtime_context_gc.argtypes = [ctypes.POINTER(wasmtime_context_t)] 

2515def wasmtime_context_gc(context: Any) -> ctypes._Pointer: 

2516 return _wasmtime_context_gc(context) # type: ignore 

2517 

2518_wasmtime_context_set_fuel = dll.wasmtime_context_set_fuel 

2519_wasmtime_context_set_fuel.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2523 

2524_wasmtime_context_get_fuel = dll.wasmtime_context_get_fuel 

2525_wasmtime_context_get_fuel.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2529 

2530_wasmtime_context_set_wasi = dll.wasmtime_context_set_wasi 

2531_wasmtime_context_set_wasi.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2535 

2536_wasmtime_context_set_wasi_http = dll.wasmtime_context_set_wasi_http 

2537_wasmtime_context_set_wasi_http.restype = None 

2538_wasmtime_context_set_wasi_http.argtypes = [ctypes.POINTER(wasmtime_context_t)] 

2539def wasmtime_context_set_wasi_http(context: Any) -> None: 

2540 return _wasmtime_context_set_wasi_http(context) # type: ignore 

2541 

2542_wasmtime_context_set_epoch_deadline = dll.wasmtime_context_set_epoch_deadline 

2543_wasmtime_context_set_epoch_deadline.restype = None 

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

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

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

2547 

2548wasmtime_update_deadline_kind_t = ctypes.c_uint8 

2549 

2550_wasmtime_store_epoch_deadline_callback = dll.wasmtime_store_epoch_deadline_callback 

2551_wasmtime_store_epoch_deadline_callback.restype = None 

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

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

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

2555 

2556 

2557class wasmtime_tag_anon_0(ctypes.Structure): 

2558 _fields_ = [ 

2559 ("store_id", ctypes.c_uint64), 

2560 ("__private1", ctypes.c_uint32), 

2561 ] 

2562 store_id: int 

2563 __private1: int 

2564class wasmtime_tag(ctypes.Structure): 

2565 _fields_ = [ 

2566 ("_anon_1", wasmtime_tag_anon_0), 

2567 ("__private2", ctypes.c_uint32), 

2568 ] 

2569 _anon_1: wasmtime_tag_anon_0 

2570 __private2: int 

2571 

2572wasmtime_tag_t = wasmtime_tag 

2573 

2574_wasmtime_tag_new = dll.wasmtime_tag_new 

2575_wasmtime_tag_new.restype = ctypes.POINTER(wasmtime_error_t) 

2576_wasmtime_tag_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasm_tagtype_t), ctypes.POINTER(wasmtime_tag_t)] 

2577def wasmtime_tag_new(store: Any, tt: Any, ret: Any) -> ctypes._Pointer: 

2578 return _wasmtime_tag_new(store, tt, ret) # type: ignore 

2579 

2580_wasmtime_tag_type = dll.wasmtime_tag_type 

2581_wasmtime_tag_type.restype = ctypes.POINTER(wasm_tagtype_t) 

2582_wasmtime_tag_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_tag_t)] 

2583def wasmtime_tag_type(store: Any, tag: Any) -> ctypes._Pointer: 

2584 return _wasmtime_tag_type(store, tag) # type: ignore 

2585 

2586_wasmtime_tag_eq = dll.wasmtime_tag_eq 

2587_wasmtime_tag_eq.restype = ctypes.c_bool 

2588_wasmtime_tag_eq.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_tag_t), ctypes.POINTER(wasmtime_tag_t)] 

2589def wasmtime_tag_eq(store: Any, a: Any, b: Any) -> bool: 

2590 return _wasmtime_tag_eq(store, a, b) # type: ignore 

2591 

2592class wasmtime_func(ctypes.Structure): 

2593 _fields_ = [ 

2594 ("store_id", ctypes.c_uint64), 

2595 ("__private", ctypes.c_void_p), 

2596 ] 

2597 store_id: int 

2598 __private: ctypes._Pointer 

2599 

2600wasmtime_func_t = wasmtime_func 

2601 

2602 

2603class wasmtime_table_anon_0(ctypes.Structure): 

2604 _fields_ = [ 

2605 ("store_id", ctypes.c_uint64), 

2606 ("__private1", ctypes.c_uint32), 

2607 ] 

2608 store_id: int 

2609 __private1: int 

2610class wasmtime_table(ctypes.Structure): 

2611 _fields_ = [ 

2612 ("_anon_1", wasmtime_table_anon_0), 

2613 ("__private2", ctypes.c_uint32), 

2614 ] 

2615 _anon_1: wasmtime_table_anon_0 

2616 __private2: int 

2617 

2618wasmtime_table_t = wasmtime_table 

2619 

2620 

2621class wasmtime_memory_anon_0(ctypes.Structure): 

2622 _fields_ = [ 

2623 ("store_id", ctypes.c_uint64), 

2624 ("__private1", ctypes.c_uint32), 

2625 ] 

2626 store_id: int 

2627 __private1: int 

2628class wasmtime_memory(ctypes.Structure): 

2629 _fields_ = [ 

2630 ("_anon_1", wasmtime_memory_anon_0), 

2631 ("__private2", ctypes.c_uint32), 

2632 ] 

2633 _anon_1: wasmtime_memory_anon_0 

2634 __private2: int 

2635 

2636wasmtime_memory_t = wasmtime_memory 

2637 

2638class wasmtime_global(ctypes.Structure): 

2639 _fields_ = [ 

2640 ("store_id", ctypes.c_uint64), 

2641 ("__private1", ctypes.c_uint32), 

2642 ("__private2", ctypes.c_uint32), 

2643 ("__private3", ctypes.c_uint32), 

2644 ] 

2645 store_id: int 

2646 __private1: int 

2647 __private2: int 

2648 __private3: int 

2649 

2650wasmtime_global_t = wasmtime_global 

2651 

2652wasmtime_extern_kind_t = ctypes.c_uint8 

2653 

2654class wasmtime_extern_union(ctypes.Union): 

2655 _fields_ = [ 

2656 ("func", wasmtime_func_t), 

2657 ("global_", wasmtime_global_t), 

2658 ("table", wasmtime_table_t), 

2659 ("memory", wasmtime_memory_t), 

2660 ("sharedmemory", ctypes.POINTER(wasmtime_sharedmemory)), 

2661 ("tag", wasmtime_tag_t), 

2662 ] 

2663 func: wasmtime_func_t 

2664 global_: wasmtime_global_t 

2665 table: wasmtime_table_t 

2666 memory: wasmtime_memory_t 

2667 sharedmemory: ctypes._Pointer 

2668 tag: wasmtime_tag_t 

2669 

2670wasmtime_extern_union_t = wasmtime_extern_union 

2671 

2672class wasmtime_extern(ctypes.Structure): 

2673 _fields_ = [ 

2674 ("kind", wasmtime_extern_kind_t), 

2675 ("of", wasmtime_extern_union_t), 

2676 ] 

2677 kind: wasmtime_extern_kind_t 

2678 of: wasmtime_extern_union_t 

2679 

2680wasmtime_extern_t = wasmtime_extern 

2681 

2682_wasmtime_extern_delete = dll.wasmtime_extern_delete 

2683_wasmtime_extern_delete.restype = None 

2684_wasmtime_extern_delete.argtypes = [ctypes.POINTER(wasmtime_extern_t)] 

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

2686 return _wasmtime_extern_delete(val) # type: ignore 

2687 

2688_wasmtime_extern_type = dll.wasmtime_extern_type 

2689_wasmtime_extern_type.restype = ctypes.POINTER(wasm_externtype_t) 

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

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

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

2693 

2694wasmtime_valkind_t = ctypes.c_uint8 

2695 

2696wasmtime_v128 = ctypes.c_uint8 * 16 

2697 

2698class wasmtime_anyref(ctypes.Structure): 

2699 _fields_ = [ 

2700 ("store_id", ctypes.c_uint64), 

2701 ("__private1", ctypes.c_uint32), 

2702 ("__private2", ctypes.c_uint32), 

2703 ("__private3", ctypes.c_void_p), 

2704 ] 

2705 store_id: int 

2706 __private1: int 

2707 __private2: int 

2708 __private3: ctypes._Pointer 

2709 

2710wasmtime_anyref_t = wasmtime_anyref 

2711 

2712class wasmtime_exnref(ctypes.Structure): 

2713 _fields_ = [ 

2714 ("store_id", ctypes.c_uint64), 

2715 ("__private1", ctypes.c_uint32), 

2716 ("__private2", ctypes.c_uint32), 

2717 ("__private3", ctypes.c_void_p), 

2718 ] 

2719 store_id: int 

2720 __private1: int 

2721 __private2: int 

2722 __private3: ctypes._Pointer 

2723 

2724wasmtime_exnref_t = wasmtime_exnref 

2725 

2726class wasmtime_externref(ctypes.Structure): 

2727 _fields_ = [ 

2728 ("store_id", ctypes.c_uint64), 

2729 ("__private1", ctypes.c_uint32), 

2730 ("__private2", ctypes.c_uint32), 

2731 ("__private3", ctypes.c_void_p), 

2732 ] 

2733 store_id: int 

2734 __private1: int 

2735 __private2: int 

2736 __private3: ctypes._Pointer 

2737 

2738wasmtime_externref_t = wasmtime_externref 

2739 

2740class wasmtime_eqref(ctypes.Structure): 

2741 _fields_ = [ 

2742 ("store_id", ctypes.c_uint64), 

2743 ("__private1", ctypes.c_uint32), 

2744 ("__private2", ctypes.c_uint32), 

2745 ("__private3", ctypes.c_void_p), 

2746 ] 

2747 store_id: int 

2748 __private1: int 

2749 __private2: int 

2750 __private3: ctypes._Pointer 

2751 

2752wasmtime_eqref_t = wasmtime_eqref 

2753 

2754class wasmtime_structref(ctypes.Structure): 

2755 _fields_ = [ 

2756 ("store_id", ctypes.c_uint64), 

2757 ("__private1", ctypes.c_uint32), 

2758 ("__private2", ctypes.c_uint32), 

2759 ("__private3", ctypes.c_void_p), 

2760 ] 

2761 store_id: int 

2762 __private1: int 

2763 __private2: int 

2764 __private3: ctypes._Pointer 

2765 

2766wasmtime_structref_t = wasmtime_structref 

2767 

2768class wasmtime_arrayref(ctypes.Structure): 

2769 _fields_ = [ 

2770 ("store_id", ctypes.c_uint64), 

2771 ("__private1", ctypes.c_uint32), 

2772 ("__private2", ctypes.c_uint32), 

2773 ("__private3", ctypes.c_void_p), 

2774 ] 

2775 store_id: int 

2776 __private1: int 

2777 __private2: int 

2778 __private3: ctypes._Pointer 

2779 

2780wasmtime_arrayref_t = wasmtime_arrayref 

2781 

2782class wasmtime_valunion(ctypes.Union): 

2783 _fields_ = [ 

2784 ("i32", ctypes.c_int32), 

2785 ("i64", ctypes.c_int64), 

2786 ("f32", ctypes.c_float), 

2787 ("f64", ctypes.c_double), 

2788 ("anyref", wasmtime_anyref_t), 

2789 ("externref", wasmtime_externref_t), 

2790 ("exnref", wasmtime_exnref_t), 

2791 ("funcref", wasmtime_func_t), 

2792 ("v128", wasmtime_v128), 

2793 ] 

2794 i32: int 

2795 i64: int 

2796 f32: float 

2797 f64: float 

2798 anyref: wasmtime_anyref_t 

2799 externref: wasmtime_externref_t 

2800 exnref: wasmtime_exnref_t 

2801 funcref: wasmtime_func_t 

2802 v128: wasmtime_v128 # type: ignore 

2803 

2804wasmtime_valunion_t = wasmtime_valunion 

2805 

2806class wasmtime_val_raw(ctypes.Union): 

2807 _fields_ = [ 

2808 ("i32", ctypes.c_int32), 

2809 ("i64", ctypes.c_int64), 

2810 ("f32", ctypes.c_float), 

2811 ("f64", ctypes.c_double), 

2812 ("v128", wasmtime_v128), 

2813 ("anyref", ctypes.c_uint32), 

2814 ("externref", ctypes.c_uint32), 

2815 ("exnref", ctypes.c_uint32), 

2816 ("funcref", ctypes.c_void_p), 

2817 ] 

2818 i32: int 

2819 i64: int 

2820 f32: float 

2821 f64: float 

2822 v128: wasmtime_v128 # type: ignore 

2823 anyref: int 

2824 externref: int 

2825 exnref: int 

2826 funcref: ctypes._Pointer 

2827 

2828wasmtime_val_raw_t = wasmtime_val_raw 

2829 

2830class wasmtime_val(ctypes.Structure): 

2831 _fields_ = [ 

2832 ("kind", wasmtime_valkind_t), 

2833 ("of", wasmtime_valunion_t), 

2834 ] 

2835 kind: wasmtime_valkind_t 

2836 of: wasmtime_valunion_t 

2837 

2838wasmtime_val_t = wasmtime_val 

2839 

2840_wasmtime_val_unroot = dll.wasmtime_val_unroot 

2841_wasmtime_val_unroot.restype = None 

2842_wasmtime_val_unroot.argtypes = [ctypes.POINTER(wasmtime_val_t)] 

2843def wasmtime_val_unroot(val: Any) -> None: 

2844 return _wasmtime_val_unroot(val) # type: ignore 

2845 

2846_wasmtime_val_clone = dll.wasmtime_val_clone 

2847_wasmtime_val_clone.restype = None 

2848_wasmtime_val_clone.argtypes = [ctypes.POINTER(wasmtime_val_t), ctypes.POINTER(wasmtime_val_t)] 

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

2850 return _wasmtime_val_clone(src, dst) # type: ignore 

2851 

2852_wasmtime_anyref_clone = dll.wasmtime_anyref_clone 

2853_wasmtime_anyref_clone.restype = None 

2854_wasmtime_anyref_clone.argtypes = [ctypes.POINTER(wasmtime_anyref_t), ctypes.POINTER(wasmtime_anyref_t)] 

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

2856 return _wasmtime_anyref_clone(anyref, out) # type: ignore 

2857 

2858_wasmtime_anyref_unroot = dll.wasmtime_anyref_unroot 

2859_wasmtime_anyref_unroot.restype = None 

2860_wasmtime_anyref_unroot.argtypes = [ctypes.POINTER(wasmtime_anyref_t)] 

2861def wasmtime_anyref_unroot(ref: Any) -> None: 

2862 return _wasmtime_anyref_unroot(ref) # type: ignore 

2863 

2864_wasmtime_anyref_from_raw = dll.wasmtime_anyref_from_raw 

2865_wasmtime_anyref_from_raw.restype = None 

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

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

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

2869 

2870_wasmtime_anyref_to_raw = dll.wasmtime_anyref_to_raw 

2871_wasmtime_anyref_to_raw.restype = ctypes.c_uint32 

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

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

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

2875 

2876_wasmtime_anyref_from_i31 = dll.wasmtime_anyref_from_i31 

2877_wasmtime_anyref_from_i31.restype = None 

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

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

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

2881 

2882_wasmtime_anyref_is_i31 = dll.wasmtime_anyref_is_i31 

2883_wasmtime_anyref_is_i31.restype = ctypes.c_bool 

2884_wasmtime_anyref_is_i31.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t)] 

2885def wasmtime_anyref_is_i31(context: Any, anyref: Any) -> bool: 

2886 return _wasmtime_anyref_is_i31(context, anyref) # type: ignore 

2887 

2888_wasmtime_anyref_i31_get_u = dll.wasmtime_anyref_i31_get_u 

2889_wasmtime_anyref_i31_get_u.restype = ctypes.c_bool 

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

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

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

2893 

2894_wasmtime_anyref_i31_get_s = dll.wasmtime_anyref_i31_get_s 

2895_wasmtime_anyref_i31_get_s.restype = ctypes.c_bool 

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

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

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

2899 

2900_wasmtime_anyref_is_eqref = dll.wasmtime_anyref_is_eqref 

2901_wasmtime_anyref_is_eqref.restype = ctypes.c_bool 

2902_wasmtime_anyref_is_eqref.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t)] 

2903def wasmtime_anyref_is_eqref(context: Any, anyref: Any) -> bool: 

2904 return _wasmtime_anyref_is_eqref(context, anyref) # type: ignore 

2905 

2906_wasmtime_anyref_as_eqref = dll.wasmtime_anyref_as_eqref 

2907_wasmtime_anyref_as_eqref.restype = ctypes.c_bool 

2908_wasmtime_anyref_as_eqref.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t), ctypes.POINTER(wasmtime_eqref_t)] 

2909def wasmtime_anyref_as_eqref(context: Any, anyref: Any, out: Any) -> bool: 

2910 return _wasmtime_anyref_as_eqref(context, anyref, out) # type: ignore 

2911 

2912_wasmtime_anyref_is_struct = dll.wasmtime_anyref_is_struct 

2913_wasmtime_anyref_is_struct.restype = ctypes.c_bool 

2914_wasmtime_anyref_is_struct.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t)] 

2915def wasmtime_anyref_is_struct(context: Any, anyref: Any) -> bool: 

2916 return _wasmtime_anyref_is_struct(context, anyref) # type: ignore 

2917 

2918_wasmtime_anyref_as_struct = dll.wasmtime_anyref_as_struct 

2919_wasmtime_anyref_as_struct.restype = ctypes.c_bool 

2920_wasmtime_anyref_as_struct.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t), ctypes.POINTER(wasmtime_structref_t)] 

2921def wasmtime_anyref_as_struct(context: Any, anyref: Any, out: Any) -> bool: 

2922 return _wasmtime_anyref_as_struct(context, anyref, out) # type: ignore 

2923 

2924_wasmtime_anyref_is_array = dll.wasmtime_anyref_is_array 

2925_wasmtime_anyref_is_array.restype = ctypes.c_bool 

2926_wasmtime_anyref_is_array.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t)] 

2927def wasmtime_anyref_is_array(context: Any, anyref: Any) -> bool: 

2928 return _wasmtime_anyref_is_array(context, anyref) # type: ignore 

2929 

2930_wasmtime_anyref_as_array = dll.wasmtime_anyref_as_array 

2931_wasmtime_anyref_as_array.restype = ctypes.c_bool 

2932_wasmtime_anyref_as_array.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t), ctypes.POINTER(wasmtime_arrayref_t)] 

2933def wasmtime_anyref_as_array(context: Any, anyref: Any, out: Any) -> bool: 

2934 return _wasmtime_anyref_as_array(context, anyref, out) # type: ignore 

2935 

2936_wasmtime_anyref_type = dll.wasmtime_anyref_type 

2937_wasmtime_anyref_type.restype = ctypes.c_bool 

2938_wasmtime_anyref_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t), ctypes.POINTER(wasmtime_heaptype_t)] 

2939def wasmtime_anyref_type(context: Any, anyref: Any, out: Any) -> bool: 

2940 return _wasmtime_anyref_type(context, anyref, out) # type: ignore 

2941 

2942class wasmtime_array_ref_pre(ctypes.Structure): 

2943 pass 

2944 

2945wasmtime_array_ref_pre_t = wasmtime_array_ref_pre 

2946 

2947_wasmtime_array_ref_pre_new = dll.wasmtime_array_ref_pre_new 

2948_wasmtime_array_ref_pre_new.restype = ctypes.POINTER(wasmtime_array_ref_pre_t) 

2949_wasmtime_array_ref_pre_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_array_type_t)] 

2950def wasmtime_array_ref_pre_new(context: Any, ty: Any) -> ctypes._Pointer: 

2951 return _wasmtime_array_ref_pre_new(context, ty) # type: ignore 

2952 

2953_wasmtime_array_ref_pre_delete = dll.wasmtime_array_ref_pre_delete 

2954_wasmtime_array_ref_pre_delete.restype = None 

2955_wasmtime_array_ref_pre_delete.argtypes = [ctypes.POINTER(wasmtime_array_ref_pre_t)] 

2956def wasmtime_array_ref_pre_delete(pre: Any) -> None: 

2957 return _wasmtime_array_ref_pre_delete(pre) # type: ignore 

2958 

2959_wasmtime_arrayref_new = dll.wasmtime_arrayref_new 

2960_wasmtime_arrayref_new.restype = ctypes.POINTER(wasmtime_error_t) 

2961_wasmtime_arrayref_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_array_ref_pre_t), ctypes.POINTER(wasmtime_val_t), ctypes.c_uint32, ctypes.POINTER(wasmtime_arrayref_t)] 

2962def wasmtime_arrayref_new(context: Any, pre: Any, elem: Any, len: Any, out: Any) -> ctypes._Pointer: 

2963 return _wasmtime_arrayref_new(context, pre, elem, len, out) # type: ignore 

2964 

2965_wasmtime_arrayref_clone = dll.wasmtime_arrayref_clone 

2966_wasmtime_arrayref_clone.restype = None 

2967_wasmtime_arrayref_clone.argtypes = [ctypes.POINTER(wasmtime_arrayref_t), ctypes.POINTER(wasmtime_arrayref_t)] 

2968def wasmtime_arrayref_clone(arrayref: Any, out: Any) -> None: 

2969 return _wasmtime_arrayref_clone(arrayref, out) # type: ignore 

2970 

2971_wasmtime_arrayref_unroot = dll.wasmtime_arrayref_unroot 

2972_wasmtime_arrayref_unroot.restype = None 

2973_wasmtime_arrayref_unroot.argtypes = [ctypes.POINTER(wasmtime_arrayref_t)] 

2974def wasmtime_arrayref_unroot(ref: Any) -> None: 

2975 return _wasmtime_arrayref_unroot(ref) # type: ignore 

2976 

2977_wasmtime_arrayref_to_anyref = dll.wasmtime_arrayref_to_anyref 

2978_wasmtime_arrayref_to_anyref.restype = None 

2979_wasmtime_arrayref_to_anyref.argtypes = [ctypes.POINTER(wasmtime_arrayref_t), ctypes.POINTER(wasmtime_anyref_t)] 

2980def wasmtime_arrayref_to_anyref(arrayref: Any, out: Any) -> None: 

2981 return _wasmtime_arrayref_to_anyref(arrayref, out) # type: ignore 

2982 

2983_wasmtime_arrayref_to_eqref = dll.wasmtime_arrayref_to_eqref 

2984_wasmtime_arrayref_to_eqref.restype = None 

2985_wasmtime_arrayref_to_eqref.argtypes = [ctypes.POINTER(wasmtime_arrayref_t), ctypes.POINTER(wasmtime_eqref_t)] 

2986def wasmtime_arrayref_to_eqref(arrayref: Any, out: Any) -> None: 

2987 return _wasmtime_arrayref_to_eqref(arrayref, out) # type: ignore 

2988 

2989_wasmtime_arrayref_len = dll.wasmtime_arrayref_len 

2990_wasmtime_arrayref_len.restype = ctypes.POINTER(wasmtime_error_t) 

2991_wasmtime_arrayref_len.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_arrayref_t), ctypes.POINTER(ctypes.c_uint32)] 

2992def wasmtime_arrayref_len(context: Any, arrayref: Any, out: Any) -> ctypes._Pointer: 

2993 return _wasmtime_arrayref_len(context, arrayref, out) # type: ignore 

2994 

2995_wasmtime_arrayref_get = dll.wasmtime_arrayref_get 

2996_wasmtime_arrayref_get.restype = ctypes.POINTER(wasmtime_error_t) 

2997_wasmtime_arrayref_get.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_arrayref_t), ctypes.c_uint32, ctypes.POINTER(wasmtime_val_t)] 

2998def wasmtime_arrayref_get(context: Any, arrayref: Any, index: Any, out: Any) -> ctypes._Pointer: 

2999 return _wasmtime_arrayref_get(context, arrayref, index, out) # type: ignore 

3000 

3001_wasmtime_arrayref_set = dll.wasmtime_arrayref_set 

3002_wasmtime_arrayref_set.restype = ctypes.POINTER(wasmtime_error_t) 

3003_wasmtime_arrayref_set.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_arrayref_t), ctypes.c_uint32, ctypes.POINTER(wasmtime_val_t)] 

3004def wasmtime_arrayref_set(context: Any, arrayref: Any, index: Any, val: Any) -> ctypes._Pointer: 

3005 return _wasmtime_arrayref_set(context, arrayref, index, val) # type: ignore 

3006 

3007_wasmtime_arrayref_type = dll.wasmtime_arrayref_type 

3008_wasmtime_arrayref_type.restype = ctypes.POINTER(wasmtime_array_type_t) 

3009_wasmtime_arrayref_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_arrayref_t)] 

3010def wasmtime_arrayref_type(context: Any, arrayref: Any) -> ctypes._Pointer: 

3011 return _wasmtime_arrayref_type(context, arrayref) # type: ignore 

3012 

3013wasmtime_strategy_t = ctypes.c_uint8 

3014 

3015class wasmtime_strategy_enum(Enum): 

3016 WASMTIME_STRATEGY_AUTO = auto() 

3017 WASMTIME_STRATEGY_CRANELIFT = auto() 

3018 WASMTIME_STRATEGY_WINCH = auto() 

3019 

3020wasmtime_opt_level_t = ctypes.c_uint8 

3021 

3022class wasmtime_opt_level_enum(Enum): 

3023 WASMTIME_OPT_LEVEL_NONE = auto() 

3024 WASMTIME_OPT_LEVEL_SPEED = auto() 

3025 WASMTIME_OPT_LEVEL_SPEED_AND_SIZE = auto() 

3026 

3027wasmtime_profiling_strategy_t = ctypes.c_uint8 

3028 

3029class wasmtime_profiling_strategy_enum(Enum): 

3030 WASMTIME_PROFILING_STRATEGY_NONE = auto() 

3031 WASMTIME_PROFILING_STRATEGY_JITDUMP = auto() 

3032 WASMTIME_PROFILING_STRATEGY_VTUNE = auto() 

3033 WASMTIME_PROFILING_STRATEGY_PERFMAP = auto() 

3034 

3035wasmtime_regalloc_algorithm_t = ctypes.c_uint8 

3036 

3037class wasmtime_regalloc_algorithm_enum(Enum): 

3038 WASMTIME_REGALLOC_BACKTRACKING = auto() 

3039 WASMTIME_REGALLOC_SINGLE_PASS = auto() 

3040 

3041_wasmtime_config_debug_info_set = dll.wasmtime_config_debug_info_set 

3042_wasmtime_config_debug_info_set.restype = None 

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

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

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

3046 

3047_wasmtime_config_consume_fuel_set = dll.wasmtime_config_consume_fuel_set 

3048_wasmtime_config_consume_fuel_set.restype = None 

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

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

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

3052 

3053_wasmtime_config_epoch_interruption_set = dll.wasmtime_config_epoch_interruption_set 

3054_wasmtime_config_epoch_interruption_set.restype = None 

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

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

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

3058 

3059_wasmtime_config_max_wasm_stack_set = dll.wasmtime_config_max_wasm_stack_set 

3060_wasmtime_config_max_wasm_stack_set.restype = None 

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

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

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

3064 

3065_wasmtime_config_wasm_threads_set = dll.wasmtime_config_wasm_threads_set 

3066_wasmtime_config_wasm_threads_set.restype = None 

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

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

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

3070 

3071_wasmtime_config_shared_memory_set = dll.wasmtime_config_shared_memory_set 

3072_wasmtime_config_shared_memory_set.restype = None 

3073_wasmtime_config_shared_memory_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3074def wasmtime_config_shared_memory_set(arg0: Any, arg1: Any) -> None: 

3075 return _wasmtime_config_shared_memory_set(arg0, arg1) # type: ignore 

3076 

3077_wasmtime_config_wasm_tail_call_set = dll.wasmtime_config_wasm_tail_call_set 

3078_wasmtime_config_wasm_tail_call_set.restype = None 

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

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

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

3082 

3083_wasmtime_config_wasm_reference_types_set = dll.wasmtime_config_wasm_reference_types_set 

3084_wasmtime_config_wasm_reference_types_set.restype = None 

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

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

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

3088 

3089_wasmtime_config_wasm_function_references_set = dll.wasmtime_config_wasm_function_references_set 

3090_wasmtime_config_wasm_function_references_set.restype = None 

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

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

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

3094 

3095_wasmtime_config_wasm_gc_set = dll.wasmtime_config_wasm_gc_set 

3096_wasmtime_config_wasm_gc_set.restype = None 

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

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

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

3100 

3101_wasmtime_config_gc_support_set = dll.wasmtime_config_gc_support_set 

3102_wasmtime_config_gc_support_set.restype = None 

3103_wasmtime_config_gc_support_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3104def wasmtime_config_gc_support_set(arg0: Any, arg1: Any) -> None: 

3105 return _wasmtime_config_gc_support_set(arg0, arg1) # type: ignore 

3106 

3107_wasmtime_config_wasm_simd_set = dll.wasmtime_config_wasm_simd_set 

3108_wasmtime_config_wasm_simd_set.restype = None 

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

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

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

3112 

3113_wasmtime_config_wasm_relaxed_simd_set = dll.wasmtime_config_wasm_relaxed_simd_set 

3114_wasmtime_config_wasm_relaxed_simd_set.restype = None 

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

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

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

3118 

3119_wasmtime_config_wasm_relaxed_simd_deterministic_set = dll.wasmtime_config_wasm_relaxed_simd_deterministic_set 

3120_wasmtime_config_wasm_relaxed_simd_deterministic_set.restype = None 

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

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

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

3124 

3125_wasmtime_config_wasm_bulk_memory_set = dll.wasmtime_config_wasm_bulk_memory_set 

3126_wasmtime_config_wasm_bulk_memory_set.restype = None 

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

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

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

3130 

3131_wasmtime_config_wasm_multi_value_set = dll.wasmtime_config_wasm_multi_value_set 

3132_wasmtime_config_wasm_multi_value_set.restype = None 

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

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

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

3136 

3137_wasmtime_config_wasm_multi_memory_set = dll.wasmtime_config_wasm_multi_memory_set 

3138_wasmtime_config_wasm_multi_memory_set.restype = None 

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

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

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

3142 

3143_wasmtime_config_wasm_memory64_set = dll.wasmtime_config_wasm_memory64_set 

3144_wasmtime_config_wasm_memory64_set.restype = None 

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

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

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

3148 

3149_wasmtime_config_wasm_wide_arithmetic_set = dll.wasmtime_config_wasm_wide_arithmetic_set 

3150_wasmtime_config_wasm_wide_arithmetic_set.restype = None 

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

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

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

3154 

3155_wasmtime_config_wasm_branch_hinting_set = dll.wasmtime_config_wasm_branch_hinting_set 

3156_wasmtime_config_wasm_branch_hinting_set.restype = None 

3157_wasmtime_config_wasm_branch_hinting_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3158def wasmtime_config_wasm_branch_hinting_set(arg0: Any, arg1: Any) -> None: 

3159 return _wasmtime_config_wasm_branch_hinting_set(arg0, arg1) # type: ignore 

3160 

3161_wasmtime_config_wasm_exceptions_set = dll.wasmtime_config_wasm_exceptions_set 

3162_wasmtime_config_wasm_exceptions_set.restype = None 

3163_wasmtime_config_wasm_exceptions_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3164def wasmtime_config_wasm_exceptions_set(arg0: Any, arg1: Any) -> None: 

3165 return _wasmtime_config_wasm_exceptions_set(arg0, arg1) # type: ignore 

3166 

3167_wasmtime_config_wasm_custom_page_sizes_set = dll.wasmtime_config_wasm_custom_page_sizes_set 

3168_wasmtime_config_wasm_custom_page_sizes_set.restype = None 

3169_wasmtime_config_wasm_custom_page_sizes_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3170def wasmtime_config_wasm_custom_page_sizes_set(arg0: Any, arg1: Any) -> None: 

3171 return _wasmtime_config_wasm_custom_page_sizes_set(arg0, arg1) # type: ignore 

3172 

3173_wasmtime_config_wasm_stack_switching_set = dll.wasmtime_config_wasm_stack_switching_set 

3174_wasmtime_config_wasm_stack_switching_set.restype = None 

3175_wasmtime_config_wasm_stack_switching_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3176def wasmtime_config_wasm_stack_switching_set(arg0: Any, arg1: Any) -> None: 

3177 return _wasmtime_config_wasm_stack_switching_set(arg0, arg1) # type: ignore 

3178 

3179_wasmtime_config_strategy_set = dll.wasmtime_config_strategy_set 

3180_wasmtime_config_strategy_set.restype = None 

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

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

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

3184 

3185_wasmtime_config_parallel_compilation_set = dll.wasmtime_config_parallel_compilation_set 

3186_wasmtime_config_parallel_compilation_set.restype = None 

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

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

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

3190 

3191_wasmtime_config_cranelift_debug_verifier_set = dll.wasmtime_config_cranelift_debug_verifier_set 

3192_wasmtime_config_cranelift_debug_verifier_set.restype = None 

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

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

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

3196 

3197_wasmtime_config_cranelift_nan_canonicalization_set = dll.wasmtime_config_cranelift_nan_canonicalization_set 

3198_wasmtime_config_cranelift_nan_canonicalization_set.restype = None 

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

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

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

3202 

3203_wasmtime_config_cranelift_opt_level_set = dll.wasmtime_config_cranelift_opt_level_set 

3204_wasmtime_config_cranelift_opt_level_set.restype = None 

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

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

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

3208 

3209_wasmtime_config_cranelift_regalloc_algorithm_set = dll.wasmtime_config_cranelift_regalloc_algorithm_set 

3210_wasmtime_config_cranelift_regalloc_algorithm_set.restype = None 

3211_wasmtime_config_cranelift_regalloc_algorithm_set.argtypes = [ctypes.POINTER(wasm_config_t), wasmtime_regalloc_algorithm_t] 

3212def wasmtime_config_cranelift_regalloc_algorithm_set(arg0: Any, arg1: Any) -> None: 

3213 return _wasmtime_config_cranelift_regalloc_algorithm_set(arg0, arg1) # type: ignore 

3214 

3215_wasmtime_config_profiler_set = dll.wasmtime_config_profiler_set 

3216_wasmtime_config_profiler_set.restype = None 

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

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

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

3220 

3221_wasmtime_config_memory_may_move_set = dll.wasmtime_config_memory_may_move_set 

3222_wasmtime_config_memory_may_move_set.restype = None 

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

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

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

3226 

3227_wasmtime_config_memory_reservation_set = dll.wasmtime_config_memory_reservation_set 

3228_wasmtime_config_memory_reservation_set.restype = None 

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

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

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

3232 

3233_wasmtime_config_memory_guard_size_set = dll.wasmtime_config_memory_guard_size_set 

3234_wasmtime_config_memory_guard_size_set.restype = None 

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

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

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

3238 

3239_wasmtime_config_memory_reservation_for_growth_set = dll.wasmtime_config_memory_reservation_for_growth_set 

3240_wasmtime_config_memory_reservation_for_growth_set.restype = None 

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

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

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

3244 

3245_wasmtime_config_native_unwind_info_set = dll.wasmtime_config_native_unwind_info_set 

3246_wasmtime_config_native_unwind_info_set.restype = None 

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

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

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

3250 

3251_wasmtime_config_cache_config_load = dll.wasmtime_config_cache_config_load 

3252_wasmtime_config_cache_config_load.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3256 

3257_wasmtime_config_target_set = dll.wasmtime_config_target_set 

3258_wasmtime_config_target_set.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3262 

3263_wasmtime_config_cranelift_flag_enable = dll.wasmtime_config_cranelift_flag_enable 

3264_wasmtime_config_cranelift_flag_enable.restype = None 

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

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

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

3268 

3269_wasmtime_config_cranelift_flag_set = dll.wasmtime_config_cranelift_flag_set 

3270_wasmtime_config_cranelift_flag_set.restype = None 

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

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

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

3274 

3275_wasmtime_config_macos_use_mach_ports_set = dll.wasmtime_config_macos_use_mach_ports_set 

3276_wasmtime_config_macos_use_mach_ports_set.restype = None 

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

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

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

3280 

3281_wasmtime_config_signals_based_traps_set = dll.wasmtime_config_signals_based_traps_set 

3282_wasmtime_config_signals_based_traps_set.restype = None 

3283_wasmtime_config_signals_based_traps_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3284def wasmtime_config_signals_based_traps_set(arg0: Any, arg1: Any) -> None: 

3285 return _wasmtime_config_signals_based_traps_set(arg0, arg1) # type: ignore 

3286 

3287wasmtime_memory_get_callback_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.POINTER(ctypes.c_size_t), ctypes.POINTER(ctypes.c_size_t)) 

3288 

3289wasmtime_memory_grow_callback_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.c_size_t) 

3290 

3291class wasmtime_linear_memory(ctypes.Structure): 

3292 _fields_ = [ 

3293 ("env", ctypes.c_void_p), 

3294 ("get_memory", wasmtime_memory_get_callback_t), 

3295 ("grow_memory", wasmtime_memory_grow_callback_t), 

3296 ("finalizer", ctypes.CFUNCTYPE(None, ctypes.c_void_p)), 

3297 ] 

3298 env: ctypes._Pointer 

3299 get_memory: ctypes._Pointer 

3300 grow_memory: ctypes._Pointer 

3301 finalizer: ctypes._Pointer 

3302 

3303wasmtime_linear_memory_t = wasmtime_linear_memory 

3304 

3305wasmtime_new_memory_callback_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.POINTER(wasm_memorytype_t), ctypes.c_size_t, ctypes.c_size_t, ctypes.c_size_t, ctypes.c_size_t, ctypes.POINTER(wasmtime_linear_memory_t)) 

3306 

3307class wasmtime_memory_creator(ctypes.Structure): 

3308 _fields_ = [ 

3309 ("env", ctypes.c_void_p), 

3310 ("new_memory", wasmtime_new_memory_callback_t), 

3311 ("finalizer", ctypes.CFUNCTYPE(None, ctypes.c_void_p)), 

3312 ] 

3313 env: ctypes._Pointer 

3314 new_memory: ctypes._Pointer 

3315 finalizer: ctypes._Pointer 

3316 

3317wasmtime_memory_creator_t = wasmtime_memory_creator 

3318 

3319_wasmtime_config_host_memory_creator_set = dll.wasmtime_config_host_memory_creator_set 

3320_wasmtime_config_host_memory_creator_set.restype = None 

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

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

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

3324 

3325_wasmtime_config_memory_init_cow_set = dll.wasmtime_config_memory_init_cow_set 

3326_wasmtime_config_memory_init_cow_set.restype = None 

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

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

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

3330 

3331class wasmtime_pooling_allocation_config_t(ctypes.Structure): 

3332 pass 

3333 

3334_wasmtime_pooling_allocation_config_new = dll.wasmtime_pooling_allocation_config_new 

3335_wasmtime_pooling_allocation_config_new.restype = ctypes.POINTER(wasmtime_pooling_allocation_config_t) 

3336_wasmtime_pooling_allocation_config_new.argtypes = [] 

3337def wasmtime_pooling_allocation_config_new() -> ctypes._Pointer: 

3338 return _wasmtime_pooling_allocation_config_new() # type: ignore 

3339 

3340_wasmtime_pooling_allocation_config_delete = dll.wasmtime_pooling_allocation_config_delete 

3341_wasmtime_pooling_allocation_config_delete.restype = None 

3342_wasmtime_pooling_allocation_config_delete.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t)] 

3343def wasmtime_pooling_allocation_config_delete(arg0: Any) -> None: 

3344 return _wasmtime_pooling_allocation_config_delete(arg0) # type: ignore 

3345 

3346_wasmtime_pooling_allocation_config_max_unused_warm_slots_set = dll.wasmtime_pooling_allocation_config_max_unused_warm_slots_set 

3347_wasmtime_pooling_allocation_config_max_unused_warm_slots_set.restype = None 

3348_wasmtime_pooling_allocation_config_max_unused_warm_slots_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3349def wasmtime_pooling_allocation_config_max_unused_warm_slots_set(arg0: Any, arg1: Any) -> None: 

3350 return _wasmtime_pooling_allocation_config_max_unused_warm_slots_set(arg0, arg1) # type: ignore 

3351 

3352_wasmtime_pooling_allocation_config_decommit_batch_size_set = dll.wasmtime_pooling_allocation_config_decommit_batch_size_set 

3353_wasmtime_pooling_allocation_config_decommit_batch_size_set.restype = None 

3354_wasmtime_pooling_allocation_config_decommit_batch_size_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3355def wasmtime_pooling_allocation_config_decommit_batch_size_set(arg0: Any, arg1: Any) -> None: 

3356 return _wasmtime_pooling_allocation_config_decommit_batch_size_set(arg0, arg1) # type: ignore 

3357 

3358_wasmtime_pooling_allocation_config_async_stack_keep_resident_set = dll.wasmtime_pooling_allocation_config_async_stack_keep_resident_set 

3359_wasmtime_pooling_allocation_config_async_stack_keep_resident_set.restype = None 

3360_wasmtime_pooling_allocation_config_async_stack_keep_resident_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3361def wasmtime_pooling_allocation_config_async_stack_keep_resident_set(arg0: Any, arg1: Any) -> None: 

3362 return _wasmtime_pooling_allocation_config_async_stack_keep_resident_set(arg0, arg1) # type: ignore 

3363 

3364_wasmtime_pooling_allocation_config_linear_memory_keep_resident_set = dll.wasmtime_pooling_allocation_config_linear_memory_keep_resident_set 

3365_wasmtime_pooling_allocation_config_linear_memory_keep_resident_set.restype = None 

3366_wasmtime_pooling_allocation_config_linear_memory_keep_resident_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3367def wasmtime_pooling_allocation_config_linear_memory_keep_resident_set(arg0: Any, arg1: Any) -> None: 

3368 return _wasmtime_pooling_allocation_config_linear_memory_keep_resident_set(arg0, arg1) # type: ignore 

3369 

3370_wasmtime_pooling_allocation_config_table_keep_resident_set = dll.wasmtime_pooling_allocation_config_table_keep_resident_set 

3371_wasmtime_pooling_allocation_config_table_keep_resident_set.restype = None 

3372_wasmtime_pooling_allocation_config_table_keep_resident_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3373def wasmtime_pooling_allocation_config_table_keep_resident_set(arg0: Any, arg1: Any) -> None: 

3374 return _wasmtime_pooling_allocation_config_table_keep_resident_set(arg0, arg1) # type: ignore 

3375 

3376_wasmtime_pooling_allocation_config_total_component_instances_set = dll.wasmtime_pooling_allocation_config_total_component_instances_set 

3377_wasmtime_pooling_allocation_config_total_component_instances_set.restype = None 

3378_wasmtime_pooling_allocation_config_total_component_instances_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3379def wasmtime_pooling_allocation_config_total_component_instances_set(arg0: Any, arg1: Any) -> None: 

3380 return _wasmtime_pooling_allocation_config_total_component_instances_set(arg0, arg1) # type: ignore 

3381 

3382_wasmtime_pooling_allocation_config_max_component_instance_size_set = dll.wasmtime_pooling_allocation_config_max_component_instance_size_set 

3383_wasmtime_pooling_allocation_config_max_component_instance_size_set.restype = None 

3384_wasmtime_pooling_allocation_config_max_component_instance_size_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3385def wasmtime_pooling_allocation_config_max_component_instance_size_set(arg0: Any, arg1: Any) -> None: 

3386 return _wasmtime_pooling_allocation_config_max_component_instance_size_set(arg0, arg1) # type: ignore 

3387 

3388_wasmtime_pooling_allocation_config_max_core_instances_per_component_set = dll.wasmtime_pooling_allocation_config_max_core_instances_per_component_set 

3389_wasmtime_pooling_allocation_config_max_core_instances_per_component_set.restype = None 

3390_wasmtime_pooling_allocation_config_max_core_instances_per_component_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3391def wasmtime_pooling_allocation_config_max_core_instances_per_component_set(arg0: Any, arg1: Any) -> None: 

3392 return _wasmtime_pooling_allocation_config_max_core_instances_per_component_set(arg0, arg1) # type: ignore 

3393 

3394_wasmtime_pooling_allocation_config_max_memories_per_component_set = dll.wasmtime_pooling_allocation_config_max_memories_per_component_set 

3395_wasmtime_pooling_allocation_config_max_memories_per_component_set.restype = None 

3396_wasmtime_pooling_allocation_config_max_memories_per_component_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3397def wasmtime_pooling_allocation_config_max_memories_per_component_set(arg0: Any, arg1: Any) -> None: 

3398 return _wasmtime_pooling_allocation_config_max_memories_per_component_set(arg0, arg1) # type: ignore 

3399 

3400_wasmtime_pooling_allocation_config_max_tables_per_component_set = dll.wasmtime_pooling_allocation_config_max_tables_per_component_set 

3401_wasmtime_pooling_allocation_config_max_tables_per_component_set.restype = None 

3402_wasmtime_pooling_allocation_config_max_tables_per_component_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3403def wasmtime_pooling_allocation_config_max_tables_per_component_set(arg0: Any, arg1: Any) -> None: 

3404 return _wasmtime_pooling_allocation_config_max_tables_per_component_set(arg0, arg1) # type: ignore 

3405 

3406_wasmtime_pooling_allocation_config_total_memories_set = dll.wasmtime_pooling_allocation_config_total_memories_set 

3407_wasmtime_pooling_allocation_config_total_memories_set.restype = None 

3408_wasmtime_pooling_allocation_config_total_memories_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3409def wasmtime_pooling_allocation_config_total_memories_set(arg0: Any, arg1: Any) -> None: 

3410 return _wasmtime_pooling_allocation_config_total_memories_set(arg0, arg1) # type: ignore 

3411 

3412_wasmtime_pooling_allocation_config_total_tables_set = dll.wasmtime_pooling_allocation_config_total_tables_set 

3413_wasmtime_pooling_allocation_config_total_tables_set.restype = None 

3414_wasmtime_pooling_allocation_config_total_tables_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3415def wasmtime_pooling_allocation_config_total_tables_set(arg0: Any, arg1: Any) -> None: 

3416 return _wasmtime_pooling_allocation_config_total_tables_set(arg0, arg1) # type: ignore 

3417 

3418_wasmtime_pooling_allocation_config_total_stacks_set = dll.wasmtime_pooling_allocation_config_total_stacks_set 

3419_wasmtime_pooling_allocation_config_total_stacks_set.restype = None 

3420_wasmtime_pooling_allocation_config_total_stacks_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3421def wasmtime_pooling_allocation_config_total_stacks_set(arg0: Any, arg1: Any) -> None: 

3422 return _wasmtime_pooling_allocation_config_total_stacks_set(arg0, arg1) # type: ignore 

3423 

3424_wasmtime_pooling_allocation_config_total_core_instances_set = dll.wasmtime_pooling_allocation_config_total_core_instances_set 

3425_wasmtime_pooling_allocation_config_total_core_instances_set.restype = None 

3426_wasmtime_pooling_allocation_config_total_core_instances_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3427def wasmtime_pooling_allocation_config_total_core_instances_set(arg0: Any, arg1: Any) -> None: 

3428 return _wasmtime_pooling_allocation_config_total_core_instances_set(arg0, arg1) # type: ignore 

3429 

3430_wasmtime_pooling_allocation_config_max_core_instance_size_set = dll.wasmtime_pooling_allocation_config_max_core_instance_size_set 

3431_wasmtime_pooling_allocation_config_max_core_instance_size_set.restype = None 

3432_wasmtime_pooling_allocation_config_max_core_instance_size_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3433def wasmtime_pooling_allocation_config_max_core_instance_size_set(arg0: Any, arg1: Any) -> None: 

3434 return _wasmtime_pooling_allocation_config_max_core_instance_size_set(arg0, arg1) # type: ignore 

3435 

3436_wasmtime_pooling_allocation_config_max_tables_per_module_set = dll.wasmtime_pooling_allocation_config_max_tables_per_module_set 

3437_wasmtime_pooling_allocation_config_max_tables_per_module_set.restype = None 

3438_wasmtime_pooling_allocation_config_max_tables_per_module_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3439def wasmtime_pooling_allocation_config_max_tables_per_module_set(arg0: Any, arg1: Any) -> None: 

3440 return _wasmtime_pooling_allocation_config_max_tables_per_module_set(arg0, arg1) # type: ignore 

3441 

3442_wasmtime_pooling_allocation_config_table_elements_set = dll.wasmtime_pooling_allocation_config_table_elements_set 

3443_wasmtime_pooling_allocation_config_table_elements_set.restype = None 

3444_wasmtime_pooling_allocation_config_table_elements_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3445def wasmtime_pooling_allocation_config_table_elements_set(arg0: Any, arg1: Any) -> None: 

3446 return _wasmtime_pooling_allocation_config_table_elements_set(arg0, arg1) # type: ignore 

3447 

3448_wasmtime_pooling_allocation_config_max_memories_per_module_set = dll.wasmtime_pooling_allocation_config_max_memories_per_module_set 

3449_wasmtime_pooling_allocation_config_max_memories_per_module_set.restype = None 

3450_wasmtime_pooling_allocation_config_max_memories_per_module_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3451def wasmtime_pooling_allocation_config_max_memories_per_module_set(arg0: Any, arg1: Any) -> None: 

3452 return _wasmtime_pooling_allocation_config_max_memories_per_module_set(arg0, arg1) # type: ignore 

3453 

3454_wasmtime_pooling_allocation_config_max_memory_size_set = dll.wasmtime_pooling_allocation_config_max_memory_size_set 

3455_wasmtime_pooling_allocation_config_max_memory_size_set.restype = None 

3456_wasmtime_pooling_allocation_config_max_memory_size_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3457def wasmtime_pooling_allocation_config_max_memory_size_set(arg0: Any, arg1: Any) -> None: 

3458 return _wasmtime_pooling_allocation_config_max_memory_size_set(arg0, arg1) # type: ignore 

3459 

3460_wasmtime_pooling_allocation_config_total_gc_heaps_set = dll.wasmtime_pooling_allocation_config_total_gc_heaps_set 

3461_wasmtime_pooling_allocation_config_total_gc_heaps_set.restype = None 

3462_wasmtime_pooling_allocation_config_total_gc_heaps_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3463def wasmtime_pooling_allocation_config_total_gc_heaps_set(arg0: Any, arg1: Any) -> None: 

3464 return _wasmtime_pooling_allocation_config_total_gc_heaps_set(arg0, arg1) # type: ignore 

3465 

3466_wasmtime_pooling_allocation_strategy_set = dll.wasmtime_pooling_allocation_strategy_set 

3467_wasmtime_pooling_allocation_strategy_set.restype = None 

3468_wasmtime_pooling_allocation_strategy_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.POINTER(wasmtime_pooling_allocation_config_t)] 

3469def wasmtime_pooling_allocation_strategy_set(arg0: Any, arg1: Any) -> None: 

3470 return _wasmtime_pooling_allocation_strategy_set(arg0, arg1) # type: ignore 

3471 

3472_wasmtime_config_wasm_component_model_set = dll.wasmtime_config_wasm_component_model_set 

3473_wasmtime_config_wasm_component_model_set.restype = None 

3474_wasmtime_config_wasm_component_model_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3475def wasmtime_config_wasm_component_model_set(arg0: Any, arg1: Any) -> None: 

3476 return _wasmtime_config_wasm_component_model_set(arg0, arg1) # type: ignore 

3477 

3478_wasmtime_config_concurrency_support_set = dll.wasmtime_config_concurrency_support_set 

3479_wasmtime_config_concurrency_support_set.restype = None 

3480_wasmtime_config_concurrency_support_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3481def wasmtime_config_concurrency_support_set(arg0: Any, arg1: Any) -> None: 

3482 return _wasmtime_config_concurrency_support_set(arg0, arg1) # type: ignore 

3483 

3484_wasmtime_config_wasm_component_model_map_set = dll.wasmtime_config_wasm_component_model_map_set 

3485_wasmtime_config_wasm_component_model_map_set.restype = None 

3486_wasmtime_config_wasm_component_model_map_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3487def wasmtime_config_wasm_component_model_map_set(arg0: Any, arg1: Any) -> None: 

3488 return _wasmtime_config_wasm_component_model_map_set(arg0, arg1) # type: ignore 

3489 

3490_wasmtime_config_wasm_component_model_async_set = dll.wasmtime_config_wasm_component_model_async_set 

3491_wasmtime_config_wasm_component_model_async_set.restype = None 

3492_wasmtime_config_wasm_component_model_async_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3493def wasmtime_config_wasm_component_model_async_set(arg0: Any, arg1: Any) -> None: 

3494 return _wasmtime_config_wasm_component_model_async_set(arg0, arg1) # type: ignore 

3495 

3496_wasmtime_config_wasm_component_model_more_async_builtins_set = dll.wasmtime_config_wasm_component_model_more_async_builtins_set 

3497_wasmtime_config_wasm_component_model_more_async_builtins_set.restype = None 

3498_wasmtime_config_wasm_component_model_more_async_builtins_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3499def wasmtime_config_wasm_component_model_more_async_builtins_set(arg0: Any, arg1: Any) -> None: 

3500 return _wasmtime_config_wasm_component_model_more_async_builtins_set(arg0, arg1) # type: ignore 

3501 

3502_wasmtime_config_wasm_component_model_async_stackful_set = dll.wasmtime_config_wasm_component_model_async_stackful_set 

3503_wasmtime_config_wasm_component_model_async_stackful_set.restype = None 

3504_wasmtime_config_wasm_component_model_async_stackful_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3505def wasmtime_config_wasm_component_model_async_stackful_set(arg0: Any, arg1: Any) -> None: 

3506 return _wasmtime_config_wasm_component_model_async_stackful_set(arg0, arg1) # type: ignore 

3507 

3508class wasmtime_caller(ctypes.Structure): 

3509 pass 

3510 

3511wasmtime_caller_t = wasmtime_caller 

3512 

3513wasmtime_func_callback_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.POINTER(wasmtime_caller_t), ctypes.POINTER(wasmtime_val_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_val_t), ctypes.c_size_t) 

3514 

3515_wasmtime_func_new = dll.wasmtime_func_new 

3516_wasmtime_func_new.restype = None 

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

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

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

3520 

3521wasmtime_func_unchecked_callback_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.POINTER(wasmtime_caller_t), ctypes.POINTER(wasmtime_val_raw_t), ctypes.c_size_t) 

3522 

3523_wasmtime_func_new_unchecked = dll.wasmtime_func_new_unchecked 

3524_wasmtime_func_new_unchecked.restype = None 

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

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

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

3528 

3529_wasmtime_func_type = dll.wasmtime_func_type 

3530_wasmtime_func_type.restype = ctypes.POINTER(wasm_functype_t) 

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

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

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

3534 

3535_wasmtime_func_call = dll.wasmtime_func_call 

3536_wasmtime_func_call.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3540 

3541_wasmtime_func_call_unchecked = dll.wasmtime_func_call_unchecked 

3542_wasmtime_func_call_unchecked.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3546 

3547_wasmtime_caller_export_get = dll.wasmtime_caller_export_get 

3548_wasmtime_caller_export_get.restype = ctypes.c_bool 

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

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

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

3552 

3553_wasmtime_caller_context = dll.wasmtime_caller_context 

3554_wasmtime_caller_context.restype = ctypes.POINTER(wasmtime_context_t) 

3555_wasmtime_caller_context.argtypes = [ctypes.POINTER(wasmtime_caller_t)] 

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

3557 return _wasmtime_caller_context(caller) # type: ignore 

3558 

3559_wasmtime_func_from_raw = dll.wasmtime_func_from_raw 

3560_wasmtime_func_from_raw.restype = None 

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

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

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

3564 

3565_wasmtime_func_to_raw = dll.wasmtime_func_to_raw 

3566_wasmtime_func_to_raw.restype = ctypes.c_void_p 

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

3568def wasmtime_func_to_raw(context: Any, func: Any) -> ctypes._Pointer: 

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

3570 

3571class wasmtime_instance(ctypes.Structure): 

3572 _fields_ = [ 

3573 ("store_id", ctypes.c_uint64), 

3574 ("__private", ctypes.c_size_t), 

3575 ] 

3576 store_id: int 

3577 __private: int 

3578 

3579wasmtime_instance_t = wasmtime_instance 

3580 

3581_wasmtime_instance_new = dll.wasmtime_instance_new 

3582_wasmtime_instance_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3586 

3587_wasmtime_instance_export_get = dll.wasmtime_instance_export_get 

3588_wasmtime_instance_export_get.restype = ctypes.c_bool 

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

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

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

3592 

3593_wasmtime_instance_export_nth = dll.wasmtime_instance_export_nth 

3594_wasmtime_instance_export_nth.restype = ctypes.c_bool 

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

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

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

3598 

3599class wasmtime_instance_pre(ctypes.Structure): 

3600 pass 

3601 

3602wasmtime_instance_pre_t = wasmtime_instance_pre 

3603 

3604_wasmtime_instance_pre_delete = dll.wasmtime_instance_pre_delete 

3605_wasmtime_instance_pre_delete.restype = None 

3606_wasmtime_instance_pre_delete.argtypes = [ctypes.POINTER(wasmtime_instance_pre_t)] 

3607def wasmtime_instance_pre_delete(instance_pre: Any) -> None: 

3608 return _wasmtime_instance_pre_delete(instance_pre) # type: ignore 

3609 

3610_wasmtime_instance_pre_instantiate = dll.wasmtime_instance_pre_instantiate 

3611_wasmtime_instance_pre_instantiate.restype = ctypes.POINTER(wasmtime_error_t) 

3612_wasmtime_instance_pre_instantiate.argtypes = [ctypes.POINTER(wasmtime_instance_pre_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_instance_t), ctypes.POINTER(ctypes.POINTER(wasm_trap_t))] 

3613def wasmtime_instance_pre_instantiate(instance_pre: Any, store: Any, instance: Any, trap_ptr: Any) -> ctypes._Pointer: 

3614 return _wasmtime_instance_pre_instantiate(instance_pre, store, instance, trap_ptr) # type: ignore 

3615 

3616_wasmtime_instance_pre_module = dll.wasmtime_instance_pre_module 

3617_wasmtime_instance_pre_module.restype = ctypes.POINTER(wasmtime_module_t) 

3618_wasmtime_instance_pre_module.argtypes = [ctypes.POINTER(wasmtime_instance_pre_t)] 

3619def wasmtime_instance_pre_module(instance_pre: Any) -> ctypes._Pointer: 

3620 return _wasmtime_instance_pre_module(instance_pre) # type: ignore 

3621 

3622class wasmtime_linker(ctypes.Structure): 

3623 pass 

3624 

3625wasmtime_linker_t = wasmtime_linker 

3626 

3627_wasmtime_linker_new = dll.wasmtime_linker_new 

3628_wasmtime_linker_new.restype = ctypes.POINTER(wasmtime_linker_t) 

3629_wasmtime_linker_new.argtypes = [ctypes.POINTER(wasm_engine_t)] 

3630def wasmtime_linker_new(engine: Any) -> ctypes._Pointer: 

3631 return _wasmtime_linker_new(engine) # type: ignore 

3632 

3633_wasmtime_linker_clone = dll.wasmtime_linker_clone 

3634_wasmtime_linker_clone.restype = ctypes.POINTER(wasmtime_linker_t) 

3635_wasmtime_linker_clone.argtypes = [ctypes.POINTER(wasmtime_linker_t)] 

3636def wasmtime_linker_clone(linker: Any) -> ctypes._Pointer: 

3637 return _wasmtime_linker_clone(linker) # type: ignore 

3638 

3639_wasmtime_linker_delete = dll.wasmtime_linker_delete 

3640_wasmtime_linker_delete.restype = None 

3641_wasmtime_linker_delete.argtypes = [ctypes.POINTER(wasmtime_linker_t)] 

3642def wasmtime_linker_delete(linker: Any) -> None: 

3643 return _wasmtime_linker_delete(linker) # type: ignore 

3644 

3645_wasmtime_linker_allow_shadowing = dll.wasmtime_linker_allow_shadowing 

3646_wasmtime_linker_allow_shadowing.restype = None 

3647_wasmtime_linker_allow_shadowing.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.c_bool] 

3648def wasmtime_linker_allow_shadowing(linker: Any, allow_shadowing: Any) -> None: 

3649 return _wasmtime_linker_allow_shadowing(linker, allow_shadowing) # type: ignore 

3650 

3651_wasmtime_linker_define_unknown_imports_as_traps = dll.wasmtime_linker_define_unknown_imports_as_traps 

3652_wasmtime_linker_define_unknown_imports_as_traps.restype = ctypes.POINTER(wasmtime_error_t) 

3653_wasmtime_linker_define_unknown_imports_as_traps.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_module_t)] 

3654def wasmtime_linker_define_unknown_imports_as_traps(linker: Any, module: Any) -> ctypes._Pointer: 

3655 return _wasmtime_linker_define_unknown_imports_as_traps(linker, module) # type: ignore 

3656 

3657_wasmtime_linker_define_unknown_imports_as_default_values = dll.wasmtime_linker_define_unknown_imports_as_default_values 

3658_wasmtime_linker_define_unknown_imports_as_default_values.restype = ctypes.POINTER(wasmtime_error_t) 

3659_wasmtime_linker_define_unknown_imports_as_default_values.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_module_t)] 

3660def wasmtime_linker_define_unknown_imports_as_default_values(linker: Any, store: Any, module: Any) -> ctypes._Pointer: 

3661 return _wasmtime_linker_define_unknown_imports_as_default_values(linker, store, module) # type: ignore 

3662 

3663_wasmtime_linker_define = dll.wasmtime_linker_define 

3664_wasmtime_linker_define.restype = ctypes.POINTER(wasmtime_error_t) 

3665_wasmtime_linker_define.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasmtime_extern_t)] 

3666def wasmtime_linker_define(linker: Any, store: Any, module: Any, module_len: Any, name: Any, name_len: Any, item: Any) -> ctypes._Pointer: 

3667 return _wasmtime_linker_define(linker, store, module, module_len, name, name_len, item) # type: ignore 

3668 

3669_wasmtime_linker_define_func = dll.wasmtime_linker_define_func 

3670_wasmtime_linker_define_func.restype = ctypes.POINTER(wasmtime_error_t) 

3671_wasmtime_linker_define_func.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasm_functype_t), wasmtime_func_callback_t, ctypes.c_void_p, ctypes.CFUNCTYPE(None, ctypes.c_void_p)] 

3672def 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: 

3673 return _wasmtime_linker_define_func(linker, module, module_len, name, name_len, ty, cb, data, finalizer) # type: ignore 

3674 

3675_wasmtime_linker_define_func_unchecked = dll.wasmtime_linker_define_func_unchecked 

3676_wasmtime_linker_define_func_unchecked.restype = ctypes.POINTER(wasmtime_error_t) 

3677_wasmtime_linker_define_func_unchecked.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasm_functype_t), wasmtime_func_unchecked_callback_t, ctypes.c_void_p, ctypes.CFUNCTYPE(None, ctypes.c_void_p)] 

3678def 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: 

3679 return _wasmtime_linker_define_func_unchecked(linker, module, module_len, name, name_len, ty, cb, data, finalizer) # type: ignore 

3680 

3681_wasmtime_linker_define_wasi = dll.wasmtime_linker_define_wasi 

3682_wasmtime_linker_define_wasi.restype = ctypes.POINTER(wasmtime_error_t) 

3683_wasmtime_linker_define_wasi.argtypes = [ctypes.POINTER(wasmtime_linker_t)] 

3684def wasmtime_linker_define_wasi(linker: Any) -> ctypes._Pointer: 

3685 return _wasmtime_linker_define_wasi(linker) # type: ignore 

3686 

3687_wasmtime_linker_define_instance = dll.wasmtime_linker_define_instance 

3688_wasmtime_linker_define_instance.restype = ctypes.POINTER(wasmtime_error_t) 

3689_wasmtime_linker_define_instance.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasmtime_instance_t)] 

3690def wasmtime_linker_define_instance(linker: Any, store: Any, name: Any, name_len: Any, instance: Any) -> ctypes._Pointer: 

3691 return _wasmtime_linker_define_instance(linker, store, name, name_len, instance) # type: ignore 

3692 

3693_wasmtime_linker_instantiate = dll.wasmtime_linker_instantiate 

3694_wasmtime_linker_instantiate.restype = ctypes.POINTER(wasmtime_error_t) 

3695_wasmtime_linker_instantiate.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_module_t), ctypes.POINTER(wasmtime_instance_t), ctypes.POINTER(ctypes.POINTER(wasm_trap_t))] 

3696def wasmtime_linker_instantiate(linker: Any, store: Any, module: Any, instance: Any, trap: Any) -> ctypes._Pointer: 

3697 return _wasmtime_linker_instantiate(linker, store, module, instance, trap) # type: ignore 

3698 

3699_wasmtime_linker_module = dll.wasmtime_linker_module 

3700_wasmtime_linker_module.restype = ctypes.POINTER(wasmtime_error_t) 

3701_wasmtime_linker_module.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasmtime_module_t)] 

3702def wasmtime_linker_module(linker: Any, store: Any, name: Any, name_len: Any, module: Any) -> ctypes._Pointer: 

3703 return _wasmtime_linker_module(linker, store, name, name_len, module) # type: ignore 

3704 

3705_wasmtime_linker_get_default = dll.wasmtime_linker_get_default 

3706_wasmtime_linker_get_default.restype = ctypes.POINTER(wasmtime_error_t) 

3707_wasmtime_linker_get_default.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasmtime_func_t)] 

3708def wasmtime_linker_get_default(linker: Any, store: Any, name: Any, name_len: Any, func: Any) -> ctypes._Pointer: 

3709 return _wasmtime_linker_get_default(linker, store, name, name_len, func) # type: ignore 

3710 

3711_wasmtime_linker_get = dll.wasmtime_linker_get 

3712_wasmtime_linker_get.restype = ctypes.c_bool 

3713_wasmtime_linker_get.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasmtime_extern_t)] 

3714def wasmtime_linker_get(linker: Any, store: Any, module: Any, module_len: Any, name: Any, name_len: Any, item: Any) -> bool: 

3715 return _wasmtime_linker_get(linker, store, module, module_len, name, name_len, item) # type: ignore 

3716 

3717_wasmtime_linker_instantiate_pre = dll.wasmtime_linker_instantiate_pre 

3718_wasmtime_linker_instantiate_pre.restype = ctypes.POINTER(wasmtime_error_t) 

3719_wasmtime_linker_instantiate_pre.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_module_t), ctypes.POINTER(ctypes.POINTER(wasmtime_instance_pre_t))] 

3720def wasmtime_linker_instantiate_pre(linker: Any, module: Any, instance_pre: Any) -> ctypes._Pointer: 

3721 return _wasmtime_linker_instantiate_pre(linker, module, instance_pre) # type: ignore 

3722 

3723_wasmtime_config_async_stack_size_set = dll.wasmtime_config_async_stack_size_set 

3724_wasmtime_config_async_stack_size_set.restype = None 

3725_wasmtime_config_async_stack_size_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_size_t] 

3726def wasmtime_config_async_stack_size_set(arg0: Any, arg1: Any) -> None: 

3727 return _wasmtime_config_async_stack_size_set(arg0, arg1) # type: ignore 

3728 

3729_wasmtime_context_fuel_async_yield_interval = dll.wasmtime_context_fuel_async_yield_interval 

3730_wasmtime_context_fuel_async_yield_interval.restype = ctypes.POINTER(wasmtime_error_t) 

3731_wasmtime_context_fuel_async_yield_interval.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint64] 

3732def wasmtime_context_fuel_async_yield_interval(context: Any, interval: Any) -> ctypes._Pointer: 

3733 return _wasmtime_context_fuel_async_yield_interval(context, interval) # type: ignore 

3734 

3735_wasmtime_context_epoch_deadline_async_yield_and_update = dll.wasmtime_context_epoch_deadline_async_yield_and_update 

3736_wasmtime_context_epoch_deadline_async_yield_and_update.restype = ctypes.POINTER(wasmtime_error_t) 

3737_wasmtime_context_epoch_deadline_async_yield_and_update.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint64] 

3738def wasmtime_context_epoch_deadline_async_yield_and_update(context: Any, delta: Any) -> ctypes._Pointer: 

3739 return _wasmtime_context_epoch_deadline_async_yield_and_update(context, delta) # type: ignore 

3740 

3741wasmtime_func_async_continuation_callback_t = ctypes.CFUNCTYPE(ctypes.c_bool, ctypes.c_void_p) 

3742 

3743class wasmtime_async_continuation_t(ctypes.Structure): 

3744 _fields_ = [ 

3745 ("callback", wasmtime_func_async_continuation_callback_t), 

3746 ("env", ctypes.c_void_p), 

3747 ("finalizer", ctypes.CFUNCTYPE(None, ctypes.c_void_p)), 

3748 ] 

3749 callback: ctypes._Pointer 

3750 env: ctypes._Pointer 

3751 finalizer: ctypes._Pointer 

3752 

3753wasmtime_func_async_callback_t = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.POINTER(wasmtime_caller_t), ctypes.POINTER(wasmtime_val_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_val_t), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(wasm_trap_t)), ctypes.POINTER(wasmtime_async_continuation_t)) 

3754 

3755class wasmtime_call_future(ctypes.Structure): 

3756 pass 

3757 

3758wasmtime_call_future_t = wasmtime_call_future 

3759 

3760_wasmtime_call_future_poll = dll.wasmtime_call_future_poll 

3761_wasmtime_call_future_poll.restype = ctypes.c_bool 

3762_wasmtime_call_future_poll.argtypes = [ctypes.POINTER(wasmtime_call_future_t)] 

3763def wasmtime_call_future_poll(future: Any) -> bool: 

3764 return _wasmtime_call_future_poll(future) # type: ignore 

3765 

3766_wasmtime_call_future_delete = dll.wasmtime_call_future_delete 

3767_wasmtime_call_future_delete.restype = None 

3768_wasmtime_call_future_delete.argtypes = [ctypes.POINTER(wasmtime_call_future_t)] 

3769def wasmtime_call_future_delete(future: Any) -> None: 

3770 return _wasmtime_call_future_delete(future) # type: ignore 

3771 

3772_wasmtime_func_call_async = dll.wasmtime_func_call_async 

3773_wasmtime_func_call_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

3774_wasmtime_func_call_async.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_func_t), ctypes.POINTER(wasmtime_val_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_val_t), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(wasm_trap_t)), ctypes.POINTER(ctypes.POINTER(wasmtime_error_t))] 

3775def wasmtime_func_call_async(context: Any, func: Any, args: Any, nargs: Any, results: Any, nresults: Any, trap_ret: Any, error_ret: Any) -> ctypes._Pointer: 

3776 return _wasmtime_func_call_async(context, func, args, nargs, results, nresults, trap_ret, error_ret) # type: ignore 

3777 

3778_wasmtime_linker_define_async_func = dll.wasmtime_linker_define_async_func 

3779_wasmtime_linker_define_async_func.restype = ctypes.POINTER(wasmtime_error_t) 

3780_wasmtime_linker_define_async_func.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasm_functype_t), wasmtime_func_async_callback_t, ctypes.c_void_p, ctypes.CFUNCTYPE(None, ctypes.c_void_p)] 

3781def 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: 

3782 return _wasmtime_linker_define_async_func(linker, module, module_len, name, name_len, ty, cb, data, finalizer) # type: ignore 

3783 

3784_wasmtime_linker_instantiate_async = dll.wasmtime_linker_instantiate_async 

3785_wasmtime_linker_instantiate_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

3786_wasmtime_linker_instantiate_async.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_module_t), ctypes.POINTER(wasmtime_instance_t), ctypes.POINTER(ctypes.POINTER(wasm_trap_t)), ctypes.POINTER(ctypes.POINTER(wasmtime_error_t))] 

3787def wasmtime_linker_instantiate_async(linker: Any, store: Any, module: Any, instance: Any, trap_ret: Any, error_ret: Any) -> ctypes._Pointer: 

3788 return _wasmtime_linker_instantiate_async(linker, store, module, instance, trap_ret, error_ret) # type: ignore 

3789 

3790_wasmtime_instance_pre_instantiate_async = dll.wasmtime_instance_pre_instantiate_async 

3791_wasmtime_instance_pre_instantiate_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

3792_wasmtime_instance_pre_instantiate_async.argtypes = [ctypes.POINTER(wasmtime_instance_pre_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_instance_t), ctypes.POINTER(ctypes.POINTER(wasm_trap_t)), ctypes.POINTER(ctypes.POINTER(wasmtime_error_t))] 

3793def wasmtime_instance_pre_instantiate_async(instance_pre: Any, store: Any, instance: Any, trap_ret: Any, error_ret: Any) -> ctypes._Pointer: 

3794 return _wasmtime_instance_pre_instantiate_async(instance_pre, store, instance, trap_ret, error_ret) # type: ignore 

3795 

3796wasmtime_stack_memory_get_callback_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.POINTER(ctypes.c_size_t)) 

3797 

3798class wasmtime_stack_memory(ctypes.Structure): 

3799 _fields_ = [ 

3800 ("env", ctypes.c_void_p), 

3801 ("get_stack_memory", wasmtime_stack_memory_get_callback_t), 

3802 ("finalizer", ctypes.CFUNCTYPE(None, ctypes.c_void_p)), 

3803 ] 

3804 env: ctypes._Pointer 

3805 get_stack_memory: ctypes._Pointer 

3806 finalizer: ctypes._Pointer 

3807 

3808wasmtime_stack_memory_t = wasmtime_stack_memory 

3809 

3810wasmtime_new_stack_memory_callback_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.c_size_t, ctypes.c_bool, ctypes.POINTER(wasmtime_stack_memory_t)) 

3811 

3812class wasmtime_stack_creator(ctypes.Structure): 

3813 _fields_ = [ 

3814 ("env", ctypes.c_void_p), 

3815 ("new_stack", wasmtime_new_stack_memory_callback_t), 

3816 ("finalizer", ctypes.CFUNCTYPE(None, ctypes.c_void_p)), 

3817 ] 

3818 env: ctypes._Pointer 

3819 new_stack: ctypes._Pointer 

3820 finalizer: ctypes._Pointer 

3821 

3822wasmtime_stack_creator_t = wasmtime_stack_creator 

3823 

3824_wasmtime_config_host_stack_creator_set = dll.wasmtime_config_host_stack_creator_set 

3825_wasmtime_config_host_stack_creator_set.restype = None 

3826_wasmtime_config_host_stack_creator_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.POINTER(wasmtime_stack_creator_t)] 

3827def wasmtime_config_host_stack_creator_set(arg0: Any, arg1: Any) -> None: 

3828 return _wasmtime_config_host_stack_creator_set(arg0, arg1) # type: ignore 

3829 

3830class wasmtime_component_resource_type(ctypes.Structure): 

3831 pass 

3832 

3833wasmtime_component_resource_type_t = wasmtime_component_resource_type 

3834 

3835_wasmtime_component_resource_type_new_host = dll.wasmtime_component_resource_type_new_host 

3836_wasmtime_component_resource_type_new_host.restype = ctypes.POINTER(wasmtime_component_resource_type_t) 

3837_wasmtime_component_resource_type_new_host.argtypes = [ctypes.c_uint32] 

3838def wasmtime_component_resource_type_new_host(ty: Any) -> ctypes._Pointer: 

3839 return _wasmtime_component_resource_type_new_host(ty) # type: ignore 

3840 

3841_wasmtime_component_resource_type_clone = dll.wasmtime_component_resource_type_clone 

3842_wasmtime_component_resource_type_clone.restype = ctypes.POINTER(wasmtime_component_resource_type_t) 

3843_wasmtime_component_resource_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_resource_type_t)] 

3844def wasmtime_component_resource_type_clone(ty: Any) -> ctypes._Pointer: 

3845 return _wasmtime_component_resource_type_clone(ty) # type: ignore 

3846 

3847_wasmtime_component_resource_type_equal = dll.wasmtime_component_resource_type_equal 

3848_wasmtime_component_resource_type_equal.restype = ctypes.c_bool 

3849_wasmtime_component_resource_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_resource_type_t), ctypes.POINTER(wasmtime_component_resource_type_t)] 

3850def wasmtime_component_resource_type_equal(a: Any, b: Any) -> bool: 

3851 return _wasmtime_component_resource_type_equal(a, b) # type: ignore 

3852 

3853_wasmtime_component_resource_type_delete = dll.wasmtime_component_resource_type_delete 

3854_wasmtime_component_resource_type_delete.restype = None 

3855_wasmtime_component_resource_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_resource_type_t)] 

3856def wasmtime_component_resource_type_delete(resource: Any) -> None: 

3857 return _wasmtime_component_resource_type_delete(resource) # type: ignore 

3858 

3859class wasmtime_component_valtype_t(ctypes.Structure): 

3860 pass 

3861 

3862class wasmtime_component_list_type(ctypes.Structure): 

3863 pass 

3864 

3865wasmtime_component_list_type_t = wasmtime_component_list_type 

3866 

3867_wasmtime_component_list_type_clone = dll.wasmtime_component_list_type_clone 

3868_wasmtime_component_list_type_clone.restype = ctypes.POINTER(wasmtime_component_list_type_t) 

3869_wasmtime_component_list_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_list_type_t)] 

3870def wasmtime_component_list_type_clone(ty: Any) -> ctypes._Pointer: 

3871 return _wasmtime_component_list_type_clone(ty) # type: ignore 

3872 

3873_wasmtime_component_list_type_equal = dll.wasmtime_component_list_type_equal 

3874_wasmtime_component_list_type_equal.restype = ctypes.c_bool 

3875_wasmtime_component_list_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_list_type_t), ctypes.POINTER(wasmtime_component_list_type_t)] 

3876def wasmtime_component_list_type_equal(a: Any, b: Any) -> bool: 

3877 return _wasmtime_component_list_type_equal(a, b) # type: ignore 

3878 

3879_wasmtime_component_list_type_delete = dll.wasmtime_component_list_type_delete 

3880_wasmtime_component_list_type_delete.restype = None 

3881_wasmtime_component_list_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_list_type_t)] 

3882def wasmtime_component_list_type_delete(ptr: Any) -> None: 

3883 return _wasmtime_component_list_type_delete(ptr) # type: ignore 

3884 

3885_wasmtime_component_list_type_element = dll.wasmtime_component_list_type_element 

3886_wasmtime_component_list_type_element.restype = None 

3887_wasmtime_component_list_type_element.argtypes = [ctypes.POINTER(wasmtime_component_list_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

3888def wasmtime_component_list_type_element(ty: Any, type_ret: Any) -> None: 

3889 return _wasmtime_component_list_type_element(ty, type_ret) # type: ignore 

3890 

3891class wasmtime_component_record_type(ctypes.Structure): 

3892 pass 

3893 

3894wasmtime_component_record_type_t = wasmtime_component_record_type 

3895 

3896_wasmtime_component_record_type_clone = dll.wasmtime_component_record_type_clone 

3897_wasmtime_component_record_type_clone.restype = ctypes.POINTER(wasmtime_component_record_type_t) 

3898_wasmtime_component_record_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_record_type_t)] 

3899def wasmtime_component_record_type_clone(ty: Any) -> ctypes._Pointer: 

3900 return _wasmtime_component_record_type_clone(ty) # type: ignore 

3901 

3902_wasmtime_component_record_type_equal = dll.wasmtime_component_record_type_equal 

3903_wasmtime_component_record_type_equal.restype = ctypes.c_bool 

3904_wasmtime_component_record_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_record_type_t), ctypes.POINTER(wasmtime_component_record_type_t)] 

3905def wasmtime_component_record_type_equal(a: Any, b: Any) -> bool: 

3906 return _wasmtime_component_record_type_equal(a, b) # type: ignore 

3907 

3908_wasmtime_component_record_type_delete = dll.wasmtime_component_record_type_delete 

3909_wasmtime_component_record_type_delete.restype = None 

3910_wasmtime_component_record_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_record_type_t)] 

3911def wasmtime_component_record_type_delete(ptr: Any) -> None: 

3912 return _wasmtime_component_record_type_delete(ptr) # type: ignore 

3913 

3914_wasmtime_component_record_type_field_count = dll.wasmtime_component_record_type_field_count 

3915_wasmtime_component_record_type_field_count.restype = ctypes.c_size_t 

3916_wasmtime_component_record_type_field_count.argtypes = [ctypes.POINTER(wasmtime_component_record_type_t)] 

3917def wasmtime_component_record_type_field_count(ty: Any) -> int: 

3918 return _wasmtime_component_record_type_field_count(ty) # type: ignore 

3919 

3920_wasmtime_component_record_type_field_nth = dll.wasmtime_component_record_type_field_nth 

3921_wasmtime_component_record_type_field_nth.restype = ctypes.c_bool 

3922_wasmtime_component_record_type_field_nth.argtypes = [ctypes.POINTER(wasmtime_component_record_type_t), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(ctypes.c_char)), ctypes.POINTER(ctypes.c_size_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

3923def wasmtime_component_record_type_field_nth(ty: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

3924 return _wasmtime_component_record_type_field_nth(ty, nth, name_ret, name_len_ret, type_ret) # type: ignore 

3925 

3926class wasmtime_component_tuple_type(ctypes.Structure): 

3927 pass 

3928 

3929wasmtime_component_tuple_type_t = wasmtime_component_tuple_type 

3930 

3931_wasmtime_component_tuple_type_clone = dll.wasmtime_component_tuple_type_clone 

3932_wasmtime_component_tuple_type_clone.restype = ctypes.POINTER(wasmtime_component_tuple_type_t) 

3933_wasmtime_component_tuple_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_tuple_type_t)] 

3934def wasmtime_component_tuple_type_clone(ty: Any) -> ctypes._Pointer: 

3935 return _wasmtime_component_tuple_type_clone(ty) # type: ignore 

3936 

3937_wasmtime_component_tuple_type_equal = dll.wasmtime_component_tuple_type_equal 

3938_wasmtime_component_tuple_type_equal.restype = ctypes.c_bool 

3939_wasmtime_component_tuple_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_tuple_type_t), ctypes.POINTER(wasmtime_component_tuple_type_t)] 

3940def wasmtime_component_tuple_type_equal(a: Any, b: Any) -> bool: 

3941 return _wasmtime_component_tuple_type_equal(a, b) # type: ignore 

3942 

3943_wasmtime_component_tuple_type_delete = dll.wasmtime_component_tuple_type_delete 

3944_wasmtime_component_tuple_type_delete.restype = None 

3945_wasmtime_component_tuple_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_tuple_type_t)] 

3946def wasmtime_component_tuple_type_delete(ptr: Any) -> None: 

3947 return _wasmtime_component_tuple_type_delete(ptr) # type: ignore 

3948 

3949_wasmtime_component_tuple_type_types_count = dll.wasmtime_component_tuple_type_types_count 

3950_wasmtime_component_tuple_type_types_count.restype = ctypes.c_size_t 

3951_wasmtime_component_tuple_type_types_count.argtypes = [ctypes.POINTER(wasmtime_component_tuple_type_t)] 

3952def wasmtime_component_tuple_type_types_count(ty: Any) -> int: 

3953 return _wasmtime_component_tuple_type_types_count(ty) # type: ignore 

3954 

3955_wasmtime_component_tuple_type_types_nth = dll.wasmtime_component_tuple_type_types_nth 

3956_wasmtime_component_tuple_type_types_nth.restype = ctypes.c_bool 

3957_wasmtime_component_tuple_type_types_nth.argtypes = [ctypes.POINTER(wasmtime_component_tuple_type_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_valtype_t)] 

3958def wasmtime_component_tuple_type_types_nth(ty: Any, nth: Any, type_ret: Any) -> bool: 

3959 return _wasmtime_component_tuple_type_types_nth(ty, nth, type_ret) # type: ignore 

3960 

3961class wasmtime_component_variant_type(ctypes.Structure): 

3962 pass 

3963 

3964wasmtime_component_variant_type_t = wasmtime_component_variant_type 

3965 

3966_wasmtime_component_variant_type_clone = dll.wasmtime_component_variant_type_clone 

3967_wasmtime_component_variant_type_clone.restype = ctypes.POINTER(wasmtime_component_variant_type_t) 

3968_wasmtime_component_variant_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_variant_type_t)] 

3969def wasmtime_component_variant_type_clone(ty: Any) -> ctypes._Pointer: 

3970 return _wasmtime_component_variant_type_clone(ty) # type: ignore 

3971 

3972_wasmtime_component_variant_type_equal = dll.wasmtime_component_variant_type_equal 

3973_wasmtime_component_variant_type_equal.restype = ctypes.c_bool 

3974_wasmtime_component_variant_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_variant_type_t), ctypes.POINTER(wasmtime_component_variant_type_t)] 

3975def wasmtime_component_variant_type_equal(a: Any, b: Any) -> bool: 

3976 return _wasmtime_component_variant_type_equal(a, b) # type: ignore 

3977 

3978_wasmtime_component_variant_type_delete = dll.wasmtime_component_variant_type_delete 

3979_wasmtime_component_variant_type_delete.restype = None 

3980_wasmtime_component_variant_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_variant_type_t)] 

3981def wasmtime_component_variant_type_delete(ptr: Any) -> None: 

3982 return _wasmtime_component_variant_type_delete(ptr) # type: ignore 

3983 

3984_wasmtime_component_variant_type_case_count = dll.wasmtime_component_variant_type_case_count 

3985_wasmtime_component_variant_type_case_count.restype = ctypes.c_size_t 

3986_wasmtime_component_variant_type_case_count.argtypes = [ctypes.POINTER(wasmtime_component_variant_type_t)] 

3987def wasmtime_component_variant_type_case_count(ty: Any) -> int: 

3988 return _wasmtime_component_variant_type_case_count(ty) # type: ignore 

3989 

3990_wasmtime_component_variant_type_case_nth = dll.wasmtime_component_variant_type_case_nth 

3991_wasmtime_component_variant_type_case_nth.restype = ctypes.c_bool 

3992_wasmtime_component_variant_type_case_nth.argtypes = [ctypes.POINTER(wasmtime_component_variant_type_t), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(ctypes.c_char)), ctypes.POINTER(ctypes.c_size_t), ctypes.POINTER(ctypes.c_bool), ctypes.POINTER(wasmtime_component_valtype_t)] 

3993def wasmtime_component_variant_type_case_nth(ty: Any, nth: Any, name_ret: Any, name_len_ret: Any, has_payload_ret: Any, payload_ret: Any) -> bool: 

3994 return _wasmtime_component_variant_type_case_nth(ty, nth, name_ret, name_len_ret, has_payload_ret, payload_ret) # type: ignore 

3995 

3996class wasmtime_component_enum_type(ctypes.Structure): 

3997 pass 

3998 

3999wasmtime_component_enum_type_t = wasmtime_component_enum_type 

4000 

4001_wasmtime_component_enum_type_clone = dll.wasmtime_component_enum_type_clone 

4002_wasmtime_component_enum_type_clone.restype = ctypes.POINTER(wasmtime_component_enum_type_t) 

4003_wasmtime_component_enum_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_enum_type_t)] 

4004def wasmtime_component_enum_type_clone(ty: Any) -> ctypes._Pointer: 

4005 return _wasmtime_component_enum_type_clone(ty) # type: ignore 

4006 

4007_wasmtime_component_enum_type_equal = dll.wasmtime_component_enum_type_equal 

4008_wasmtime_component_enum_type_equal.restype = ctypes.c_bool 

4009_wasmtime_component_enum_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_enum_type_t), ctypes.POINTER(wasmtime_component_enum_type_t)] 

4010def wasmtime_component_enum_type_equal(a: Any, b: Any) -> bool: 

4011 return _wasmtime_component_enum_type_equal(a, b) # type: ignore 

4012 

4013_wasmtime_component_enum_type_delete = dll.wasmtime_component_enum_type_delete 

4014_wasmtime_component_enum_type_delete.restype = None 

4015_wasmtime_component_enum_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_enum_type_t)] 

4016def wasmtime_component_enum_type_delete(ptr: Any) -> None: 

4017 return _wasmtime_component_enum_type_delete(ptr) # type: ignore 

4018 

4019_wasmtime_component_enum_type_names_count = dll.wasmtime_component_enum_type_names_count 

4020_wasmtime_component_enum_type_names_count.restype = ctypes.c_size_t 

4021_wasmtime_component_enum_type_names_count.argtypes = [ctypes.POINTER(wasmtime_component_enum_type_t)] 

4022def wasmtime_component_enum_type_names_count(ty: Any) -> int: 

4023 return _wasmtime_component_enum_type_names_count(ty) # type: ignore 

4024 

4025_wasmtime_component_enum_type_names_nth = dll.wasmtime_component_enum_type_names_nth 

4026_wasmtime_component_enum_type_names_nth.restype = ctypes.c_bool 

4027_wasmtime_component_enum_type_names_nth.argtypes = [ctypes.POINTER(wasmtime_component_enum_type_t), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(ctypes.c_char)), ctypes.POINTER(ctypes.c_size_t)] 

4028def wasmtime_component_enum_type_names_nth(ty: Any, nth: Any, name_ret: Any, name_len_ret: Any) -> bool: 

4029 return _wasmtime_component_enum_type_names_nth(ty, nth, name_ret, name_len_ret) # type: ignore 

4030 

4031class wasmtime_component_option_type(ctypes.Structure): 

4032 pass 

4033 

4034wasmtime_component_option_type_t = wasmtime_component_option_type 

4035 

4036_wasmtime_component_option_type_clone = dll.wasmtime_component_option_type_clone 

4037_wasmtime_component_option_type_clone.restype = ctypes.POINTER(wasmtime_component_option_type_t) 

4038_wasmtime_component_option_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_option_type_t)] 

4039def wasmtime_component_option_type_clone(ty: Any) -> ctypes._Pointer: 

4040 return _wasmtime_component_option_type_clone(ty) # type: ignore 

4041 

4042_wasmtime_component_option_type_equal = dll.wasmtime_component_option_type_equal 

4043_wasmtime_component_option_type_equal.restype = ctypes.c_bool 

4044_wasmtime_component_option_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_option_type_t), ctypes.POINTER(wasmtime_component_option_type_t)] 

4045def wasmtime_component_option_type_equal(a: Any, b: Any) -> bool: 

4046 return _wasmtime_component_option_type_equal(a, b) # type: ignore 

4047 

4048_wasmtime_component_option_type_delete = dll.wasmtime_component_option_type_delete 

4049_wasmtime_component_option_type_delete.restype = None 

4050_wasmtime_component_option_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_option_type_t)] 

4051def wasmtime_component_option_type_delete(ptr: Any) -> None: 

4052 return _wasmtime_component_option_type_delete(ptr) # type: ignore 

4053 

4054_wasmtime_component_option_type_ty = dll.wasmtime_component_option_type_ty 

4055_wasmtime_component_option_type_ty.restype = None 

4056_wasmtime_component_option_type_ty.argtypes = [ctypes.POINTER(wasmtime_component_option_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4057def wasmtime_component_option_type_ty(ty: Any, type_ret: Any) -> None: 

4058 return _wasmtime_component_option_type_ty(ty, type_ret) # type: ignore 

4059 

4060class wasmtime_component_result_type(ctypes.Structure): 

4061 pass 

4062 

4063wasmtime_component_result_type_t = wasmtime_component_result_type 

4064 

4065_wasmtime_component_result_type_clone = dll.wasmtime_component_result_type_clone 

4066_wasmtime_component_result_type_clone.restype = ctypes.POINTER(wasmtime_component_result_type_t) 

4067_wasmtime_component_result_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_result_type_t)] 

4068def wasmtime_component_result_type_clone(ty: Any) -> ctypes._Pointer: 

4069 return _wasmtime_component_result_type_clone(ty) # type: ignore 

4070 

4071_wasmtime_component_result_type_equal = dll.wasmtime_component_result_type_equal 

4072_wasmtime_component_result_type_equal.restype = ctypes.c_bool 

4073_wasmtime_component_result_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_result_type_t), ctypes.POINTER(wasmtime_component_result_type_t)] 

4074def wasmtime_component_result_type_equal(a: Any, b: Any) -> bool: 

4075 return _wasmtime_component_result_type_equal(a, b) # type: ignore 

4076 

4077_wasmtime_component_result_type_delete = dll.wasmtime_component_result_type_delete 

4078_wasmtime_component_result_type_delete.restype = None 

4079_wasmtime_component_result_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_result_type_t)] 

4080def wasmtime_component_result_type_delete(ptr: Any) -> None: 

4081 return _wasmtime_component_result_type_delete(ptr) # type: ignore 

4082 

4083_wasmtime_component_result_type_ok = dll.wasmtime_component_result_type_ok 

4084_wasmtime_component_result_type_ok.restype = ctypes.c_bool 

4085_wasmtime_component_result_type_ok.argtypes = [ctypes.POINTER(wasmtime_component_result_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4086def wasmtime_component_result_type_ok(ty: Any, type_ret: Any) -> bool: 

4087 return _wasmtime_component_result_type_ok(ty, type_ret) # type: ignore 

4088 

4089_wasmtime_component_result_type_err = dll.wasmtime_component_result_type_err 

4090_wasmtime_component_result_type_err.restype = ctypes.c_bool 

4091_wasmtime_component_result_type_err.argtypes = [ctypes.POINTER(wasmtime_component_result_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4092def wasmtime_component_result_type_err(ty: Any, type_ret: Any) -> bool: 

4093 return _wasmtime_component_result_type_err(ty, type_ret) # type: ignore 

4094 

4095class wasmtime_component_flags_type(ctypes.Structure): 

4096 pass 

4097 

4098wasmtime_component_flags_type_t = wasmtime_component_flags_type 

4099 

4100_wasmtime_component_flags_type_clone = dll.wasmtime_component_flags_type_clone 

4101_wasmtime_component_flags_type_clone.restype = ctypes.POINTER(wasmtime_component_flags_type_t) 

4102_wasmtime_component_flags_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_flags_type_t)] 

4103def wasmtime_component_flags_type_clone(ty: Any) -> ctypes._Pointer: 

4104 return _wasmtime_component_flags_type_clone(ty) # type: ignore 

4105 

4106_wasmtime_component_flags_type_equal = dll.wasmtime_component_flags_type_equal 

4107_wasmtime_component_flags_type_equal.restype = ctypes.c_bool 

4108_wasmtime_component_flags_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_flags_type_t), ctypes.POINTER(wasmtime_component_flags_type_t)] 

4109def wasmtime_component_flags_type_equal(a: Any, b: Any) -> bool: 

4110 return _wasmtime_component_flags_type_equal(a, b) # type: ignore 

4111 

4112_wasmtime_component_flags_type_delete = dll.wasmtime_component_flags_type_delete 

4113_wasmtime_component_flags_type_delete.restype = None 

4114_wasmtime_component_flags_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_flags_type_t)] 

4115def wasmtime_component_flags_type_delete(ptr: Any) -> None: 

4116 return _wasmtime_component_flags_type_delete(ptr) # type: ignore 

4117 

4118_wasmtime_component_flags_type_names_count = dll.wasmtime_component_flags_type_names_count 

4119_wasmtime_component_flags_type_names_count.restype = ctypes.c_size_t 

4120_wasmtime_component_flags_type_names_count.argtypes = [ctypes.POINTER(wasmtime_component_flags_type_t)] 

4121def wasmtime_component_flags_type_names_count(ty: Any) -> int: 

4122 return _wasmtime_component_flags_type_names_count(ty) # type: ignore 

4123 

4124_wasmtime_component_flags_type_names_nth = dll.wasmtime_component_flags_type_names_nth 

4125_wasmtime_component_flags_type_names_nth.restype = ctypes.c_bool 

4126_wasmtime_component_flags_type_names_nth.argtypes = [ctypes.POINTER(wasmtime_component_flags_type_t), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(ctypes.c_char)), ctypes.POINTER(ctypes.c_size_t)] 

4127def wasmtime_component_flags_type_names_nth(ty: Any, nth: Any, name_ret: Any, name_len_ret: Any) -> bool: 

4128 return _wasmtime_component_flags_type_names_nth(ty, nth, name_ret, name_len_ret) # type: ignore 

4129 

4130class wasmtime_component_future_type(ctypes.Structure): 

4131 pass 

4132 

4133wasmtime_component_future_type_t = wasmtime_component_future_type 

4134 

4135_wasmtime_component_future_type_clone = dll.wasmtime_component_future_type_clone 

4136_wasmtime_component_future_type_clone.restype = ctypes.POINTER(wasmtime_component_future_type_t) 

4137_wasmtime_component_future_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_future_type_t)] 

4138def wasmtime_component_future_type_clone(ty: Any) -> ctypes._Pointer: 

4139 return _wasmtime_component_future_type_clone(ty) # type: ignore 

4140 

4141_wasmtime_component_future_type_equal = dll.wasmtime_component_future_type_equal 

4142_wasmtime_component_future_type_equal.restype = ctypes.c_bool 

4143_wasmtime_component_future_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_future_type_t), ctypes.POINTER(wasmtime_component_future_type_t)] 

4144def wasmtime_component_future_type_equal(a: Any, b: Any) -> bool: 

4145 return _wasmtime_component_future_type_equal(a, b) # type: ignore 

4146 

4147_wasmtime_component_future_type_delete = dll.wasmtime_component_future_type_delete 

4148_wasmtime_component_future_type_delete.restype = None 

4149_wasmtime_component_future_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_future_type_t)] 

4150def wasmtime_component_future_type_delete(ptr: Any) -> None: 

4151 return _wasmtime_component_future_type_delete(ptr) # type: ignore 

4152 

4153_wasmtime_component_future_type_ty = dll.wasmtime_component_future_type_ty 

4154_wasmtime_component_future_type_ty.restype = ctypes.c_bool 

4155_wasmtime_component_future_type_ty.argtypes = [ctypes.POINTER(wasmtime_component_future_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4156def wasmtime_component_future_type_ty(ty: Any, type_ret: Any) -> bool: 

4157 return _wasmtime_component_future_type_ty(ty, type_ret) # type: ignore 

4158 

4159class wasmtime_component_stream_type(ctypes.Structure): 

4160 pass 

4161 

4162wasmtime_component_stream_type_t = wasmtime_component_stream_type 

4163 

4164_wasmtime_component_stream_type_clone = dll.wasmtime_component_stream_type_clone 

4165_wasmtime_component_stream_type_clone.restype = ctypes.POINTER(wasmtime_component_stream_type_t) 

4166_wasmtime_component_stream_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_stream_type_t)] 

4167def wasmtime_component_stream_type_clone(ty: Any) -> ctypes._Pointer: 

4168 return _wasmtime_component_stream_type_clone(ty) # type: ignore 

4169 

4170_wasmtime_component_stream_type_equal = dll.wasmtime_component_stream_type_equal 

4171_wasmtime_component_stream_type_equal.restype = ctypes.c_bool 

4172_wasmtime_component_stream_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_stream_type_t), ctypes.POINTER(wasmtime_component_stream_type_t)] 

4173def wasmtime_component_stream_type_equal(a: Any, b: Any) -> bool: 

4174 return _wasmtime_component_stream_type_equal(a, b) # type: ignore 

4175 

4176_wasmtime_component_stream_type_delete = dll.wasmtime_component_stream_type_delete 

4177_wasmtime_component_stream_type_delete.restype = None 

4178_wasmtime_component_stream_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_stream_type_t)] 

4179def wasmtime_component_stream_type_delete(ptr: Any) -> None: 

4180 return _wasmtime_component_stream_type_delete(ptr) # type: ignore 

4181 

4182_wasmtime_component_stream_type_ty = dll.wasmtime_component_stream_type_ty 

4183_wasmtime_component_stream_type_ty.restype = ctypes.c_bool 

4184_wasmtime_component_stream_type_ty.argtypes = [ctypes.POINTER(wasmtime_component_stream_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4185def wasmtime_component_stream_type_ty(ty: Any, type_ret: Any) -> bool: 

4186 return _wasmtime_component_stream_type_ty(ty, type_ret) # type: ignore 

4187 

4188class wasmtime_component_map_type(ctypes.Structure): 

4189 pass 

4190 

4191wasmtime_component_map_type_t = wasmtime_component_map_type 

4192 

4193_wasmtime_component_map_type_clone = dll.wasmtime_component_map_type_clone 

4194_wasmtime_component_map_type_clone.restype = ctypes.POINTER(wasmtime_component_map_type_t) 

4195_wasmtime_component_map_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_map_type_t)] 

4196def wasmtime_component_map_type_clone(ty: Any) -> ctypes._Pointer: 

4197 return _wasmtime_component_map_type_clone(ty) # type: ignore 

4198 

4199_wasmtime_component_map_type_equal = dll.wasmtime_component_map_type_equal 

4200_wasmtime_component_map_type_equal.restype = ctypes.c_bool 

4201_wasmtime_component_map_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_map_type_t), ctypes.POINTER(wasmtime_component_map_type_t)] 

4202def wasmtime_component_map_type_equal(a: Any, b: Any) -> bool: 

4203 return _wasmtime_component_map_type_equal(a, b) # type: ignore 

4204 

4205_wasmtime_component_map_type_delete = dll.wasmtime_component_map_type_delete 

4206_wasmtime_component_map_type_delete.restype = None 

4207_wasmtime_component_map_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_map_type_t)] 

4208def wasmtime_component_map_type_delete(ptr: Any) -> None: 

4209 return _wasmtime_component_map_type_delete(ptr) # type: ignore 

4210 

4211_wasmtime_component_map_type_key = dll.wasmtime_component_map_type_key 

4212_wasmtime_component_map_type_key.restype = None 

4213_wasmtime_component_map_type_key.argtypes = [ctypes.POINTER(wasmtime_component_map_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4214def wasmtime_component_map_type_key(ty: Any, type_ret: Any) -> None: 

4215 return _wasmtime_component_map_type_key(ty, type_ret) # type: ignore 

4216 

4217_wasmtime_component_map_type_value = dll.wasmtime_component_map_type_value 

4218_wasmtime_component_map_type_value.restype = None 

4219_wasmtime_component_map_type_value.argtypes = [ctypes.POINTER(wasmtime_component_map_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4220def wasmtime_component_map_type_value(ty: Any, type_ret: Any) -> None: 

4221 return _wasmtime_component_map_type_value(ty, type_ret) # type: ignore 

4222 

4223wasmtime_component_valtype_kind_t = ctypes.c_uint8 

4224 

4225class wasmtime_component_valtype_union(ctypes.Union): 

4226 _fields_ = [ 

4227 ("list", ctypes.POINTER(wasmtime_component_list_type_t)), 

4228 ("record", ctypes.POINTER(wasmtime_component_record_type_t)), 

4229 ("tuple", ctypes.POINTER(wasmtime_component_tuple_type_t)), 

4230 ("variant", ctypes.POINTER(wasmtime_component_variant_type_t)), 

4231 ("enum_", ctypes.POINTER(wasmtime_component_enum_type_t)), 

4232 ("option", ctypes.POINTER(wasmtime_component_option_type_t)), 

4233 ("result", ctypes.POINTER(wasmtime_component_result_type_t)), 

4234 ("flags", ctypes.POINTER(wasmtime_component_flags_type_t)), 

4235 ("own", ctypes.POINTER(wasmtime_component_resource_type_t)), 

4236 ("borrow", ctypes.POINTER(wasmtime_component_resource_type_t)), 

4237 ("future", ctypes.POINTER(wasmtime_component_future_type_t)), 

4238 ("stream", ctypes.POINTER(wasmtime_component_stream_type_t)), 

4239 ("map", ctypes.POINTER(wasmtime_component_map_type_t)), 

4240 ] 

4241 list: ctypes._Pointer 

4242 record: ctypes._Pointer 

4243 tuple: ctypes._Pointer 

4244 variant: ctypes._Pointer 

4245 enum_: ctypes._Pointer 

4246 option: ctypes._Pointer 

4247 result: ctypes._Pointer 

4248 flags: ctypes._Pointer 

4249 own: ctypes._Pointer 

4250 borrow: ctypes._Pointer 

4251 future: ctypes._Pointer 

4252 stream: ctypes._Pointer 

4253 map: ctypes._Pointer 

4254 

4255wasmtime_component_valtype_union_t = wasmtime_component_valtype_union 

4256 

4257wasmtime_component_valtype_t._fields_ = [ 

4258 ("kind", wasmtime_component_valtype_kind_t), 

4259 ("of", wasmtime_component_valtype_union_t), 

4260 ] 

4261 

4262_wasmtime_component_valtype_clone = dll.wasmtime_component_valtype_clone 

4263_wasmtime_component_valtype_clone.restype = None 

4264_wasmtime_component_valtype_clone.argtypes = [ctypes.POINTER(wasmtime_component_valtype_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4265def wasmtime_component_valtype_clone(ty: Any, out: Any) -> None: 

4266 return _wasmtime_component_valtype_clone(ty, out) # type: ignore 

4267 

4268_wasmtime_component_valtype_equal = dll.wasmtime_component_valtype_equal 

4269_wasmtime_component_valtype_equal.restype = ctypes.c_bool 

4270_wasmtime_component_valtype_equal.argtypes = [ctypes.POINTER(wasmtime_component_valtype_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4271def wasmtime_component_valtype_equal(a: Any, b: Any) -> bool: 

4272 return _wasmtime_component_valtype_equal(a, b) # type: ignore 

4273 

4274_wasmtime_component_valtype_delete = dll.wasmtime_component_valtype_delete 

4275_wasmtime_component_valtype_delete.restype = None 

4276_wasmtime_component_valtype_delete.argtypes = [ctypes.POINTER(wasmtime_component_valtype_t)] 

4277def wasmtime_component_valtype_delete(ptr: Any) -> None: 

4278 return _wasmtime_component_valtype_delete(ptr) # type: ignore 

4279 

4280class wasmtime_component_func_type_t(ctypes.Structure): 

4281 pass 

4282 

4283_wasmtime_component_func_type_clone = dll.wasmtime_component_func_type_clone 

4284_wasmtime_component_func_type_clone.restype = ctypes.POINTER(wasmtime_component_func_type_t) 

4285_wasmtime_component_func_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_func_type_t)] 

4286def wasmtime_component_func_type_clone(ty: Any) -> ctypes._Pointer: 

4287 return _wasmtime_component_func_type_clone(ty) # type: ignore 

4288 

4289_wasmtime_component_func_type_delete = dll.wasmtime_component_func_type_delete 

4290_wasmtime_component_func_type_delete.restype = None 

4291_wasmtime_component_func_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_func_type_t)] 

4292def wasmtime_component_func_type_delete(ty: Any) -> None: 

4293 return _wasmtime_component_func_type_delete(ty) # type: ignore 

4294 

4295_wasmtime_component_func_type_async = dll.wasmtime_component_func_type_async 

4296_wasmtime_component_func_type_async.restype = ctypes.c_bool 

4297_wasmtime_component_func_type_async.argtypes = [ctypes.POINTER(wasmtime_component_func_type_t)] 

4298def wasmtime_component_func_type_async(ty: Any) -> bool: 

4299 return _wasmtime_component_func_type_async(ty) # type: ignore 

4300 

4301_wasmtime_component_func_type_param_count = dll.wasmtime_component_func_type_param_count 

4302_wasmtime_component_func_type_param_count.restype = ctypes.c_size_t 

4303_wasmtime_component_func_type_param_count.argtypes = [ctypes.POINTER(wasmtime_component_func_type_t)] 

4304def wasmtime_component_func_type_param_count(ty: Any) -> int: 

4305 return _wasmtime_component_func_type_param_count(ty) # type: ignore 

4306 

4307_wasmtime_component_func_type_param_nth = dll.wasmtime_component_func_type_param_nth 

4308_wasmtime_component_func_type_param_nth.restype = ctypes.c_bool 

4309_wasmtime_component_func_type_param_nth.argtypes = [ctypes.POINTER(wasmtime_component_func_type_t), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(ctypes.c_char)), ctypes.POINTER(ctypes.c_size_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4310def wasmtime_component_func_type_param_nth(ty: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

4311 return _wasmtime_component_func_type_param_nth(ty, nth, name_ret, name_len_ret, type_ret) # type: ignore 

4312 

4313_wasmtime_component_func_type_result = dll.wasmtime_component_func_type_result 

4314_wasmtime_component_func_type_result.restype = ctypes.c_bool 

4315_wasmtime_component_func_type_result.argtypes = [ctypes.POINTER(wasmtime_component_func_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4316def wasmtime_component_func_type_result(ty: Any, type_ret: Any) -> bool: 

4317 return _wasmtime_component_func_type_result(ty, type_ret) # type: ignore 

4318 

4319class wasmtime_component_item_t(ctypes.Structure): 

4320 pass 

4321 

4322class wasmtime_component_instance_type(ctypes.Structure): 

4323 pass 

4324 

4325wasmtime_component_instance_type_t = wasmtime_component_instance_type 

4326 

4327_wasmtime_component_instance_type_clone = dll.wasmtime_component_instance_type_clone 

4328_wasmtime_component_instance_type_clone.restype = ctypes.POINTER(wasmtime_component_instance_type_t) 

4329_wasmtime_component_instance_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_instance_type_t)] 

4330def wasmtime_component_instance_type_clone(ty: Any) -> ctypes._Pointer: 

4331 return _wasmtime_component_instance_type_clone(ty) # type: ignore 

4332 

4333_wasmtime_component_instance_type_delete = dll.wasmtime_component_instance_type_delete 

4334_wasmtime_component_instance_type_delete.restype = None 

4335_wasmtime_component_instance_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_instance_type_t)] 

4336def wasmtime_component_instance_type_delete(ty: Any) -> None: 

4337 return _wasmtime_component_instance_type_delete(ty) # type: ignore 

4338 

4339_wasmtime_component_instance_type_export_count = dll.wasmtime_component_instance_type_export_count 

4340_wasmtime_component_instance_type_export_count.restype = ctypes.c_size_t 

4341_wasmtime_component_instance_type_export_count.argtypes = [ctypes.POINTER(wasmtime_component_instance_type_t), ctypes.POINTER(wasm_engine_t)] 

4342def wasmtime_component_instance_type_export_count(ty: Any, engine: Any) -> int: 

4343 return _wasmtime_component_instance_type_export_count(ty, engine) # type: ignore 

4344 

4345_wasmtime_component_instance_type_export_get = dll.wasmtime_component_instance_type_export_get 

4346_wasmtime_component_instance_type_export_get.restype = ctypes.c_bool 

4347_wasmtime_component_instance_type_export_get.argtypes = [ctypes.POINTER(wasmtime_component_instance_type_t), ctypes.POINTER(wasm_engine_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_item_t)] 

4348def wasmtime_component_instance_type_export_get(ty: Any, engine: Any, name: Any, name_len: Any, ret: Any) -> bool: 

4349 return _wasmtime_component_instance_type_export_get(ty, engine, name, name_len, ret) # type: ignore 

4350 

4351_wasmtime_component_instance_type_export_nth = dll.wasmtime_component_instance_type_export_nth 

4352_wasmtime_component_instance_type_export_nth.restype = ctypes.c_bool 

4353_wasmtime_component_instance_type_export_nth.argtypes = [ctypes.POINTER(wasmtime_component_instance_type_t), ctypes.POINTER(wasm_engine_t), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(ctypes.c_char)), ctypes.POINTER(ctypes.c_size_t), ctypes.POINTER(wasmtime_component_item_t)] 

4354def wasmtime_component_instance_type_export_nth(ty: Any, engine: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

4355 return _wasmtime_component_instance_type_export_nth(ty, engine, nth, name_ret, name_len_ret, type_ret) # type: ignore 

4356 

4357class wasmtime_module_type(ctypes.Structure): 

4358 pass 

4359 

4360wasmtime_module_type_t = wasmtime_module_type 

4361 

4362_wasmtime_module_type_clone = dll.wasmtime_module_type_clone 

4363_wasmtime_module_type_clone.restype = ctypes.POINTER(wasmtime_module_type_t) 

4364_wasmtime_module_type_clone.argtypes = [ctypes.POINTER(wasmtime_module_type_t)] 

4365def wasmtime_module_type_clone(ty: Any) -> ctypes._Pointer: 

4366 return _wasmtime_module_type_clone(ty) # type: ignore 

4367 

4368_wasmtime_module_type_delete = dll.wasmtime_module_type_delete 

4369_wasmtime_module_type_delete.restype = None 

4370_wasmtime_module_type_delete.argtypes = [ctypes.POINTER(wasmtime_module_type_t)] 

4371def wasmtime_module_type_delete(ty: Any) -> None: 

4372 return _wasmtime_module_type_delete(ty) # type: ignore 

4373 

4374_wasmtime_module_type_import_count = dll.wasmtime_module_type_import_count 

4375_wasmtime_module_type_import_count.restype = ctypes.c_size_t 

4376_wasmtime_module_type_import_count.argtypes = [ctypes.POINTER(wasmtime_module_type_t), ctypes.POINTER(wasm_engine_t)] 

4377def wasmtime_module_type_import_count(ty: Any, engine: Any) -> int: 

4378 return _wasmtime_module_type_import_count(ty, engine) # type: ignore 

4379 

4380_wasmtime_module_type_import_nth = dll.wasmtime_module_type_import_nth 

4381_wasmtime_module_type_import_nth.restype = ctypes.POINTER(wasm_importtype_t) 

4382_wasmtime_module_type_import_nth.argtypes = [ctypes.POINTER(wasmtime_module_type_t), ctypes.POINTER(wasm_engine_t), ctypes.c_size_t] 

4383def wasmtime_module_type_import_nth(ty: Any, engine: Any, nth: Any) -> ctypes._Pointer: 

4384 return _wasmtime_module_type_import_nth(ty, engine, nth) # type: ignore 

4385 

4386_wasmtime_module_type_export_count = dll.wasmtime_module_type_export_count 

4387_wasmtime_module_type_export_count.restype = ctypes.c_size_t 

4388_wasmtime_module_type_export_count.argtypes = [ctypes.POINTER(wasmtime_module_type_t), ctypes.POINTER(wasm_engine_t)] 

4389def wasmtime_module_type_export_count(ty: Any, engine: Any) -> int: 

4390 return _wasmtime_module_type_export_count(ty, engine) # type: ignore 

4391 

4392_wasmtime_module_type_export_nth = dll.wasmtime_module_type_export_nth 

4393_wasmtime_module_type_export_nth.restype = ctypes.POINTER(wasm_exporttype_t) 

4394_wasmtime_module_type_export_nth.argtypes = [ctypes.POINTER(wasmtime_module_type_t), ctypes.POINTER(wasm_engine_t), ctypes.c_size_t] 

4395def wasmtime_module_type_export_nth(ty: Any, engine: Any, nth: Any) -> ctypes._Pointer: 

4396 return _wasmtime_module_type_export_nth(ty, engine, nth) # type: ignore 

4397 

4398class wasmtime_component_type_t(ctypes.Structure): 

4399 pass 

4400 

4401_wasmtime_component_type_clone = dll.wasmtime_component_type_clone 

4402_wasmtime_component_type_clone.restype = ctypes.POINTER(wasmtime_component_type_t) 

4403_wasmtime_component_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_type_t)] 

4404def wasmtime_component_type_clone(ty: Any) -> ctypes._Pointer: 

4405 return _wasmtime_component_type_clone(ty) # type: ignore 

4406 

4407_wasmtime_component_type_delete = dll.wasmtime_component_type_delete 

4408_wasmtime_component_type_delete.restype = None 

4409_wasmtime_component_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_type_t)] 

4410def wasmtime_component_type_delete(ty: Any) -> None: 

4411 return _wasmtime_component_type_delete(ty) # type: ignore 

4412 

4413_wasmtime_component_type_import_count = dll.wasmtime_component_type_import_count 

4414_wasmtime_component_type_import_count.restype = ctypes.c_size_t 

4415_wasmtime_component_type_import_count.argtypes = [ctypes.POINTER(wasmtime_component_type_t), ctypes.POINTER(wasm_engine_t)] 

4416def wasmtime_component_type_import_count(ty: Any, engine: Any) -> int: 

4417 return _wasmtime_component_type_import_count(ty, engine) # type: ignore 

4418 

4419_wasmtime_component_type_import_get = dll.wasmtime_component_type_import_get 

4420_wasmtime_component_type_import_get.restype = ctypes.c_bool 

4421_wasmtime_component_type_import_get.argtypes = [ctypes.POINTER(wasmtime_component_type_t), ctypes.POINTER(wasm_engine_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_item_t)] 

4422def wasmtime_component_type_import_get(ty: Any, engine: Any, name: Any, name_len: Any, ret: Any) -> bool: 

4423 return _wasmtime_component_type_import_get(ty, engine, name, name_len, ret) # type: ignore 

4424 

4425_wasmtime_component_type_import_nth = dll.wasmtime_component_type_import_nth 

4426_wasmtime_component_type_import_nth.restype = ctypes.c_bool 

4427_wasmtime_component_type_import_nth.argtypes = [ctypes.POINTER(wasmtime_component_type_t), ctypes.POINTER(wasm_engine_t), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(ctypes.c_char)), ctypes.POINTER(ctypes.c_size_t), ctypes.POINTER(wasmtime_component_item_t)] 

4428def wasmtime_component_type_import_nth(ty: Any, engine: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

4429 return _wasmtime_component_type_import_nth(ty, engine, nth, name_ret, name_len_ret, type_ret) # type: ignore 

4430 

4431_wasmtime_component_type_export_count = dll.wasmtime_component_type_export_count 

4432_wasmtime_component_type_export_count.restype = ctypes.c_size_t 

4433_wasmtime_component_type_export_count.argtypes = [ctypes.POINTER(wasmtime_component_type_t), ctypes.POINTER(wasm_engine_t)] 

4434def wasmtime_component_type_export_count(ty: Any, engine: Any) -> int: 

4435 return _wasmtime_component_type_export_count(ty, engine) # type: ignore 

4436 

4437_wasmtime_component_type_export_get = dll.wasmtime_component_type_export_get 

4438_wasmtime_component_type_export_get.restype = ctypes.c_bool 

4439_wasmtime_component_type_export_get.argtypes = [ctypes.POINTER(wasmtime_component_type_t), ctypes.POINTER(wasm_engine_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_item_t)] 

4440def wasmtime_component_type_export_get(ty: Any, engine: Any, name: Any, name_len: Any, ret: Any) -> bool: 

4441 return _wasmtime_component_type_export_get(ty, engine, name, name_len, ret) # type: ignore 

4442 

4443_wasmtime_component_type_export_nth = dll.wasmtime_component_type_export_nth 

4444_wasmtime_component_type_export_nth.restype = ctypes.c_bool 

4445_wasmtime_component_type_export_nth.argtypes = [ctypes.POINTER(wasmtime_component_type_t), ctypes.POINTER(wasm_engine_t), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(ctypes.c_char)), ctypes.POINTER(ctypes.c_size_t), ctypes.POINTER(wasmtime_component_item_t)] 

4446def wasmtime_component_type_export_nth(ty: Any, engine: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

4447 return _wasmtime_component_type_export_nth(ty, engine, nth, name_ret, name_len_ret, type_ret) # type: ignore 

4448 

4449wasmtime_component_item_kind_t = ctypes.c_uint8 

4450 

4451class wasmtime_component_item_union(ctypes.Union): 

4452 _fields_ = [ 

4453 ("component", ctypes.POINTER(wasmtime_component_type_t)), 

4454 ("component_instance", ctypes.POINTER(wasmtime_component_instance_type_t)), 

4455 ("module", ctypes.POINTER(wasmtime_module_type_t)), 

4456 ("component_func", ctypes.POINTER(wasmtime_component_func_type_t)), 

4457 ("resource", ctypes.POINTER(wasmtime_component_resource_type_t)), 

4458 ("core_func", ctypes.POINTER(wasm_functype_t)), 

4459 ("type", wasmtime_component_valtype_t), 

4460 ] 

4461 component: ctypes._Pointer 

4462 component_instance: ctypes._Pointer 

4463 module: ctypes._Pointer 

4464 component_func: ctypes._Pointer 

4465 resource: ctypes._Pointer 

4466 core_func: ctypes._Pointer 

4467 type: wasmtime_component_valtype_t 

4468 

4469wasmtime_component_item_union_t = wasmtime_component_item_union 

4470 

4471wasmtime_component_item_t._fields_ = [ 

4472 ("kind", wasmtime_component_item_kind_t), 

4473 ("of", wasmtime_component_item_union_t), 

4474 ] 

4475 

4476_wasmtime_component_item_clone = dll.wasmtime_component_item_clone 

4477_wasmtime_component_item_clone.restype = None 

4478_wasmtime_component_item_clone.argtypes = [ctypes.POINTER(wasmtime_component_item_t), ctypes.POINTER(wasmtime_component_item_t)] 

4479def wasmtime_component_item_clone(item: Any, out: Any) -> None: 

4480 return _wasmtime_component_item_clone(item, out) # type: ignore 

4481 

4482_wasmtime_component_item_delete = dll.wasmtime_component_item_delete 

4483_wasmtime_component_item_delete.restype = None 

4484_wasmtime_component_item_delete.argtypes = [ctypes.POINTER(wasmtime_component_item_t)] 

4485def wasmtime_component_item_delete(ptr: Any) -> None: 

4486 return _wasmtime_component_item_delete(ptr) # type: ignore 

4487 

4488class wasmtime_component_t(ctypes.Structure): 

4489 pass 

4490 

4491_wasmtime_component_new = dll.wasmtime_component_new 

4492_wasmtime_component_new.restype = ctypes.POINTER(wasmtime_error_t) 

4493_wasmtime_component_new.argtypes = [ctypes.POINTER(wasm_engine_t), ctypes.POINTER(ctypes.c_uint8), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(wasmtime_component_t))] 

4494def wasmtime_component_new(engine: Any, buf: Any, len: Any, component_out: Any) -> ctypes._Pointer: 

4495 return _wasmtime_component_new(engine, buf, len, component_out) # type: ignore 

4496 

4497_wasmtime_component_serialize = dll.wasmtime_component_serialize 

4498_wasmtime_component_serialize.restype = ctypes.POINTER(wasmtime_error_t) 

4499_wasmtime_component_serialize.argtypes = [ctypes.POINTER(wasmtime_component_t), ctypes.POINTER(wasm_byte_vec_t)] 

4500def wasmtime_component_serialize(component: Any, ret: Any) -> ctypes._Pointer: 

4501 return _wasmtime_component_serialize(component, ret) # type: ignore 

4502 

4503_wasmtime_component_deserialize = dll.wasmtime_component_deserialize 

4504_wasmtime_component_deserialize.restype = ctypes.POINTER(wasmtime_error_t) 

4505_wasmtime_component_deserialize.argtypes = [ctypes.POINTER(wasm_engine_t), ctypes.POINTER(ctypes.c_uint8), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(wasmtime_component_t))] 

4506def wasmtime_component_deserialize(engine: Any, buf: Any, len: Any, component_out: Any) -> ctypes._Pointer: 

4507 return _wasmtime_component_deserialize(engine, buf, len, component_out) # type: ignore 

4508 

4509_wasmtime_component_deserialize_file = dll.wasmtime_component_deserialize_file 

4510_wasmtime_component_deserialize_file.restype = ctypes.POINTER(wasmtime_error_t) 

4511_wasmtime_component_deserialize_file.argtypes = [ctypes.POINTER(wasm_engine_t), ctypes.POINTER(ctypes.c_char), ctypes.POINTER(ctypes.POINTER(wasmtime_component_t))] 

4512def wasmtime_component_deserialize_file(engine: Any, path: Any, component_out: Any) -> ctypes._Pointer: 

4513 return _wasmtime_component_deserialize_file(engine, path, component_out) # type: ignore 

4514 

4515_wasmtime_component_clone = dll.wasmtime_component_clone 

4516_wasmtime_component_clone.restype = ctypes.POINTER(wasmtime_component_t) 

4517_wasmtime_component_clone.argtypes = [ctypes.POINTER(wasmtime_component_t)] 

4518def wasmtime_component_clone(component: Any) -> ctypes._Pointer: 

4519 return _wasmtime_component_clone(component) # type: ignore 

4520 

4521_wasmtime_component_type = dll.wasmtime_component_type 

4522_wasmtime_component_type.restype = ctypes.POINTER(wasmtime_component_type_t) 

4523_wasmtime_component_type.argtypes = [ctypes.POINTER(wasmtime_component_t)] 

4524def wasmtime_component_type(component: Any) -> ctypes._Pointer: 

4525 return _wasmtime_component_type(component) # type: ignore 

4526 

4527_wasmtime_component_delete = dll.wasmtime_component_delete 

4528_wasmtime_component_delete.restype = None 

4529_wasmtime_component_delete.argtypes = [ctypes.POINTER(wasmtime_component_t)] 

4530def wasmtime_component_delete(component: Any) -> None: 

4531 return _wasmtime_component_delete(component) # type: ignore 

4532 

4533class wasmtime_component_export_index_t(ctypes.Structure): 

4534 pass 

4535 

4536_wasmtime_component_get_export_index = dll.wasmtime_component_get_export_index 

4537_wasmtime_component_get_export_index.restype = ctypes.POINTER(wasmtime_component_export_index_t) 

4538_wasmtime_component_get_export_index.argtypes = [ctypes.POINTER(wasmtime_component_t), ctypes.POINTER(wasmtime_component_export_index_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t] 

4539def wasmtime_component_get_export_index(component: Any, instance_export_index: Any, name: Any, name_len: Any) -> ctypes._Pointer: 

4540 return _wasmtime_component_get_export_index(component, instance_export_index, name, name_len) # type: ignore 

4541 

4542_wasmtime_component_export_index_clone = dll.wasmtime_component_export_index_clone 

4543_wasmtime_component_export_index_clone.restype = ctypes.POINTER(wasmtime_component_export_index_t) 

4544_wasmtime_component_export_index_clone.argtypes = [ctypes.POINTER(wasmtime_component_export_index_t)] 

4545def wasmtime_component_export_index_clone(index: Any) -> ctypes._Pointer: 

4546 return _wasmtime_component_export_index_clone(index) # type: ignore 

4547 

4548_wasmtime_component_export_index_delete = dll.wasmtime_component_export_index_delete 

4549_wasmtime_component_export_index_delete.restype = None 

4550_wasmtime_component_export_index_delete.argtypes = [ctypes.POINTER(wasmtime_component_export_index_t)] 

4551def wasmtime_component_export_index_delete(export_index: Any) -> None: 

4552 return _wasmtime_component_export_index_delete(export_index) # type: ignore 

4553 

4554class wasmtime_component_resource_any(ctypes.Structure): 

4555 pass 

4556 

4557wasmtime_component_resource_any_t = wasmtime_component_resource_any 

4558 

4559_wasmtime_component_resource_any_type = dll.wasmtime_component_resource_any_type 

4560_wasmtime_component_resource_any_type.restype = ctypes.POINTER(wasmtime_component_resource_type_t) 

4561_wasmtime_component_resource_any_type.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4562def wasmtime_component_resource_any_type(resource: Any) -> ctypes._Pointer: 

4563 return _wasmtime_component_resource_any_type(resource) # type: ignore 

4564 

4565_wasmtime_component_resource_any_clone = dll.wasmtime_component_resource_any_clone 

4566_wasmtime_component_resource_any_clone.restype = ctypes.POINTER(wasmtime_component_resource_any_t) 

4567_wasmtime_component_resource_any_clone.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4568def wasmtime_component_resource_any_clone(resource: Any) -> ctypes._Pointer: 

4569 return _wasmtime_component_resource_any_clone(resource) # type: ignore 

4570 

4571_wasmtime_component_resource_any_owned = dll.wasmtime_component_resource_any_owned 

4572_wasmtime_component_resource_any_owned.restype = ctypes.c_bool 

4573_wasmtime_component_resource_any_owned.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4574def wasmtime_component_resource_any_owned(resource: Any) -> bool: 

4575 return _wasmtime_component_resource_any_owned(resource) # type: ignore 

4576 

4577_wasmtime_component_resource_any_drop = dll.wasmtime_component_resource_any_drop 

4578_wasmtime_component_resource_any_drop.restype = ctypes.POINTER(wasmtime_error_t) 

4579_wasmtime_component_resource_any_drop.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_component_resource_any_t)] 

4580def wasmtime_component_resource_any_drop(ctx: Any, resource: Any) -> ctypes._Pointer: 

4581 return _wasmtime_component_resource_any_drop(ctx, resource) # type: ignore 

4582 

4583_wasmtime_component_resource_any_delete = dll.wasmtime_component_resource_any_delete 

4584_wasmtime_component_resource_any_delete.restype = None 

4585_wasmtime_component_resource_any_delete.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4586def wasmtime_component_resource_any_delete(resource: Any) -> None: 

4587 return _wasmtime_component_resource_any_delete(resource) # type: ignore 

4588 

4589class wasmtime_component_resource_host(ctypes.Structure): 

4590 pass 

4591 

4592wasmtime_component_resource_host_t = wasmtime_component_resource_host 

4593 

4594_wasmtime_component_resource_host_new = dll.wasmtime_component_resource_host_new 

4595_wasmtime_component_resource_host_new.restype = ctypes.POINTER(wasmtime_component_resource_host_t) 

4596_wasmtime_component_resource_host_new.argtypes = [ctypes.c_bool, ctypes.c_uint32, ctypes.c_uint32] 

4597def wasmtime_component_resource_host_new(owned: Any, rep: Any, ty: Any) -> ctypes._Pointer: 

4598 return _wasmtime_component_resource_host_new(owned, rep, ty) # type: ignore 

4599 

4600_wasmtime_component_resource_host_clone = dll.wasmtime_component_resource_host_clone 

4601_wasmtime_component_resource_host_clone.restype = ctypes.POINTER(wasmtime_component_resource_host_t) 

4602_wasmtime_component_resource_host_clone.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4603def wasmtime_component_resource_host_clone(resource: Any) -> ctypes._Pointer: 

4604 return _wasmtime_component_resource_host_clone(resource) # type: ignore 

4605 

4606_wasmtime_component_resource_host_rep = dll.wasmtime_component_resource_host_rep 

4607_wasmtime_component_resource_host_rep.restype = ctypes.c_uint32 

4608_wasmtime_component_resource_host_rep.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4609def wasmtime_component_resource_host_rep(resource: Any) -> int: 

4610 return _wasmtime_component_resource_host_rep(resource) # type: ignore 

4611 

4612_wasmtime_component_resource_host_type = dll.wasmtime_component_resource_host_type 

4613_wasmtime_component_resource_host_type.restype = ctypes.c_uint32 

4614_wasmtime_component_resource_host_type.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4615def wasmtime_component_resource_host_type(resource: Any) -> int: 

4616 return _wasmtime_component_resource_host_type(resource) # type: ignore 

4617 

4618_wasmtime_component_resource_host_owned = dll.wasmtime_component_resource_host_owned 

4619_wasmtime_component_resource_host_owned.restype = ctypes.c_bool 

4620_wasmtime_component_resource_host_owned.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4621def wasmtime_component_resource_host_owned(resource: Any) -> bool: 

4622 return _wasmtime_component_resource_host_owned(resource) # type: ignore 

4623 

4624_wasmtime_component_resource_host_delete = dll.wasmtime_component_resource_host_delete 

4625_wasmtime_component_resource_host_delete.restype = None 

4626_wasmtime_component_resource_host_delete.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4627def wasmtime_component_resource_host_delete(resource: Any) -> None: 

4628 return _wasmtime_component_resource_host_delete(resource) # type: ignore 

4629 

4630_wasmtime_component_resource_any_to_host = dll.wasmtime_component_resource_any_to_host 

4631_wasmtime_component_resource_any_to_host.restype = ctypes.POINTER(wasmtime_error_t) 

4632_wasmtime_component_resource_any_to_host.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_component_resource_any_t), ctypes.POINTER(ctypes.POINTER(wasmtime_component_resource_host_t))] 

4633def wasmtime_component_resource_any_to_host(ctx: Any, resource: Any, ret: Any) -> ctypes._Pointer: 

4634 return _wasmtime_component_resource_any_to_host(ctx, resource, ret) # type: ignore 

4635 

4636_wasmtime_component_resource_host_to_any = dll.wasmtime_component_resource_host_to_any 

4637_wasmtime_component_resource_host_to_any.restype = ctypes.POINTER(wasmtime_error_t) 

4638_wasmtime_component_resource_host_to_any.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_component_resource_host_t), ctypes.POINTER(ctypes.POINTER(wasmtime_component_resource_any_t))] 

4639def wasmtime_component_resource_host_to_any(ctx: Any, resource: Any, ret: Any) -> ctypes._Pointer: 

4640 return _wasmtime_component_resource_host_to_any(ctx, resource, ret) # type: ignore 

4641 

4642wasmtime_component_valkind_t = ctypes.c_uint8 

4643 

4644class wasmtime_component_val(ctypes.Structure): 

4645 pass 

4646 

4647class wasmtime_component_valrecord_entry(ctypes.Structure): 

4648 pass 

4649 

4650class wasmtime_component_valmap_entry(ctypes.Structure): 

4651 pass 

4652 

4653class wasmtime_component_vallist(ctypes.Structure): 

4654 _fields_ = [ 

4655 ("size", ctypes.c_size_t), 

4656 ("data", ctypes.POINTER(wasmtime_component_val)), 

4657 ] 

4658 size: int 

4659 data: ctypes._Pointer 

4660 

4661wasmtime_component_vallist_t = wasmtime_component_vallist 

4662 

4663_wasmtime_component_vallist_new = dll.wasmtime_component_vallist_new 

4664_wasmtime_component_vallist_new.restype = None 

4665_wasmtime_component_vallist_new.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_val)] 

4666def wasmtime_component_vallist_new(out: Any, size: Any, ptr: Any) -> None: 

4667 return _wasmtime_component_vallist_new(out, size, ptr) # type: ignore 

4668 

4669_wasmtime_component_vallist_new_empty = dll.wasmtime_component_vallist_new_empty 

4670_wasmtime_component_vallist_new_empty.restype = None 

4671_wasmtime_component_vallist_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t)] 

4672def wasmtime_component_vallist_new_empty(out: Any) -> None: 

4673 return _wasmtime_component_vallist_new_empty(out) # type: ignore 

4674 

4675_wasmtime_component_vallist_new_uninit = dll.wasmtime_component_vallist_new_uninit 

4676_wasmtime_component_vallist_new_uninit.restype = None 

4677_wasmtime_component_vallist_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t), ctypes.c_size_t] 

4678def wasmtime_component_vallist_new_uninit(out: Any, size: Any) -> None: 

4679 return _wasmtime_component_vallist_new_uninit(out, size) # type: ignore 

4680 

4681_wasmtime_component_vallist_copy = dll.wasmtime_component_vallist_copy 

4682_wasmtime_component_vallist_copy.restype = None 

4683_wasmtime_component_vallist_copy.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t), ctypes.POINTER(wasmtime_component_vallist_t)] 

4684def wasmtime_component_vallist_copy(dst: Any, src: Any) -> None: 

4685 return _wasmtime_component_vallist_copy(dst, src) # type: ignore 

4686 

4687_wasmtime_component_vallist_delete = dll.wasmtime_component_vallist_delete 

4688_wasmtime_component_vallist_delete.restype = None 

4689_wasmtime_component_vallist_delete.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t)] 

4690def wasmtime_component_vallist_delete(value: Any) -> None: 

4691 return _wasmtime_component_vallist_delete(value) # type: ignore 

4692 

4693class wasmtime_component_valrecord(ctypes.Structure): 

4694 _fields_ = [ 

4695 ("size", ctypes.c_size_t), 

4696 ("data", ctypes.POINTER(wasmtime_component_valrecord_entry)), 

4697 ] 

4698 size: int 

4699 data: ctypes._Pointer 

4700 

4701wasmtime_component_valrecord_t = wasmtime_component_valrecord 

4702 

4703_wasmtime_component_valrecord_new = dll.wasmtime_component_valrecord_new 

4704_wasmtime_component_valrecord_new.restype = None 

4705_wasmtime_component_valrecord_new.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_valrecord_entry)] 

4706def wasmtime_component_valrecord_new(out: Any, size: Any, ptr: Any) -> None: 

4707 return _wasmtime_component_valrecord_new(out, size, ptr) # type: ignore 

4708 

4709_wasmtime_component_valrecord_new_empty = dll.wasmtime_component_valrecord_new_empty 

4710_wasmtime_component_valrecord_new_empty.restype = None 

4711_wasmtime_component_valrecord_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t)] 

4712def wasmtime_component_valrecord_new_empty(out: Any) -> None: 

4713 return _wasmtime_component_valrecord_new_empty(out) # type: ignore 

4714 

4715_wasmtime_component_valrecord_new_uninit = dll.wasmtime_component_valrecord_new_uninit 

4716_wasmtime_component_valrecord_new_uninit.restype = None 

4717_wasmtime_component_valrecord_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t), ctypes.c_size_t] 

4718def wasmtime_component_valrecord_new_uninit(out: Any, size: Any) -> None: 

4719 return _wasmtime_component_valrecord_new_uninit(out, size) # type: ignore 

4720 

4721_wasmtime_component_valrecord_copy = dll.wasmtime_component_valrecord_copy 

4722_wasmtime_component_valrecord_copy.restype = None 

4723_wasmtime_component_valrecord_copy.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t), ctypes.POINTER(wasmtime_component_valrecord_t)] 

4724def wasmtime_component_valrecord_copy(dst: Any, src: Any) -> None: 

4725 return _wasmtime_component_valrecord_copy(dst, src) # type: ignore 

4726 

4727_wasmtime_component_valrecord_delete = dll.wasmtime_component_valrecord_delete 

4728_wasmtime_component_valrecord_delete.restype = None 

4729_wasmtime_component_valrecord_delete.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t)] 

4730def wasmtime_component_valrecord_delete(value: Any) -> None: 

4731 return _wasmtime_component_valrecord_delete(value) # type: ignore 

4732 

4733class wasmtime_component_valtuple(ctypes.Structure): 

4734 _fields_ = [ 

4735 ("size", ctypes.c_size_t), 

4736 ("data", ctypes.POINTER(wasmtime_component_val)), 

4737 ] 

4738 size: int 

4739 data: ctypes._Pointer 

4740 

4741wasmtime_component_valtuple_t = wasmtime_component_valtuple 

4742 

4743_wasmtime_component_valtuple_new = dll.wasmtime_component_valtuple_new 

4744_wasmtime_component_valtuple_new.restype = None 

4745_wasmtime_component_valtuple_new.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_val)] 

4746def wasmtime_component_valtuple_new(out: Any, size: Any, ptr: Any) -> None: 

4747 return _wasmtime_component_valtuple_new(out, size, ptr) # type: ignore 

4748 

4749_wasmtime_component_valtuple_new_empty = dll.wasmtime_component_valtuple_new_empty 

4750_wasmtime_component_valtuple_new_empty.restype = None 

4751_wasmtime_component_valtuple_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t)] 

4752def wasmtime_component_valtuple_new_empty(out: Any) -> None: 

4753 return _wasmtime_component_valtuple_new_empty(out) # type: ignore 

4754 

4755_wasmtime_component_valtuple_new_uninit = dll.wasmtime_component_valtuple_new_uninit 

4756_wasmtime_component_valtuple_new_uninit.restype = None 

4757_wasmtime_component_valtuple_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t), ctypes.c_size_t] 

4758def wasmtime_component_valtuple_new_uninit(out: Any, size: Any) -> None: 

4759 return _wasmtime_component_valtuple_new_uninit(out, size) # type: ignore 

4760 

4761_wasmtime_component_valtuple_copy = dll.wasmtime_component_valtuple_copy 

4762_wasmtime_component_valtuple_copy.restype = None 

4763_wasmtime_component_valtuple_copy.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t), ctypes.POINTER(wasmtime_component_valtuple_t)] 

4764def wasmtime_component_valtuple_copy(dst: Any, src: Any) -> None: 

4765 return _wasmtime_component_valtuple_copy(dst, src) # type: ignore 

4766 

4767_wasmtime_component_valtuple_delete = dll.wasmtime_component_valtuple_delete 

4768_wasmtime_component_valtuple_delete.restype = None 

4769_wasmtime_component_valtuple_delete.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t)] 

4770def wasmtime_component_valtuple_delete(value: Any) -> None: 

4771 return _wasmtime_component_valtuple_delete(value) # type: ignore 

4772 

4773class wasmtime_component_valflags(ctypes.Structure): 

4774 _fields_ = [ 

4775 ("size", ctypes.c_size_t), 

4776 ("data", ctypes.POINTER(wasm_name_t)), 

4777 ] 

4778 size: int 

4779 data: ctypes._Pointer 

4780 

4781wasmtime_component_valflags_t = wasmtime_component_valflags 

4782 

4783_wasmtime_component_valflags_new = dll.wasmtime_component_valflags_new 

4784_wasmtime_component_valflags_new.restype = None 

4785_wasmtime_component_valflags_new.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t), ctypes.c_size_t, ctypes.POINTER(wasm_name_t)] 

4786def wasmtime_component_valflags_new(out: Any, size: Any, ptr: Any) -> None: 

4787 return _wasmtime_component_valflags_new(out, size, ptr) # type: ignore 

4788 

4789_wasmtime_component_valflags_new_empty = dll.wasmtime_component_valflags_new_empty 

4790_wasmtime_component_valflags_new_empty.restype = None 

4791_wasmtime_component_valflags_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t)] 

4792def wasmtime_component_valflags_new_empty(out: Any) -> None: 

4793 return _wasmtime_component_valflags_new_empty(out) # type: ignore 

4794 

4795_wasmtime_component_valflags_new_uninit = dll.wasmtime_component_valflags_new_uninit 

4796_wasmtime_component_valflags_new_uninit.restype = None 

4797_wasmtime_component_valflags_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t), ctypes.c_size_t] 

4798def wasmtime_component_valflags_new_uninit(out: Any, size: Any) -> None: 

4799 return _wasmtime_component_valflags_new_uninit(out, size) # type: ignore 

4800 

4801_wasmtime_component_valflags_copy = dll.wasmtime_component_valflags_copy 

4802_wasmtime_component_valflags_copy.restype = None 

4803_wasmtime_component_valflags_copy.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t), ctypes.POINTER(wasmtime_component_valflags_t)] 

4804def wasmtime_component_valflags_copy(dst: Any, src: Any) -> None: 

4805 return _wasmtime_component_valflags_copy(dst, src) # type: ignore 

4806 

4807_wasmtime_component_valflags_delete = dll.wasmtime_component_valflags_delete 

4808_wasmtime_component_valflags_delete.restype = None 

4809_wasmtime_component_valflags_delete.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t)] 

4810def wasmtime_component_valflags_delete(value: Any) -> None: 

4811 return _wasmtime_component_valflags_delete(value) # type: ignore 

4812 

4813class wasmtime_component_valmap(ctypes.Structure): 

4814 _fields_ = [ 

4815 ("size", ctypes.c_size_t), 

4816 ("data", ctypes.POINTER(wasmtime_component_valmap_entry)), 

4817 ] 

4818 size: int 

4819 data: ctypes._Pointer 

4820 

4821wasmtime_component_valmap_t = wasmtime_component_valmap 

4822 

4823_wasmtime_component_valmap_new = dll.wasmtime_component_valmap_new 

4824_wasmtime_component_valmap_new.restype = None 

4825_wasmtime_component_valmap_new.argtypes = [ctypes.POINTER(wasmtime_component_valmap_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_valmap_entry)] 

4826def wasmtime_component_valmap_new(out: Any, size: Any, ptr: Any) -> None: 

4827 return _wasmtime_component_valmap_new(out, size, ptr) # type: ignore 

4828 

4829_wasmtime_component_valmap_new_empty = dll.wasmtime_component_valmap_new_empty 

4830_wasmtime_component_valmap_new_empty.restype = None 

4831_wasmtime_component_valmap_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_valmap_t)] 

4832def wasmtime_component_valmap_new_empty(out: Any) -> None: 

4833 return _wasmtime_component_valmap_new_empty(out) # type: ignore 

4834 

4835_wasmtime_component_valmap_new_uninit = dll.wasmtime_component_valmap_new_uninit 

4836_wasmtime_component_valmap_new_uninit.restype = None 

4837_wasmtime_component_valmap_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_valmap_t), ctypes.c_size_t] 

4838def wasmtime_component_valmap_new_uninit(out: Any, size: Any) -> None: 

4839 return _wasmtime_component_valmap_new_uninit(out, size) # type: ignore 

4840 

4841_wasmtime_component_valmap_copy = dll.wasmtime_component_valmap_copy 

4842_wasmtime_component_valmap_copy.restype = None 

4843_wasmtime_component_valmap_copy.argtypes = [ctypes.POINTER(wasmtime_component_valmap_t), ctypes.POINTER(wasmtime_component_valmap_t)] 

4844def wasmtime_component_valmap_copy(dst: Any, src: Any) -> None: 

4845 return _wasmtime_component_valmap_copy(dst, src) # type: ignore 

4846 

4847_wasmtime_component_valmap_delete = dll.wasmtime_component_valmap_delete 

4848_wasmtime_component_valmap_delete.restype = None 

4849_wasmtime_component_valmap_delete.argtypes = [ctypes.POINTER(wasmtime_component_valmap_t)] 

4850def wasmtime_component_valmap_delete(value: Any) -> None: 

4851 return _wasmtime_component_valmap_delete(value) # type: ignore 

4852 

4853class wasmtime_component_valvariant(ctypes.Structure): 

4854 _fields_ = [ 

4855 ("discriminant", wasm_name_t), 

4856 ("val", ctypes.POINTER(wasmtime_component_val)), 

4857 ] 

4858 discriminant: wasm_name_t 

4859 val: ctypes._Pointer 

4860 

4861wasmtime_component_valvariant_t = wasmtime_component_valvariant 

4862 

4863class wasmtime_component_valresult(ctypes.Structure): 

4864 _fields_ = [ 

4865 ("is_ok", ctypes.c_bool), 

4866 ("val", ctypes.POINTER(wasmtime_component_val)), 

4867 ] 

4868 is_ok: bool 

4869 val: ctypes._Pointer 

4870 

4871wasmtime_component_valresult_t = wasmtime_component_valresult 

4872 

4873class wasmtime_component_valunion(ctypes.Union): 

4874 _fields_ = [ 

4875 ("boolean", ctypes.c_bool), 

4876 ("s8", ctypes.c_int8), 

4877 ("u8", ctypes.c_uint8), 

4878 ("s16", ctypes.c_int16), 

4879 ("u16", ctypes.c_uint16), 

4880 ("s32", ctypes.c_int32), 

4881 ("u32", ctypes.c_uint32), 

4882 ("s64", ctypes.c_int64), 

4883 ("u64", ctypes.c_uint64), 

4884 ("f32", ctypes.c_float), 

4885 ("f64", ctypes.c_double), 

4886 ("character", ctypes.c_uint32), 

4887 ("string", wasm_name_t), 

4888 ("list", wasmtime_component_vallist_t), 

4889 ("record", wasmtime_component_valrecord_t), 

4890 ("tuple", wasmtime_component_valtuple_t), 

4891 ("variant", wasmtime_component_valvariant_t), 

4892 ("enumeration", wasm_name_t), 

4893 ("option", ctypes.POINTER(wasmtime_component_val)), 

4894 ("result", wasmtime_component_valresult_t), 

4895 ("flags", wasmtime_component_valflags_t), 

4896 ("map", wasmtime_component_valmap_t), 

4897 ("resource", ctypes.POINTER(wasmtime_component_resource_any_t)), 

4898 ] 

4899 boolean: bool 

4900 s8: ctypes.c_int8 

4901 u8: ctypes.c_uint8 

4902 s16: ctypes.c_int16 

4903 u16: ctypes.c_uint16 

4904 s32: int 

4905 u32: int 

4906 s64: int 

4907 u64: int 

4908 f32: float 

4909 f64: float 

4910 character: int 

4911 string: wasm_name_t 

4912 list: wasmtime_component_vallist_t 

4913 record: wasmtime_component_valrecord_t 

4914 tuple: wasmtime_component_valtuple_t 

4915 variant: wasmtime_component_valvariant_t 

4916 enumeration: wasm_name_t 

4917 option: ctypes._Pointer 

4918 result: wasmtime_component_valresult_t 

4919 flags: wasmtime_component_valflags_t 

4920 map: wasmtime_component_valmap_t 

4921 resource: ctypes._Pointer 

4922 

4923wasmtime_component_valunion_t = wasmtime_component_valunion 

4924 

4925wasmtime_component_val._fields_ = [ 

4926 ("kind", wasmtime_component_valkind_t), 

4927 ("of", wasmtime_component_valunion_t), 

4928 ] 

4929 

4930wasmtime_component_val_t = wasmtime_component_val 

4931 

4932wasmtime_component_valrecord_entry._fields_ = [ 

4933 ("name", wasm_name_t), 

4934 ("val", wasmtime_component_val_t), 

4935 ] 

4936 

4937wasmtime_component_valrecord_entry_t = wasmtime_component_valrecord_entry 

4938 

4939wasmtime_component_valmap_entry._fields_ = [ 

4940 ("key", wasmtime_component_val_t), 

4941 ("value", wasmtime_component_val_t), 

4942 ] 

4943 

4944wasmtime_component_valmap_entry_t = wasmtime_component_valmap_entry 

4945 

4946_wasmtime_component_val_new = dll.wasmtime_component_val_new 

4947_wasmtime_component_val_new.restype = ctypes.POINTER(wasmtime_component_val_t) 

4948_wasmtime_component_val_new.argtypes = [ctypes.POINTER(wasmtime_component_val_t)] 

4949def wasmtime_component_val_new(val: Any) -> ctypes._Pointer: 

4950 return _wasmtime_component_val_new(val) # type: ignore 

4951 

4952_wasmtime_component_val_free = dll.wasmtime_component_val_free 

4953_wasmtime_component_val_free.restype = None 

4954_wasmtime_component_val_free.argtypes = [ctypes.POINTER(wasmtime_component_val_t)] 

4955def wasmtime_component_val_free(ptr: Any) -> None: 

4956 return _wasmtime_component_val_free(ptr) # type: ignore 

4957 

4958_wasmtime_component_val_clone = dll.wasmtime_component_val_clone 

4959_wasmtime_component_val_clone.restype = None 

4960_wasmtime_component_val_clone.argtypes = [ctypes.POINTER(wasmtime_component_val_t), ctypes.POINTER(wasmtime_component_val_t)] 

4961def wasmtime_component_val_clone(src: Any, dst: Any) -> None: 

4962 return _wasmtime_component_val_clone(src, dst) # type: ignore 

4963 

4964_wasmtime_component_val_delete = dll.wasmtime_component_val_delete 

4965_wasmtime_component_val_delete.restype = None 

4966_wasmtime_component_val_delete.argtypes = [ctypes.POINTER(wasmtime_component_val_t)] 

4967def wasmtime_component_val_delete(value: Any) -> None: 

4968 return _wasmtime_component_val_delete(value) # type: ignore 

4969 

4970 

4971class wasmtime_component_func_anon_0(ctypes.Structure): 

4972 _fields_ = [ 

4973 ("store_id", ctypes.c_uint64), 

4974 ("__private1", ctypes.c_uint32), 

4975 ] 

4976 store_id: int 

4977 __private1: int 

4978class wasmtime_component_func(ctypes.Structure): 

4979 _fields_ = [ 

4980 ("_anon_1", wasmtime_component_func_anon_0), 

4981 ("__private2", ctypes.c_uint32), 

4982 ] 

4983 _anon_1: wasmtime_component_func_anon_0 

4984 __private2: int 

4985 

4986wasmtime_component_func_t = wasmtime_component_func 

4987 

4988_wasmtime_component_func_type = dll.wasmtime_component_func_type 

4989_wasmtime_component_func_type.restype = ctypes.POINTER(wasmtime_component_func_type_t) 

4990_wasmtime_component_func_type.argtypes = [ctypes.POINTER(wasmtime_component_func_t), ctypes.POINTER(wasmtime_context_t)] 

4991def wasmtime_component_func_type(func: Any, context: Any) -> ctypes._Pointer: 

4992 return _wasmtime_component_func_type(func, context) # type: ignore 

4993 

4994_wasmtime_component_func_call = dll.wasmtime_component_func_call 

4995_wasmtime_component_func_call.restype = ctypes.POINTER(wasmtime_error_t) 

4996_wasmtime_component_func_call.argtypes = [ctypes.POINTER(wasmtime_component_func_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_component_val_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_val_t), ctypes.c_size_t] 

4997def wasmtime_component_func_call(func: Any, context: Any, args: Any, args_size: Any, results: Any, results_size: Any) -> ctypes._Pointer: 

4998 return _wasmtime_component_func_call(func, context, args, args_size, results, results_size) # type: ignore 

4999 

5000_wasmtime_component_func_post_return = dll.wasmtime_component_func_post_return 

5001_wasmtime_component_func_post_return.restype = ctypes.POINTER(wasmtime_error_t) 

5002_wasmtime_component_func_post_return.argtypes = [ctypes.POINTER(wasmtime_component_func_t), ctypes.POINTER(wasmtime_context_t)] 

5003def wasmtime_component_func_post_return(func: Any, context: Any) -> ctypes._Pointer: 

5004 return _wasmtime_component_func_post_return(func, context) # type: ignore 

5005 

5006_wasmtime_component_func_call_async = dll.wasmtime_component_func_call_async 

5007_wasmtime_component_func_call_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

5008_wasmtime_component_func_call_async.argtypes = [ctypes.POINTER(wasmtime_component_func_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_component_val_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_val_t), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(wasmtime_error_t))] 

5009def wasmtime_component_func_call_async(func: Any, context: Any, args: Any, args_size: Any, results: Any, results_size: Any, error_ret: Any) -> ctypes._Pointer: 

5010 return _wasmtime_component_func_call_async(func, context, args, args_size, results, results_size, error_ret) # type: ignore 

5011 

5012class wasmtime_component_instance(ctypes.Structure): 

5013 _fields_ = [ 

5014 ("store_id", ctypes.c_uint64), 

5015 ("__private", ctypes.c_uint32), 

5016 ] 

5017 store_id: int 

5018 __private: int 

5019 

5020wasmtime_component_instance_t = wasmtime_component_instance 

5021 

5022_wasmtime_component_instance_get_export_index = dll.wasmtime_component_instance_get_export_index 

5023_wasmtime_component_instance_get_export_index.restype = ctypes.POINTER(wasmtime_component_export_index_t) 

5024_wasmtime_component_instance_get_export_index.argtypes = [ctypes.POINTER(wasmtime_component_instance_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_component_export_index_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t] 

5025def wasmtime_component_instance_get_export_index(instance: Any, context: Any, instance_export_index: Any, name: Any, name_len: Any) -> ctypes._Pointer: 

5026 return _wasmtime_component_instance_get_export_index(instance, context, instance_export_index, name, name_len) # type: ignore 

5027 

5028_wasmtime_component_instance_get_func = dll.wasmtime_component_instance_get_func 

5029_wasmtime_component_instance_get_func.restype = ctypes.c_bool 

5030_wasmtime_component_instance_get_func.argtypes = [ctypes.POINTER(wasmtime_component_instance_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_component_export_index_t), ctypes.POINTER(wasmtime_component_func_t)] 

5031def wasmtime_component_instance_get_func(instance: Any, context: Any, export_index: Any, func_out: Any) -> bool: 

5032 return _wasmtime_component_instance_get_func(instance, context, export_index, func_out) # type: ignore 

5033 

5034class wasmtime_component_linker_t(ctypes.Structure): 

5035 pass 

5036 

5037class wasmtime_component_linker_instance_t(ctypes.Structure): 

5038 pass 

5039 

5040_wasmtime_component_linker_new = dll.wasmtime_component_linker_new 

5041_wasmtime_component_linker_new.restype = ctypes.POINTER(wasmtime_component_linker_t) 

5042_wasmtime_component_linker_new.argtypes = [ctypes.POINTER(wasm_engine_t)] 

5043def wasmtime_component_linker_new(engine: Any) -> ctypes._Pointer: 

5044 return _wasmtime_component_linker_new(engine) # type: ignore 

5045 

5046_wasmtime_component_linker_allow_shadowing = dll.wasmtime_component_linker_allow_shadowing 

5047_wasmtime_component_linker_allow_shadowing.restype = None 

5048_wasmtime_component_linker_allow_shadowing.argtypes = [ctypes.POINTER(wasmtime_component_linker_t), ctypes.c_bool] 

5049def wasmtime_component_linker_allow_shadowing(linker: Any, allow: Any) -> None: 

5050 return _wasmtime_component_linker_allow_shadowing(linker, allow) # type: ignore 

5051 

5052_wasmtime_component_linker_root = dll.wasmtime_component_linker_root 

5053_wasmtime_component_linker_root.restype = ctypes.POINTER(wasmtime_component_linker_instance_t) 

5054_wasmtime_component_linker_root.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5055def wasmtime_component_linker_root(linker: Any) -> ctypes._Pointer: 

5056 return _wasmtime_component_linker_root(linker) # type: ignore 

5057 

5058_wasmtime_component_linker_instantiate = dll.wasmtime_component_linker_instantiate 

5059_wasmtime_component_linker_instantiate.restype = ctypes.POINTER(wasmtime_error_t) 

5060_wasmtime_component_linker_instantiate.argtypes = [ctypes.POINTER(wasmtime_component_linker_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_component_t), ctypes.POINTER(wasmtime_component_instance_t)] 

5061def wasmtime_component_linker_instantiate(linker: Any, context: Any, component: Any, instance_out: Any) -> ctypes._Pointer: 

5062 return _wasmtime_component_linker_instantiate(linker, context, component, instance_out) # type: ignore 

5063 

5064_wasmtime_component_linker_define_unknown_imports_as_traps = dll.wasmtime_component_linker_define_unknown_imports_as_traps 

5065_wasmtime_component_linker_define_unknown_imports_as_traps.restype = ctypes.POINTER(wasmtime_error_t) 

5066_wasmtime_component_linker_define_unknown_imports_as_traps.argtypes = [ctypes.POINTER(wasmtime_component_linker_t), ctypes.POINTER(wasmtime_component_t)] 

5067def wasmtime_component_linker_define_unknown_imports_as_traps(linker: Any, component: Any) -> ctypes._Pointer: 

5068 return _wasmtime_component_linker_define_unknown_imports_as_traps(linker, component) # type: ignore 

5069 

5070_wasmtime_component_linker_delete = dll.wasmtime_component_linker_delete 

5071_wasmtime_component_linker_delete.restype = None 

5072_wasmtime_component_linker_delete.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5073def wasmtime_component_linker_delete(linker: Any) -> None: 

5074 return _wasmtime_component_linker_delete(linker) # type: ignore 

5075 

5076_wasmtime_component_linker_instance_add_instance = dll.wasmtime_component_linker_instance_add_instance 

5077_wasmtime_component_linker_instance_add_instance.restype = ctypes.POINTER(wasmtime_error_t) 

5078_wasmtime_component_linker_instance_add_instance.argtypes = [ctypes.POINTER(wasmtime_component_linker_instance_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(wasmtime_component_linker_instance_t))] 

5079def wasmtime_component_linker_instance_add_instance(linker_instance: Any, name: Any, name_len: Any, linker_instance_out: Any) -> ctypes._Pointer: 

5080 return _wasmtime_component_linker_instance_add_instance(linker_instance, name, name_len, linker_instance_out) # type: ignore 

5081 

5082_wasmtime_component_linker_instance_add_module = dll.wasmtime_component_linker_instance_add_module 

5083_wasmtime_component_linker_instance_add_module.restype = ctypes.POINTER(wasmtime_error_t) 

5084_wasmtime_component_linker_instance_add_module.argtypes = [ctypes.POINTER(wasmtime_component_linker_instance_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasmtime_module_t)] 

5085def wasmtime_component_linker_instance_add_module(linker_instance: Any, name: Any, name_len: Any, module: Any) -> ctypes._Pointer: 

5086 return _wasmtime_component_linker_instance_add_module(linker_instance, name, name_len, module) # type: ignore 

5087 

5088wasmtime_component_func_callback_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_component_func_type_t), ctypes.POINTER(wasmtime_component_val_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_val_t), ctypes.c_size_t) 

5089 

5090_wasmtime_component_linker_instance_add_func = dll.wasmtime_component_linker_instance_add_func 

5091_wasmtime_component_linker_instance_add_func.restype = ctypes.POINTER(wasmtime_error_t) 

5092_wasmtime_component_linker_instance_add_func.argtypes = [ctypes.POINTER(wasmtime_component_linker_instance_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, wasmtime_component_func_callback_t, ctypes.c_void_p, ctypes.CFUNCTYPE(None, ctypes.c_void_p)] 

5093def wasmtime_component_linker_instance_add_func(linker_instance: Any, name: Any, name_len: Any, callback: Any, data: Any, finalizer: Any) -> ctypes._Pointer: 

5094 return _wasmtime_component_linker_instance_add_func(linker_instance, name, name_len, callback, data, finalizer) # type: ignore 

5095 

5096_wasmtime_component_linker_add_wasip2 = dll.wasmtime_component_linker_add_wasip2 

5097_wasmtime_component_linker_add_wasip2.restype = ctypes.POINTER(wasmtime_error_t) 

5098_wasmtime_component_linker_add_wasip2.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5099def wasmtime_component_linker_add_wasip2(linker: Any) -> ctypes._Pointer: 

5100 return _wasmtime_component_linker_add_wasip2(linker) # type: ignore 

5101 

5102_wasmtime_component_linker_add_wasi_http = dll.wasmtime_component_linker_add_wasi_http 

5103_wasmtime_component_linker_add_wasi_http.restype = ctypes.POINTER(wasmtime_error_t) 

5104_wasmtime_component_linker_add_wasi_http.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5105def wasmtime_component_linker_add_wasi_http(linker: Any) -> ctypes._Pointer: 

5106 return _wasmtime_component_linker_add_wasi_http(linker) # type: ignore 

5107 

5108wasmtime_component_resource_destructor_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.POINTER(wasmtime_context_t), ctypes.c_uint32) 

5109 

5110_wasmtime_component_linker_instance_add_resource = dll.wasmtime_component_linker_instance_add_resource 

5111_wasmtime_component_linker_instance_add_resource.restype = ctypes.POINTER(wasmtime_error_t) 

5112_wasmtime_component_linker_instance_add_resource.argtypes = [ctypes.POINTER(wasmtime_component_linker_instance_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_resource_type_t), wasmtime_component_resource_destructor_t, ctypes.c_void_p, ctypes.CFUNCTYPE(None, ctypes.c_void_p)] 

5113def wasmtime_component_linker_instance_add_resource(linker_instance: Any, name: Any, name_len: Any, resource: Any, destructor: Any, data: Any, finalizer: Any) -> ctypes._Pointer: 

5114 return _wasmtime_component_linker_instance_add_resource(linker_instance, name, name_len, resource, destructor, data, finalizer) # type: ignore 

5115 

5116_wasmtime_component_linker_instance_delete = dll.wasmtime_component_linker_instance_delete 

5117_wasmtime_component_linker_instance_delete.restype = None 

5118_wasmtime_component_linker_instance_delete.argtypes = [ctypes.POINTER(wasmtime_component_linker_instance_t)] 

5119def wasmtime_component_linker_instance_delete(linker_instance: Any) -> None: 

5120 return _wasmtime_component_linker_instance_delete(linker_instance) # type: ignore 

5121 

5122_wasmtime_component_linker_instantiate_async = dll.wasmtime_component_linker_instantiate_async 

5123_wasmtime_component_linker_instantiate_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

5124_wasmtime_component_linker_instantiate_async.argtypes = [ctypes.POINTER(wasmtime_component_linker_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_component_t), ctypes.POINTER(wasmtime_component_instance_t), ctypes.POINTER(ctypes.POINTER(wasmtime_error_t))] 

5125def wasmtime_component_linker_instantiate_async(linker: Any, context: Any, component: Any, instance_out: Any, error_ret: Any) -> ctypes._Pointer: 

5126 return _wasmtime_component_linker_instantiate_async(linker, context, component, instance_out, error_ret) # type: ignore 

5127 

5128wasmtime_component_func_async_callback_t = ctypes.CFUNCTYPE(None, ctypes.c_void_p, ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_component_func_type_t), ctypes.POINTER(wasmtime_component_val_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_val_t), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(wasmtime_error_t)), ctypes.POINTER(wasmtime_async_continuation_t)) 

5129 

5130_wasmtime_component_linker_instance_add_func_async = dll.wasmtime_component_linker_instance_add_func_async 

5131_wasmtime_component_linker_instance_add_func_async.restype = ctypes.POINTER(wasmtime_error_t) 

5132_wasmtime_component_linker_instance_add_func_async.argtypes = [ctypes.POINTER(wasmtime_component_linker_instance_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, wasmtime_component_func_async_callback_t, ctypes.c_void_p, ctypes.CFUNCTYPE(None, ctypes.c_void_p)] 

5133def wasmtime_component_linker_instance_add_func_async(linker_instance: Any, name: Any, name_len: Any, callback: Any, data: Any, finalizer: Any) -> ctypes._Pointer: 

5134 return _wasmtime_component_linker_instance_add_func_async(linker_instance, name, name_len, callback, data, finalizer) # type: ignore 

5135 

5136_wasmtime_component_linker_add_wasip2_async = dll.wasmtime_component_linker_add_wasip2_async 

5137_wasmtime_component_linker_add_wasip2_async.restype = ctypes.POINTER(wasmtime_error_t) 

5138_wasmtime_component_linker_add_wasip2_async.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5139def wasmtime_component_linker_add_wasip2_async(linker: Any) -> ctypes._Pointer: 

5140 return _wasmtime_component_linker_add_wasip2_async(linker) # type: ignore 

5141 

5142_wasmtime_component_linker_add_wasi_http_async = dll.wasmtime_component_linker_add_wasi_http_async 

5143_wasmtime_component_linker_add_wasi_http_async.restype = ctypes.POINTER(wasmtime_error_t) 

5144_wasmtime_component_linker_add_wasi_http_async.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5145def wasmtime_component_linker_add_wasi_http_async(linker: Any) -> ctypes._Pointer: 

5146 return _wasmtime_component_linker_add_wasi_http_async(linker) # type: ignore 

5147 

5148_wasmtime_engine_clone = dll.wasmtime_engine_clone 

5149_wasmtime_engine_clone.restype = ctypes.POINTER(wasm_engine_t) 

5150_wasmtime_engine_clone.argtypes = [ctypes.POINTER(wasm_engine_t)] 

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

5152 return _wasmtime_engine_clone(engine) # type: ignore 

5153 

5154_wasmtime_engine_increment_epoch = dll.wasmtime_engine_increment_epoch 

5155_wasmtime_engine_increment_epoch.restype = None 

5156_wasmtime_engine_increment_epoch.argtypes = [ctypes.POINTER(wasm_engine_t)] 

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

5158 return _wasmtime_engine_increment_epoch(engine) # type: ignore 

5159 

5160_wasmtime_engine_is_pulley = dll.wasmtime_engine_is_pulley 

5161_wasmtime_engine_is_pulley.restype = ctypes.c_bool 

5162_wasmtime_engine_is_pulley.argtypes = [ctypes.POINTER(wasm_engine_t)] 

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

5164 return _wasmtime_engine_is_pulley(engine) # type: ignore 

5165 

5166_wasmtime_eqref_clone = dll.wasmtime_eqref_clone 

5167_wasmtime_eqref_clone.restype = None 

5168_wasmtime_eqref_clone.argtypes = [ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(wasmtime_eqref_t)] 

5169def wasmtime_eqref_clone(eqref: Any, out: Any) -> None: 

5170 return _wasmtime_eqref_clone(eqref, out) # type: ignore 

5171 

5172_wasmtime_eqref_unroot = dll.wasmtime_eqref_unroot 

5173_wasmtime_eqref_unroot.restype = None 

5174_wasmtime_eqref_unroot.argtypes = [ctypes.POINTER(wasmtime_eqref_t)] 

5175def wasmtime_eqref_unroot(ref: Any) -> None: 

5176 return _wasmtime_eqref_unroot(ref) # type: ignore 

5177 

5178_wasmtime_eqref_to_anyref = dll.wasmtime_eqref_to_anyref 

5179_wasmtime_eqref_to_anyref.restype = None 

5180_wasmtime_eqref_to_anyref.argtypes = [ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(wasmtime_anyref_t)] 

5181def wasmtime_eqref_to_anyref(eqref: Any, out: Any) -> None: 

5182 return _wasmtime_eqref_to_anyref(eqref, out) # type: ignore 

5183 

5184_wasmtime_eqref_from_i31 = dll.wasmtime_eqref_from_i31 

5185_wasmtime_eqref_from_i31.restype = None 

5186_wasmtime_eqref_from_i31.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint32, ctypes.POINTER(wasmtime_eqref_t)] 

5187def wasmtime_eqref_from_i31(context: Any, i31val: Any, out: Any) -> None: 

5188 return _wasmtime_eqref_from_i31(context, i31val, out) # type: ignore 

5189 

5190_wasmtime_eqref_is_i31 = dll.wasmtime_eqref_is_i31 

5191_wasmtime_eqref_is_i31.restype = ctypes.c_bool 

5192_wasmtime_eqref_is_i31.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t)] 

5193def wasmtime_eqref_is_i31(context: Any, eqref: Any) -> bool: 

5194 return _wasmtime_eqref_is_i31(context, eqref) # type: ignore 

5195 

5196_wasmtime_eqref_i31_get_u = dll.wasmtime_eqref_i31_get_u 

5197_wasmtime_eqref_i31_get_u.restype = ctypes.c_bool 

5198_wasmtime_eqref_i31_get_u.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(ctypes.c_uint32)] 

5199def wasmtime_eqref_i31_get_u(context: Any, eqref: Any, dst: Any) -> bool: 

5200 return _wasmtime_eqref_i31_get_u(context, eqref, dst) # type: ignore 

5201 

5202_wasmtime_eqref_i31_get_s = dll.wasmtime_eqref_i31_get_s 

5203_wasmtime_eqref_i31_get_s.restype = ctypes.c_bool 

5204_wasmtime_eqref_i31_get_s.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(ctypes.c_int32)] 

5205def wasmtime_eqref_i31_get_s(context: Any, eqref: Any, dst: Any) -> bool: 

5206 return _wasmtime_eqref_i31_get_s(context, eqref, dst) # type: ignore 

5207 

5208_wasmtime_eqref_is_array = dll.wasmtime_eqref_is_array 

5209_wasmtime_eqref_is_array.restype = ctypes.c_bool 

5210_wasmtime_eqref_is_array.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t)] 

5211def wasmtime_eqref_is_array(context: Any, eqref: Any) -> bool: 

5212 return _wasmtime_eqref_is_array(context, eqref) # type: ignore 

5213 

5214_wasmtime_eqref_as_array = dll.wasmtime_eqref_as_array 

5215_wasmtime_eqref_as_array.restype = ctypes.c_bool 

5216_wasmtime_eqref_as_array.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(wasmtime_arrayref_t)] 

5217def wasmtime_eqref_as_array(context: Any, eqref: Any, out: Any) -> bool: 

5218 return _wasmtime_eqref_as_array(context, eqref, out) # type: ignore 

5219 

5220_wasmtime_eqref_is_struct = dll.wasmtime_eqref_is_struct 

5221_wasmtime_eqref_is_struct.restype = ctypes.c_bool 

5222_wasmtime_eqref_is_struct.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t)] 

5223def wasmtime_eqref_is_struct(context: Any, eqref: Any) -> bool: 

5224 return _wasmtime_eqref_is_struct(context, eqref) # type: ignore 

5225 

5226_wasmtime_eqref_as_struct = dll.wasmtime_eqref_as_struct 

5227_wasmtime_eqref_as_struct.restype = ctypes.c_bool 

5228_wasmtime_eqref_as_struct.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(wasmtime_structref_t)] 

5229def wasmtime_eqref_as_struct(context: Any, eqref: Any, out: Any) -> bool: 

5230 return _wasmtime_eqref_as_struct(context, eqref, out) # type: ignore 

5231 

5232_wasmtime_eqref_type = dll.wasmtime_eqref_type 

5233_wasmtime_eqref_type.restype = ctypes.c_bool 

5234_wasmtime_eqref_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(wasmtime_heaptype_t)] 

5235def wasmtime_eqref_type(context: Any, eqref: Any, out: Any) -> bool: 

5236 return _wasmtime_eqref_type(context, eqref, out) # type: ignore 

5237 

5238_wasmtime_exnref_new = dll.wasmtime_exnref_new 

5239_wasmtime_exnref_new.restype = ctypes.POINTER(wasmtime_error_t) 

5240_wasmtime_exnref_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_tag_t), ctypes.POINTER(wasmtime_val_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_exnref_t)] 

5241def wasmtime_exnref_new(store: Any, tag: Any, fields: Any, nfields: Any, exn_ret: Any) -> ctypes._Pointer: 

5242 return _wasmtime_exnref_new(store, tag, fields, nfields, exn_ret) # type: ignore 

5243 

5244_wasmtime_exnref_clone = dll.wasmtime_exnref_clone 

5245_wasmtime_exnref_clone.restype = None 

5246_wasmtime_exnref_clone.argtypes = [ctypes.POINTER(wasmtime_exnref_t), ctypes.POINTER(wasmtime_exnref_t)] 

5247def wasmtime_exnref_clone(ref: Any, out: Any) -> None: 

5248 return _wasmtime_exnref_clone(ref, out) # type: ignore 

5249 

5250_wasmtime_exnref_unroot = dll.wasmtime_exnref_unroot 

5251_wasmtime_exnref_unroot.restype = None 

5252_wasmtime_exnref_unroot.argtypes = [ctypes.POINTER(wasmtime_exnref_t)] 

5253def wasmtime_exnref_unroot(ref: Any) -> None: 

5254 return _wasmtime_exnref_unroot(ref) # type: ignore 

5255 

5256_wasmtime_exnref_from_raw = dll.wasmtime_exnref_from_raw 

5257_wasmtime_exnref_from_raw.restype = None 

5258_wasmtime_exnref_from_raw.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint32, ctypes.POINTER(wasmtime_exnref_t)] 

5259def wasmtime_exnref_from_raw(context: Any, raw: Any, out: Any) -> None: 

5260 return _wasmtime_exnref_from_raw(context, raw, out) # type: ignore 

5261 

5262_wasmtime_exnref_to_raw = dll.wasmtime_exnref_to_raw 

5263_wasmtime_exnref_to_raw.restype = ctypes.c_uint32 

5264_wasmtime_exnref_to_raw.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exnref_t)] 

5265def wasmtime_exnref_to_raw(context: Any, ref: Any) -> int: 

5266 return _wasmtime_exnref_to_raw(context, ref) # type: ignore 

5267 

5268_wasmtime_exnref_tag = dll.wasmtime_exnref_tag 

5269_wasmtime_exnref_tag.restype = ctypes.POINTER(wasmtime_error_t) 

5270_wasmtime_exnref_tag.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exnref_t), ctypes.POINTER(wasmtime_tag_t)] 

5271def wasmtime_exnref_tag(store: Any, exn: Any, tag_ret: Any) -> ctypes._Pointer: 

5272 return _wasmtime_exnref_tag(store, exn, tag_ret) # type: ignore 

5273 

5274_wasmtime_exnref_field_count = dll.wasmtime_exnref_field_count 

5275_wasmtime_exnref_field_count.restype = ctypes.c_size_t 

5276_wasmtime_exnref_field_count.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exnref_t)] 

5277def wasmtime_exnref_field_count(store: Any, exn: Any) -> int: 

5278 return _wasmtime_exnref_field_count(store, exn) # type: ignore 

5279 

5280_wasmtime_exnref_field = dll.wasmtime_exnref_field 

5281_wasmtime_exnref_field.restype = ctypes.POINTER(wasmtime_error_t) 

5282_wasmtime_exnref_field.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exnref_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_val_t)] 

5283def wasmtime_exnref_field(store: Any, exn: Any, index: Any, val_ret: Any) -> ctypes._Pointer: 

5284 return _wasmtime_exnref_field(store, exn, index, val_ret) # type: ignore 

5285 

5286_wasmtime_context_set_exception = dll.wasmtime_context_set_exception 

5287_wasmtime_context_set_exception.restype = ctypes.POINTER(wasm_trap_t) 

5288_wasmtime_context_set_exception.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exnref_t)] 

5289def wasmtime_context_set_exception(store: Any, exn: Any) -> ctypes._Pointer: 

5290 return _wasmtime_context_set_exception(store, exn) # type: ignore 

5291 

5292_wasmtime_context_take_exception = dll.wasmtime_context_take_exception 

5293_wasmtime_context_take_exception.restype = ctypes.c_bool 

5294_wasmtime_context_take_exception.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exnref_t)] 

5295def wasmtime_context_take_exception(store: Any, exn_ret: Any) -> bool: 

5296 return _wasmtime_context_take_exception(store, exn_ret) # type: ignore 

5297 

5298_wasmtime_context_has_exception = dll.wasmtime_context_has_exception 

5299_wasmtime_context_has_exception.restype = ctypes.c_bool 

5300_wasmtime_context_has_exception.argtypes = [ctypes.POINTER(wasmtime_context_t)] 

5301def wasmtime_context_has_exception(store: Any) -> bool: 

5302 return _wasmtime_context_has_exception(store) # type: ignore 

5303 

5304_wasmtime_exnref_type = dll.wasmtime_exnref_type 

5305_wasmtime_exnref_type.restype = ctypes.POINTER(wasmtime_exn_type_t) 

5306_wasmtime_exnref_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exnref_t)] 

5307def wasmtime_exnref_type(context: Any, exnref: Any) -> ctypes._Pointer: 

5308 return _wasmtime_exnref_type(context, exnref) # type: ignore 

5309 

5310_wasmtime_externref_new = dll.wasmtime_externref_new 

5311_wasmtime_externref_new.restype = ctypes.c_bool 

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

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

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

5315 

5316_wasmtime_externref_data = dll.wasmtime_externref_data 

5317_wasmtime_externref_data.restype = ctypes.c_void_p 

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

5319def wasmtime_externref_data(context: Any, data: Any) -> ctypes._Pointer: 

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

5321 

5322_wasmtime_externref_clone = dll.wasmtime_externref_clone 

5323_wasmtime_externref_clone.restype = None 

5324_wasmtime_externref_clone.argtypes = [ctypes.POINTER(wasmtime_externref_t), ctypes.POINTER(wasmtime_externref_t)] 

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

5326 return _wasmtime_externref_clone(ref, out) # type: ignore 

5327 

5328_wasmtime_externref_unroot = dll.wasmtime_externref_unroot 

5329_wasmtime_externref_unroot.restype = None 

5330_wasmtime_externref_unroot.argtypes = [ctypes.POINTER(wasmtime_externref_t)] 

5331def wasmtime_externref_unroot(ref: Any) -> None: 

5332 return _wasmtime_externref_unroot(ref) # type: ignore 

5333 

5334_wasmtime_externref_from_raw = dll.wasmtime_externref_from_raw 

5335_wasmtime_externref_from_raw.restype = None 

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

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

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

5339 

5340_wasmtime_externref_to_raw = dll.wasmtime_externref_to_raw 

5341_wasmtime_externref_to_raw.restype = ctypes.c_uint32 

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

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

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

5345 

5346_wasmtime_global_new = dll.wasmtime_global_new 

5347_wasmtime_global_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

5351 

5352_wasmtime_global_type = dll.wasmtime_global_type 

5353_wasmtime_global_type.restype = ctypes.POINTER(wasm_globaltype_t) 

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

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

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

5357 

5358_wasmtime_global_get = dll.wasmtime_global_get 

5359_wasmtime_global_get.restype = None 

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

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

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

5363 

5364_wasmtime_global_set = dll.wasmtime_global_set 

5365_wasmtime_global_set.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

5369 

5370_wasmtime_memorytype_new = dll.wasmtime_memorytype_new 

5371_wasmtime_memorytype_new.restype = ctypes.POINTER(wasmtime_error_t) 

5372_wasmtime_memorytype_new.argtypes = [ctypes.c_uint64, ctypes.c_bool, ctypes.c_uint64, ctypes.c_bool, ctypes.c_bool, ctypes.c_uint8, ctypes.POINTER(ctypes.POINTER(wasm_memorytype_t))] 

5373def wasmtime_memorytype_new(min: Any, max_present: Any, max: Any, is_64: Any, shared: Any, page_size_log2: Any, ret: Any) -> ctypes._Pointer: 

5374 return _wasmtime_memorytype_new(min, max_present, max, is_64, shared, page_size_log2, ret) # type: ignore 

5375 

5376_wasmtime_memorytype_minimum = dll.wasmtime_memorytype_minimum 

5377_wasmtime_memorytype_minimum.restype = ctypes.c_uint64 

5378_wasmtime_memorytype_minimum.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

5379def wasmtime_memorytype_minimum(ty: Any) -> int: 

5380 return _wasmtime_memorytype_minimum(ty) # type: ignore 

5381 

5382_wasmtime_memorytype_maximum = dll.wasmtime_memorytype_maximum 

5383_wasmtime_memorytype_maximum.restype = ctypes.c_bool 

5384_wasmtime_memorytype_maximum.argtypes = [ctypes.POINTER(wasm_memorytype_t), ctypes.POINTER(ctypes.c_uint64)] 

5385def wasmtime_memorytype_maximum(ty: Any, max: Any) -> bool: 

5386 return _wasmtime_memorytype_maximum(ty, max) # type: ignore 

5387 

5388_wasmtime_memorytype_is64 = dll.wasmtime_memorytype_is64 

5389_wasmtime_memorytype_is64.restype = ctypes.c_bool 

5390_wasmtime_memorytype_is64.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

5391def wasmtime_memorytype_is64(ty: Any) -> bool: 

5392 return _wasmtime_memorytype_is64(ty) # type: ignore 

5393 

5394_wasmtime_memorytype_isshared = dll.wasmtime_memorytype_isshared 

5395_wasmtime_memorytype_isshared.restype = ctypes.c_bool 

5396_wasmtime_memorytype_isshared.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

5397def wasmtime_memorytype_isshared(ty: Any) -> bool: 

5398 return _wasmtime_memorytype_isshared(ty) # type: ignore 

5399 

5400_wasmtime_memorytype_page_size = dll.wasmtime_memorytype_page_size 

5401_wasmtime_memorytype_page_size.restype = ctypes.c_uint64 

5402_wasmtime_memorytype_page_size.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

5403def wasmtime_memorytype_page_size(ty: Any) -> int: 

5404 return _wasmtime_memorytype_page_size(ty) # type: ignore 

5405 

5406_wasmtime_memorytype_page_size_log2 = dll.wasmtime_memorytype_page_size_log2 

5407_wasmtime_memorytype_page_size_log2.restype = ctypes.c_uint8 

5408_wasmtime_memorytype_page_size_log2.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

5409def wasmtime_memorytype_page_size_log2(ty: Any) -> ctypes.c_uint8: 

5410 return _wasmtime_memorytype_page_size_log2(ty) # type: ignore 

5411 

5412_wasmtime_memory_new = dll.wasmtime_memory_new 

5413_wasmtime_memory_new.restype = ctypes.POINTER(wasmtime_error_t) 

5414_wasmtime_memory_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasm_memorytype_t), ctypes.POINTER(wasmtime_memory_t)] 

5415def wasmtime_memory_new(store: Any, ty: Any, ret: Any) -> ctypes._Pointer: 

5416 return _wasmtime_memory_new(store, ty, ret) # type: ignore 

5417 

5418_wasmtime_memory_type = dll.wasmtime_memory_type 

5419_wasmtime_memory_type.restype = ctypes.POINTER(wasm_memorytype_t) 

5420_wasmtime_memory_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

5421def wasmtime_memory_type(store: Any, memory: Any) -> ctypes._Pointer: 

5422 return _wasmtime_memory_type(store, memory) # type: ignore 

5423 

5424_wasmtime_memory_data = dll.wasmtime_memory_data 

5425_wasmtime_memory_data.restype = ctypes.POINTER(ctypes.c_uint8) 

5426_wasmtime_memory_data.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

5427def wasmtime_memory_data(store: Any, memory: Any) -> ctypes._Pointer: 

5428 return _wasmtime_memory_data(store, memory) # type: ignore 

5429 

5430_wasmtime_memory_data_size = dll.wasmtime_memory_data_size 

5431_wasmtime_memory_data_size.restype = ctypes.c_size_t 

5432_wasmtime_memory_data_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

5433def wasmtime_memory_data_size(store: Any, memory: Any) -> int: 

5434 return _wasmtime_memory_data_size(store, memory) # type: ignore 

5435 

5436_wasmtime_memory_size = dll.wasmtime_memory_size 

5437_wasmtime_memory_size.restype = ctypes.c_uint64 

5438_wasmtime_memory_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

5439def wasmtime_memory_size(store: Any, memory: Any) -> int: 

5440 return _wasmtime_memory_size(store, memory) # type: ignore 

5441 

5442_wasmtime_memory_grow = dll.wasmtime_memory_grow 

5443_wasmtime_memory_grow.restype = ctypes.POINTER(wasmtime_error_t) 

5444_wasmtime_memory_grow.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64)] 

5445def wasmtime_memory_grow(store: Any, memory: Any, delta: Any, prev_size: Any) -> ctypes._Pointer: 

5446 return _wasmtime_memory_grow(store, memory, delta, prev_size) # type: ignore 

5447 

5448_wasmtime_memory_page_size = dll.wasmtime_memory_page_size 

5449_wasmtime_memory_page_size.restype = ctypes.c_uint64 

5450_wasmtime_memory_page_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

5451def wasmtime_memory_page_size(store: Any, memory: Any) -> int: 

5452 return _wasmtime_memory_page_size(store, memory) # type: ignore 

5453 

5454_wasmtime_memory_page_size_log2 = dll.wasmtime_memory_page_size_log2 

5455_wasmtime_memory_page_size_log2.restype = ctypes.c_uint8 

5456_wasmtime_memory_page_size_log2.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

5457def wasmtime_memory_page_size_log2(store: Any, memory: Any) -> ctypes.c_uint8: 

5458 return _wasmtime_memory_page_size_log2(store, memory) # type: ignore 

5459 

5460class wasmtime_guestprofiler(ctypes.Structure): 

5461 pass 

5462 

5463wasmtime_guestprofiler_t = wasmtime_guestprofiler 

5464 

5465_wasmtime_guestprofiler_delete = dll.wasmtime_guestprofiler_delete 

5466_wasmtime_guestprofiler_delete.restype = None 

5467_wasmtime_guestprofiler_delete.argtypes = [ctypes.POINTER(wasmtime_guestprofiler_t)] 

5468def wasmtime_guestprofiler_delete(guestprofiler: Any) -> None: 

5469 return _wasmtime_guestprofiler_delete(guestprofiler) # type: ignore 

5470 

5471class wasmtime_guestprofiler_modules(ctypes.Structure): 

5472 _fields_ = [ 

5473 ("name", ctypes.POINTER(wasm_name_t)), 

5474 ("mod", ctypes.POINTER(wasmtime_module_t)), 

5475 ] 

5476 name: ctypes._Pointer 

5477 mod: ctypes._Pointer 

5478 

5479wasmtime_guestprofiler_modules_t = wasmtime_guestprofiler_modules 

5480 

5481_wasmtime_guestprofiler_new = dll.wasmtime_guestprofiler_new 

5482_wasmtime_guestprofiler_new.restype = ctypes.POINTER(wasmtime_guestprofiler_t) 

5483_wasmtime_guestprofiler_new.argtypes = [ctypes.POINTER(wasm_engine_t), ctypes.POINTER(wasm_name_t), ctypes.c_uint64, ctypes.POINTER(wasmtime_guestprofiler_modules_t), ctypes.c_size_t] 

5484def wasmtime_guestprofiler_new(engine: Any, module_name: Any, interval_nanos: Any, modules: Any, modules_len: Any) -> ctypes._Pointer: 

5485 return _wasmtime_guestprofiler_new(engine, module_name, interval_nanos, modules, modules_len) # type: ignore 

5486 

5487_wasmtime_guestprofiler_sample = dll.wasmtime_guestprofiler_sample 

5488_wasmtime_guestprofiler_sample.restype = None 

5489_wasmtime_guestprofiler_sample.argtypes = [ctypes.POINTER(wasmtime_guestprofiler_t), ctypes.POINTER(wasmtime_store_t), ctypes.c_uint64] 

5490def wasmtime_guestprofiler_sample(guestprofiler: Any, store: Any, delta_nanos: Any) -> None: 

5491 return _wasmtime_guestprofiler_sample(guestprofiler, store, delta_nanos) # type: ignore 

5492 

5493_wasmtime_guestprofiler_finish = dll.wasmtime_guestprofiler_finish 

5494_wasmtime_guestprofiler_finish.restype = ctypes.POINTER(wasmtime_error_t) 

5495_wasmtime_guestprofiler_finish.argtypes = [ctypes.POINTER(wasmtime_guestprofiler_t), ctypes.POINTER(wasm_byte_vec_t)] 

5496def wasmtime_guestprofiler_finish(guestprofiler: Any, out: Any) -> ctypes._Pointer: 

5497 return _wasmtime_guestprofiler_finish(guestprofiler, out) # type: ignore 

5498 

5499class wasmtime_struct_ref_pre(ctypes.Structure): 

5500 pass 

5501 

5502wasmtime_struct_ref_pre_t = wasmtime_struct_ref_pre 

5503 

5504_wasmtime_struct_ref_pre_new = dll.wasmtime_struct_ref_pre_new 

5505_wasmtime_struct_ref_pre_new.restype = ctypes.POINTER(wasmtime_struct_ref_pre_t) 

5506_wasmtime_struct_ref_pre_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_struct_type_t)] 

5507def wasmtime_struct_ref_pre_new(context: Any, ty: Any) -> ctypes._Pointer: 

5508 return _wasmtime_struct_ref_pre_new(context, ty) # type: ignore 

5509 

5510_wasmtime_struct_ref_pre_delete = dll.wasmtime_struct_ref_pre_delete 

5511_wasmtime_struct_ref_pre_delete.restype = None 

5512_wasmtime_struct_ref_pre_delete.argtypes = [ctypes.POINTER(wasmtime_struct_ref_pre_t)] 

5513def wasmtime_struct_ref_pre_delete(pre: Any) -> None: 

5514 return _wasmtime_struct_ref_pre_delete(pre) # type: ignore 

5515 

5516_wasmtime_structref_new = dll.wasmtime_structref_new 

5517_wasmtime_structref_new.restype = ctypes.POINTER(wasmtime_error_t) 

5518_wasmtime_structref_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_struct_ref_pre_t), ctypes.POINTER(wasmtime_val_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_structref_t)] 

5519def wasmtime_structref_new(context: Any, pre: Any, fields: Any, nfields: Any, out: Any) -> ctypes._Pointer: 

5520 return _wasmtime_structref_new(context, pre, fields, nfields, out) # type: ignore 

5521 

5522_wasmtime_structref_clone = dll.wasmtime_structref_clone 

5523_wasmtime_structref_clone.restype = None 

5524_wasmtime_structref_clone.argtypes = [ctypes.POINTER(wasmtime_structref_t), ctypes.POINTER(wasmtime_structref_t)] 

5525def wasmtime_structref_clone(structref: Any, out: Any) -> None: 

5526 return _wasmtime_structref_clone(structref, out) # type: ignore 

5527 

5528_wasmtime_structref_unroot = dll.wasmtime_structref_unroot 

5529_wasmtime_structref_unroot.restype = None 

5530_wasmtime_structref_unroot.argtypes = [ctypes.POINTER(wasmtime_structref_t)] 

5531def wasmtime_structref_unroot(ref: Any) -> None: 

5532 return _wasmtime_structref_unroot(ref) # type: ignore 

5533 

5534_wasmtime_structref_to_anyref = dll.wasmtime_structref_to_anyref 

5535_wasmtime_structref_to_anyref.restype = None 

5536_wasmtime_structref_to_anyref.argtypes = [ctypes.POINTER(wasmtime_structref_t), ctypes.POINTER(wasmtime_anyref_t)] 

5537def wasmtime_structref_to_anyref(structref: Any, out: Any) -> None: 

5538 return _wasmtime_structref_to_anyref(structref, out) # type: ignore 

5539 

5540_wasmtime_structref_to_eqref = dll.wasmtime_structref_to_eqref 

5541_wasmtime_structref_to_eqref.restype = None 

5542_wasmtime_structref_to_eqref.argtypes = [ctypes.POINTER(wasmtime_structref_t), ctypes.POINTER(wasmtime_eqref_t)] 

5543def wasmtime_structref_to_eqref(structref: Any, out: Any) -> None: 

5544 return _wasmtime_structref_to_eqref(structref, out) # type: ignore 

5545 

5546_wasmtime_structref_field = dll.wasmtime_structref_field 

5547_wasmtime_structref_field.restype = ctypes.POINTER(wasmtime_error_t) 

5548_wasmtime_structref_field.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_structref_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_val_t)] 

5549def wasmtime_structref_field(context: Any, structref: Any, index: Any, out: Any) -> ctypes._Pointer: 

5550 return _wasmtime_structref_field(context, structref, index, out) # type: ignore 

5551 

5552_wasmtime_structref_set_field = dll.wasmtime_structref_set_field 

5553_wasmtime_structref_set_field.restype = ctypes.POINTER(wasmtime_error_t) 

5554_wasmtime_structref_set_field.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_structref_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_val_t)] 

5555def wasmtime_structref_set_field(context: Any, structref: Any, index: Any, val: Any) -> ctypes._Pointer: 

5556 return _wasmtime_structref_set_field(context, structref, index, val) # type: ignore 

5557 

5558_wasmtime_structref_type = dll.wasmtime_structref_type 

5559_wasmtime_structref_type.restype = ctypes.POINTER(wasmtime_struct_type_t) 

5560_wasmtime_structref_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_structref_t)] 

5561def wasmtime_structref_type(context: Any, structref: Any) -> ctypes._Pointer: 

5562 return _wasmtime_structref_type(context, structref) # type: ignore 

5563 

5564_wasmtime_table_new = dll.wasmtime_table_new 

5565_wasmtime_table_new.restype = ctypes.POINTER(wasmtime_error_t) 

5566_wasmtime_table_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasm_tabletype_t), ctypes.POINTER(wasmtime_val_t), ctypes.POINTER(wasmtime_table_t)] 

5567def wasmtime_table_new(store: Any, ty: Any, init: Any, table: Any) -> ctypes._Pointer: 

5568 return _wasmtime_table_new(store, ty, init, table) # type: ignore 

5569 

5570_wasmtime_table_type = dll.wasmtime_table_type 

5571_wasmtime_table_type.restype = ctypes.POINTER(wasm_tabletype_t) 

5572_wasmtime_table_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t)] 

5573def wasmtime_table_type(store: Any, table: Any) -> ctypes._Pointer: 

5574 return _wasmtime_table_type(store, table) # type: ignore 

5575 

5576_wasmtime_table_get = dll.wasmtime_table_get 

5577_wasmtime_table_get.restype = ctypes.c_bool 

5578_wasmtime_table_get.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t), ctypes.c_uint64, ctypes.POINTER(wasmtime_val_t)] 

5579def wasmtime_table_get(store: Any, table: Any, index: Any, val: Any) -> bool: 

5580 return _wasmtime_table_get(store, table, index, val) # type: ignore 

5581 

5582_wasmtime_table_set = dll.wasmtime_table_set 

5583_wasmtime_table_set.restype = ctypes.POINTER(wasmtime_error_t) 

5584_wasmtime_table_set.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t), ctypes.c_uint64, ctypes.POINTER(wasmtime_val_t)] 

5585def wasmtime_table_set(store: Any, table: Any, index: Any, value: Any) -> ctypes._Pointer: 

5586 return _wasmtime_table_set(store, table, index, value) # type: ignore 

5587 

5588_wasmtime_table_size = dll.wasmtime_table_size 

5589_wasmtime_table_size.restype = ctypes.c_uint64 

5590_wasmtime_table_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t)] 

5591def wasmtime_table_size(store: Any, table: Any) -> int: 

5592 return _wasmtime_table_size(store, table) # type: ignore 

5593 

5594_wasmtime_table_grow = dll.wasmtime_table_grow 

5595_wasmtime_table_grow.restype = ctypes.POINTER(wasmtime_error_t) 

5596_wasmtime_table_grow.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t), ctypes.c_uint64, ctypes.POINTER(wasmtime_val_t), ctypes.POINTER(ctypes.c_uint64)] 

5597def wasmtime_table_grow(store: Any, table: Any, delta: Any, init: Any, prev_size: Any) -> ctypes._Pointer: 

5598 return _wasmtime_table_grow(store, table, delta, init, prev_size) # type: ignore 

5599 

5600wasmtime_trap_code_t = ctypes.c_uint8 

5601 

5602class wasmtime_trap_code_enum(Enum): 

5603 WASMTIME_TRAP_CODE_STACK_OVERFLOW = 0 

5604 WASMTIME_TRAP_CODE_MEMORY_OUT_OF_BOUNDS = 1 

5605 WASMTIME_TRAP_CODE_HEAP_MISALIGNED = 2 

5606 WASMTIME_TRAP_CODE_TABLE_OUT_OF_BOUNDS = 3 

5607 WASMTIME_TRAP_CODE_INDIRECT_CALL_TO_NULL = 4 

5608 WASMTIME_TRAP_CODE_BAD_SIGNATURE = 5 

5609 WASMTIME_TRAP_CODE_INTEGER_OVERFLOW = 6 

5610 WASMTIME_TRAP_CODE_INTEGER_DIVISION_BY_ZERO = 7 

5611 WASMTIME_TRAP_CODE_BAD_CONVERSION_TO_INTEGER = 8 

5612 WASMTIME_TRAP_CODE_UNREACHABLE_CODE_REACHED = 9 

5613 WASMTIME_TRAP_CODE_INTERRUPT = 10 

5614 WASMTIME_TRAP_CODE_OUT_OF_FUEL = 11 

5615 WASMTIME_TRAP_CODE_ATOMIC_WAIT_NON_SHARED_MEMORY = 12 

5616 WASMTIME_TRAP_CODE_NULL_REFERENCE = 13 

5617 WASMTIME_TRAP_CODE_ARRAY_OUT_OF_BOUNDS = 14 

5618 WASMTIME_TRAP_CODE_ALLOCATION_TOO_LARGE = 15 

5619 WASMTIME_TRAP_CODE_CAST_FAILURE = 16 

5620 WASMTIME_TRAP_CODE_CANNOT_ENTER_COMPONENT = 17 

5621 WASMTIME_TRAP_CODE_NO_ASYNC_RESULT = 18 

5622 WASMTIME_TRAP_CODE_UNHANDLED_TAG = 19 

5623 WASMTIME_TRAP_CODE_CONTINUATION_ALREADY_CONSUMED = 20 

5624 WASMTIME_TRAP_CODE_DISABLED_OPCODE = 21 

5625 WASMTIME_TRAP_CODE_ASYNC_DEADLOCK = 22 

5626 WASMTIME_TRAP_CODE_CANNOT_LEAVE_COMPONENT = 23 

5627 WASMTIME_TRAP_CODE_CANNOT_BLOCK_SYNC_TASK = 24 

5628 WASMTIME_TRAP_CODE_INVALID_CHAR = 25 

5629 WASMTIME_TRAP_CODE_DEBUG_ASSERT_STRING_ENCODING_FINISHED = 26 

5630 WASMTIME_TRAP_CODE_DEBUG_ASSERT_EQUAL_CODE_UNITS = 27 

5631 WASMTIME_TRAP_CODE_DEBUG_ASSERT_POINTER_ALIGNED = 28 

5632 WASMTIME_TRAP_CODE_DEBUG_ASSERT_UPPER_BITS_UNSET = 29 

5633 WASMTIME_TRAP_CODE_STRING_OUT_OF_BOUNDS = 30 

5634 WASMTIME_TRAP_CODE_LIST_OUT_OF_BOUNDS = 31 

5635 WASMTIME_TRAP_CODE_INVALID_DISCRIMINANT = 32 

5636 WASMTIME_TRAP_CODE_UNALIGNED_POINTER = 33 

5637 WASMTIME_TRAP_CODE_TASK_CANCEL_NOT_CANCELLED = 34 

5638 WASMTIME_TRAP_CODE_TASK_CANCEL_OR_RETURN_TWICE = 35 

5639 WASMTIME_TRAP_CODE_SUBTASK_CANCEL_AFTER_TERMINAL = 36 

5640 WASMTIME_TRAP_CODE_TASK_RETURN_INVALID = 37 

5641 WASMTIME_TRAP_CODE_WAITABLE_SET_DROP_HAS_WAITERS = 38 

5642 WASMTIME_TRAP_CODE_SUBTASK_DROP_NOT_RESOLVED = 39 

5643 WASMTIME_TRAP_CODE_THREAD_NEW_INDIRECT_INVALID_TYPE = 40 

5644 WASMTIME_TRAP_CODE_THREAD_NEW_INDIRECT_UNINITIALIZED = 41 

5645 WASMTIME_TRAP_CODE_BACKPRESSURE_OVERFLOW = 42 

5646 WASMTIME_TRAP_CODE_UNSUPPORTED_CALLBACK_CODE = 43 

5647 WASMTIME_TRAP_CODE_CANNOT_RESUME_THREAD = 44 

5648 WASMTIME_TRAP_CODE_CONCURRENT_FUTURE_STREAM_OP = 45 

5649 WASMTIME_TRAP_CODE_REFERENCE_COUNT_OVERFLOW = 46 

5650 WASMTIME_TRAP_CODE_STREAM_OP_TOO_BIG = 47 

5651 WASMTIME_TRAP_CODE_WAITABLE_SYNC_AND_ASYNC = 48 

5652 WASMTIME_TRAP_CODE_UNCAUGHT_EXCEPTION = 49 

5653 

5654_wasmtime_trap_new = dll.wasmtime_trap_new 

5655_wasmtime_trap_new.restype = ctypes.POINTER(wasm_trap_t) 

5656_wasmtime_trap_new.argtypes = [ctypes.POINTER(ctypes.c_char), ctypes.c_size_t] 

5657def wasmtime_trap_new(msg: Any, msg_len: Any) -> ctypes._Pointer: 

5658 return _wasmtime_trap_new(msg, msg_len) # type: ignore 

5659 

5660_wasmtime_trap_new_code = dll.wasmtime_trap_new_code 

5661_wasmtime_trap_new_code.restype = ctypes.POINTER(wasm_trap_t) 

5662_wasmtime_trap_new_code.argtypes = [wasmtime_trap_code_t] 

5663def wasmtime_trap_new_code(code: Any) -> ctypes._Pointer: 

5664 return _wasmtime_trap_new_code(code) # type: ignore 

5665 

5666_wasmtime_trap_code = dll.wasmtime_trap_code 

5667_wasmtime_trap_code.restype = ctypes.c_bool 

5668_wasmtime_trap_code.argtypes = [ctypes.POINTER(wasm_trap_t), ctypes.POINTER(wasmtime_trap_code_t)] 

5669def wasmtime_trap_code(arg0: Any, code: Any) -> bool: 

5670 return _wasmtime_trap_code(arg0, code) # type: ignore 

5671 

5672_wasmtime_frame_func_name = dll.wasmtime_frame_func_name 

5673_wasmtime_frame_func_name.restype = ctypes.POINTER(wasm_name_t) 

5674_wasmtime_frame_func_name.argtypes = [ctypes.POINTER(wasm_frame_t)] 

5675def wasmtime_frame_func_name(arg0: Any) -> ctypes._Pointer: 

5676 return _wasmtime_frame_func_name(arg0) # type: ignore 

5677 

5678_wasmtime_frame_module_name = dll.wasmtime_frame_module_name 

5679_wasmtime_frame_module_name.restype = ctypes.POINTER(wasm_name_t) 

5680_wasmtime_frame_module_name.argtypes = [ctypes.POINTER(wasm_frame_t)] 

5681def wasmtime_frame_module_name(arg0: Any) -> ctypes._Pointer: 

5682 return _wasmtime_frame_module_name(arg0) # type: ignore 

5683 

5684_wasmtime_wat2wasm = dll.wasmtime_wat2wasm 

5685_wasmtime_wat2wasm.restype = ctypes.POINTER(wasmtime_error_t) 

5686_wasmtime_wat2wasm.argtypes = [ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasm_byte_vec_t)] 

5687def wasmtime_wat2wasm(wat: Any, wat_len: Any, ret: Any) -> ctypes._Pointer: 

5688 return _wasmtime_wat2wasm(wat, wat_len, ret) # type: ignore