Coverage for wasmtime/_bindings.py: 89%

4222 statements  

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

2058class wasi_dir_perms_flags(Enum): 

2059 WASMTIME_WASI_DIR_PERMS_READ = 1 

2060 WASMTIME_WASI_DIR_PERMS_WRITE = 2 

2061 

2062wasi_dir_perms = ctypes.c_size_t 

2063 

2064class wasi_file_perms_flags(Enum): 

2065 WASMTIME_WASI_FILE_PERMS_READ = 1 

2066 WASMTIME_WASI_FILE_PERMS_WRITE = 2 

2067 

2068wasi_file_perms = ctypes.c_size_t 

2069 

2070_wasi_config_preopen_dir = dll.wasi_config_preopen_dir 

2071_wasi_config_preopen_dir.restype = ctypes.c_bool 

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

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

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

2075 

2076wasmtime_storage_type_kind_t = ctypes.c_uint8 

2077 

2078class wasmtime_storage_type(ctypes.Structure): 

2079 _fields_ = [ 

2080 ("kind", wasmtime_storage_type_kind_t), 

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

2082 ] 

2083 kind: wasmtime_storage_type_kind_t 

2084 valtype: ctypes._Pointer 

2085 

2086wasmtime_storage_type_t = wasmtime_storage_type 

2087 

2088_wasmtime_storage_type_clone = dll.wasmtime_storage_type_clone 

2089_wasmtime_storage_type_clone.restype = None 

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

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

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

2093 

2094_wasmtime_storage_type_delete = dll.wasmtime_storage_type_delete 

2095_wasmtime_storage_type_delete.restype = None 

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

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

2098 return _wasmtime_storage_type_delete(storage) # type: ignore 

2099 

2100class wasmtime_field_type(ctypes.Structure): 

2101 _fields_ = [ 

2102 ("mutable_", ctypes.c_bool), 

2103 ("storage", wasmtime_storage_type_t), 

2104 ] 

2105 mutable_: bool 

2106 storage: wasmtime_storage_type_t 

2107 

2108wasmtime_field_type_t = wasmtime_field_type 

2109 

2110_wasmtime_field_type_clone = dll.wasmtime_field_type_clone 

2111_wasmtime_field_type_clone.restype = None 

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

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

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

2115 

2116_wasmtime_field_type_delete = dll.wasmtime_field_type_delete 

2117_wasmtime_field_type_delete.restype = None 

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

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

2120 return _wasmtime_field_type_delete(field) # type: ignore 

2121 

2122class wasmtime_struct_type(ctypes.Structure): 

2123 pass 

2124 

2125wasmtime_struct_type_t = wasmtime_struct_type 

2126 

2127_wasmtime_struct_type_new = dll.wasmtime_struct_type_new 

2128_wasmtime_struct_type_new.restype = ctypes.POINTER(wasmtime_struct_type_t) 

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

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

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

2132 

2133_wasmtime_struct_type_copy = dll.wasmtime_struct_type_copy 

2134_wasmtime_struct_type_copy.restype = ctypes.POINTER(wasmtime_struct_type_t) 

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

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

2137 return _wasmtime_struct_type_copy(ty) # type: ignore 

2138 

2139_wasmtime_struct_type_delete = dll.wasmtime_struct_type_delete 

2140_wasmtime_struct_type_delete.restype = None 

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

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

2143 return _wasmtime_struct_type_delete(ty) # type: ignore 

2144 

2145_wasmtime_struct_type_num_fields = dll.wasmtime_struct_type_num_fields 

2146_wasmtime_struct_type_num_fields.restype = ctypes.c_size_t 

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

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

2149 return _wasmtime_struct_type_num_fields(ty) # type: ignore 

2150 

2151_wasmtime_struct_type_field = dll.wasmtime_struct_type_field 

2152_wasmtime_struct_type_field.restype = ctypes.c_bool 

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

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

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

2156 

2157class wasmtime_array_type(ctypes.Structure): 

2158 pass 

2159 

2160wasmtime_array_type_t = wasmtime_array_type 

2161 

2162_wasmtime_array_type_new = dll.wasmtime_array_type_new 

2163_wasmtime_array_type_new.restype = ctypes.POINTER(wasmtime_array_type_t) 

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

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

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

2167 

2168_wasmtime_array_type_copy = dll.wasmtime_array_type_copy 

2169_wasmtime_array_type_copy.restype = ctypes.POINTER(wasmtime_array_type_t) 

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

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

2172 return _wasmtime_array_type_copy(ty) # type: ignore 

2173 

2174_wasmtime_array_type_delete = dll.wasmtime_array_type_delete 

2175_wasmtime_array_type_delete.restype = None 

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

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

2178 return _wasmtime_array_type_delete(ty) # type: ignore 

2179 

2180_wasmtime_array_type_element = dll.wasmtime_array_type_element 

2181_wasmtime_array_type_element.restype = None 

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

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

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

2185 

2186class wasmtime_error(ctypes.Structure): 

2187 pass 

2188 

2189wasmtime_error_t = wasmtime_error 

2190 

2191_wasmtime_error_new = dll.wasmtime_error_new 

2192_wasmtime_error_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

2195 return _wasmtime_error_new(arg0) # type: ignore 

2196 

2197_wasmtime_error_delete = dll.wasmtime_error_delete 

2198_wasmtime_error_delete.restype = None 

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

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

2201 return _wasmtime_error_delete(error) # type: ignore 

2202 

2203_wasmtime_error_message = dll.wasmtime_error_message 

2204_wasmtime_error_message.restype = None 

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

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

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

2208 

2209_wasmtime_error_exit_status = dll.wasmtime_error_exit_status 

2210_wasmtime_error_exit_status.restype = ctypes.c_bool 

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

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

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

2214 

2215_wasmtime_error_wasm_trace = dll.wasmtime_error_wasm_trace 

2216_wasmtime_error_wasm_trace.restype = None 

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

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

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

2220 

2221class wasmtime_exn_type(ctypes.Structure): 

2222 pass 

2223 

2224wasmtime_exn_type_t = wasmtime_exn_type 

2225 

2226_wasmtime_exn_type_new = dll.wasmtime_exn_type_new 

2227_wasmtime_exn_type_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2231 

2232_wasmtime_exn_type_delete = dll.wasmtime_exn_type_delete 

2233_wasmtime_exn_type_delete.restype = None 

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

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

2236 return _wasmtime_exn_type_delete(ty) # type: ignore 

2237 

2238_wasmtime_exn_type_copy = dll.wasmtime_exn_type_copy 

2239_wasmtime_exn_type_copy.restype = ctypes.POINTER(wasmtime_exn_type_t) 

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

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

2242 return _wasmtime_exn_type_copy(ty) # type: ignore 

2243 

2244_wasmtime_exn_type_tag_type = dll.wasmtime_exn_type_tag_type 

2245_wasmtime_exn_type_tag_type.restype = ctypes.POINTER(wasm_tagtype_t) 

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

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

2248 return _wasmtime_exn_type_tag_type(ty) # type: ignore 

2249 

2250_wasmtime_wasm_valtype_v128 = dll.wasmtime_wasm_valtype_v128 

2251_wasmtime_wasm_valtype_v128.restype = ctypes.POINTER(wasm_valtype_t) 

2252_wasmtime_wasm_valtype_v128.argtypes = [] 

2253def wasmtime_wasm_valtype_v128() -> ctypes._Pointer: 

2254 return _wasmtime_wasm_valtype_v128() # type: ignore 

2255 

2256_wasmtime_wasm_valtype_equal = dll.wasmtime_wasm_valtype_equal 

2257_wasmtime_wasm_valtype_equal.restype = ctypes.c_bool 

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

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

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

2261 

2262wasmtime_heaptype_kind_t = ctypes.c_uint8 

2263 

2264class wasmtime_heaptype_union(ctypes.Union): 

2265 _fields_ = [ 

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

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

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

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

2270 ] 

2271 concrete_func: ctypes._Pointer 

2272 concrete_array: ctypes._Pointer 

2273 concrete_struct: ctypes._Pointer 

2274 concrete_exn: ctypes._Pointer 

2275 

2276wasmtime_heaptype_union_t = wasmtime_heaptype_union 

2277 

2278class wasmtime_heaptype(ctypes.Structure): 

2279 _fields_ = [ 

2280 ("kind", wasmtime_heaptype_kind_t), 

2281 ("of", wasmtime_heaptype_union_t), 

2282 ] 

2283 kind: wasmtime_heaptype_kind_t 

2284 of: wasmtime_heaptype_union_t 

2285 

2286wasmtime_heaptype_t = wasmtime_heaptype 

2287 

2288_wasmtime_heaptype_clone = dll.wasmtime_heaptype_clone 

2289_wasmtime_heaptype_clone.restype = None 

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

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

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

2293 

2294_wasmtime_heaptype_delete = dll.wasmtime_heaptype_delete 

2295_wasmtime_heaptype_delete.restype = None 

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

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

2298 return _wasmtime_heaptype_delete(ty) # type: ignore 

2299 

2300class wasmtime_reftype(ctypes.Structure): 

2301 _fields_ = [ 

2302 ("nullable", ctypes.c_bool), 

2303 ("heaptype", wasmtime_heaptype_t), 

2304 ] 

2305 nullable: bool 

2306 heaptype: wasmtime_heaptype_t 

2307 

2308wasmtime_reftype_t = wasmtime_reftype 

2309 

2310_wasmtime_reftype_clone = dll.wasmtime_reftype_clone 

2311_wasmtime_reftype_clone.restype = None 

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

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

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

2315 

2316_wasmtime_reftype_delete = dll.wasmtime_reftype_delete 

2317_wasmtime_reftype_delete.restype = None 

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

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

2320 return _wasmtime_reftype_delete(ty) # type: ignore 

2321 

2322wasmtime_valtype_kind_t = ctypes.c_uint8 

2323 

2324class wasmtime_valtype(ctypes.Structure): 

2325 _fields_ = [ 

2326 ("kind", wasmtime_valtype_kind_t), 

2327 ("reftype", wasmtime_reftype_t), 

2328 ] 

2329 kind: wasmtime_valtype_kind_t 

2330 reftype: wasmtime_reftype_t 

2331 

2332wasmtime_valtype_t = wasmtime_valtype 

2333 

2334_wasmtime_valtype_new = dll.wasmtime_valtype_new 

2335_wasmtime_valtype_new.restype = None 

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

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

2338 return _wasmtime_valtype_new(ty, out) # type: ignore 

2339 

2340_wasmtime_valtype_clone = dll.wasmtime_valtype_clone 

2341_wasmtime_valtype_clone.restype = None 

2342_wasmtime_valtype_clone.argtypes = [ctypes.POINTER(wasmtime_valtype_t), ctypes.POINTER(wasmtime_valtype_t)] 

2343def wasmtime_valtype_clone(ty: Any, out: Any) -> None: 

2344 return _wasmtime_valtype_clone(ty, out) # type: ignore 

2345 

2346_wasmtime_valtype_delete = dll.wasmtime_valtype_delete 

2347_wasmtime_valtype_delete.restype = None 

2348_wasmtime_valtype_delete.argtypes = [ctypes.POINTER(wasmtime_valtype_t)] 

2349def wasmtime_valtype_delete(ty: Any) -> None: 

2350 return _wasmtime_valtype_delete(ty) # type: ignore 

2351 

2352_wasmtime_valtype_to_wasm = dll.wasmtime_valtype_to_wasm 

2353_wasmtime_valtype_to_wasm.restype = ctypes.POINTER(wasm_valtype_t) 

2354_wasmtime_valtype_to_wasm.argtypes = [ctypes.POINTER(wasm_engine_t), ctypes.POINTER(wasmtime_valtype_t)] 

2355def wasmtime_valtype_to_wasm(engine: Any, ty: Any) -> ctypes._Pointer: 

2356 return _wasmtime_valtype_to_wasm(engine, ty) # type: ignore 

2357 

2358class wasmtime_module(ctypes.Structure): 

2359 pass 

2360 

2361wasmtime_module_t = wasmtime_module 

2362 

2363_wasmtime_module_new = dll.wasmtime_module_new 

2364_wasmtime_module_new.restype = ctypes.POINTER(wasmtime_error_t) 

2365_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))] 

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

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

2368 

2369_wasmtime_module_delete = dll.wasmtime_module_delete 

2370_wasmtime_module_delete.restype = None 

2371_wasmtime_module_delete.argtypes = [ctypes.POINTER(wasmtime_module_t)] 

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

2373 return _wasmtime_module_delete(m) # type: ignore 

2374 

2375_wasmtime_module_clone = dll.wasmtime_module_clone 

2376_wasmtime_module_clone.restype = ctypes.POINTER(wasmtime_module_t) 

2377_wasmtime_module_clone.argtypes = [ctypes.POINTER(wasmtime_module_t)] 

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

2379 return _wasmtime_module_clone(m) # type: ignore 

2380 

2381_wasmtime_module_imports = dll.wasmtime_module_imports 

2382_wasmtime_module_imports.restype = None 

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

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

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

2386 

2387_wasmtime_module_exports = dll.wasmtime_module_exports 

2388_wasmtime_module_exports.restype = None 

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

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

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

2392 

2393_wasmtime_module_validate = dll.wasmtime_module_validate 

2394_wasmtime_module_validate.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2398 

2399_wasmtime_module_serialize = dll.wasmtime_module_serialize 

2400_wasmtime_module_serialize.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2404 

2405_wasmtime_module_deserialize = dll.wasmtime_module_deserialize 

2406_wasmtime_module_deserialize.restype = ctypes.POINTER(wasmtime_error_t) 

2407_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))] 

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

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

2410 

2411_wasmtime_module_deserialize_file = dll.wasmtime_module_deserialize_file 

2412_wasmtime_module_deserialize_file.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2416 

2417_wasmtime_module_image_range = dll.wasmtime_module_image_range 

2418_wasmtime_module_image_range.restype = None 

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

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

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

2422 

2423class wasmtime_sharedmemory(ctypes.Structure): 

2424 pass 

2425 

2426wasmtime_sharedmemory_t = wasmtime_sharedmemory 

2427 

2428_wasmtime_sharedmemory_new = dll.wasmtime_sharedmemory_new 

2429_wasmtime_sharedmemory_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2433 

2434_wasmtime_sharedmemory_delete = dll.wasmtime_sharedmemory_delete 

2435_wasmtime_sharedmemory_delete.restype = None 

2436_wasmtime_sharedmemory_delete.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

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

2438 return _wasmtime_sharedmemory_delete(memory) # type: ignore 

2439 

2440_wasmtime_sharedmemory_clone = dll.wasmtime_sharedmemory_clone 

2441_wasmtime_sharedmemory_clone.restype = ctypes.POINTER(wasmtime_sharedmemory_t) 

2442_wasmtime_sharedmemory_clone.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

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

2444 return _wasmtime_sharedmemory_clone(memory) # type: ignore 

2445 

2446_wasmtime_sharedmemory_type = dll.wasmtime_sharedmemory_type 

2447_wasmtime_sharedmemory_type.restype = ctypes.POINTER(wasm_memorytype_t) 

2448_wasmtime_sharedmemory_type.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

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

2450 return _wasmtime_sharedmemory_type(memory) # type: ignore 

2451 

2452_wasmtime_sharedmemory_data = dll.wasmtime_sharedmemory_data 

2453_wasmtime_sharedmemory_data.restype = ctypes.POINTER(ctypes.c_uint8) 

2454_wasmtime_sharedmemory_data.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

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

2456 return _wasmtime_sharedmemory_data(memory) # type: ignore 

2457 

2458_wasmtime_sharedmemory_data_size = dll.wasmtime_sharedmemory_data_size 

2459_wasmtime_sharedmemory_data_size.restype = ctypes.c_size_t 

2460_wasmtime_sharedmemory_data_size.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

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

2462 return _wasmtime_sharedmemory_data_size(memory) # type: ignore 

2463 

2464_wasmtime_sharedmemory_size = dll.wasmtime_sharedmemory_size 

2465_wasmtime_sharedmemory_size.restype = ctypes.c_uint64 

2466_wasmtime_sharedmemory_size.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

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

2468 return _wasmtime_sharedmemory_size(memory) # type: ignore 

2469 

2470_wasmtime_sharedmemory_grow = dll.wasmtime_sharedmemory_grow 

2471_wasmtime_sharedmemory_grow.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2475 

2476class wasmtime_store(ctypes.Structure): 

2477 pass 

2478 

2479wasmtime_store_t = wasmtime_store 

2480 

2481class wasmtime_context(ctypes.Structure): 

2482 pass 

2483 

2484wasmtime_context_t = wasmtime_context 

2485 

2486_wasmtime_store_new = dll.wasmtime_store_new 

2487_wasmtime_store_new.restype = ctypes.POINTER(wasmtime_store_t) 

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

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

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

2491 

2492_wasmtime_store_context = dll.wasmtime_store_context 

2493_wasmtime_store_context.restype = ctypes.POINTER(wasmtime_context_t) 

2494_wasmtime_store_context.argtypes = [ctypes.POINTER(wasmtime_store_t)] 

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

2496 return _wasmtime_store_context(store) # type: ignore 

2497 

2498_wasmtime_store_limiter = dll.wasmtime_store_limiter 

2499_wasmtime_store_limiter.restype = None 

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

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

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

2503 

2504_wasmtime_store_delete = dll.wasmtime_store_delete 

2505_wasmtime_store_delete.restype = None 

2506_wasmtime_store_delete.argtypes = [ctypes.POINTER(wasmtime_store_t)] 

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

2508 return _wasmtime_store_delete(store) # type: ignore 

2509 

2510_wasmtime_context_get_data = dll.wasmtime_context_get_data 

2511_wasmtime_context_get_data.restype = ctypes.c_void_p 

2512_wasmtime_context_get_data.argtypes = [ctypes.POINTER(wasmtime_context_t)] 

2513def wasmtime_context_get_data(context: Any) -> ctypes._Pointer: 

2514 return _wasmtime_context_get_data(context) # type: ignore 

2515 

2516_wasmtime_context_set_data = dll.wasmtime_context_set_data 

2517_wasmtime_context_set_data.restype = None 

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

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

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

2521 

2522_wasmtime_context_gc = dll.wasmtime_context_gc 

2523_wasmtime_context_gc.restype = ctypes.POINTER(wasmtime_error_t) 

2524_wasmtime_context_gc.argtypes = [ctypes.POINTER(wasmtime_context_t)] 

2525def wasmtime_context_gc(context: Any) -> ctypes._Pointer: 

2526 return _wasmtime_context_gc(context) # type: ignore 

2527 

2528_wasmtime_context_set_fuel = dll.wasmtime_context_set_fuel 

2529_wasmtime_context_set_fuel.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2533 

2534_wasmtime_context_get_fuel = dll.wasmtime_context_get_fuel 

2535_wasmtime_context_get_fuel.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2539 

2540_wasmtime_context_set_wasi = dll.wasmtime_context_set_wasi 

2541_wasmtime_context_set_wasi.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2545 

2546_wasmtime_context_set_wasi_http = dll.wasmtime_context_set_wasi_http 

2547_wasmtime_context_set_wasi_http.restype = None 

2548_wasmtime_context_set_wasi_http.argtypes = [ctypes.POINTER(wasmtime_context_t)] 

2549def wasmtime_context_set_wasi_http(context: Any) -> None: 

2550 return _wasmtime_context_set_wasi_http(context) # type: ignore 

2551 

2552_wasmtime_context_set_epoch_deadline = dll.wasmtime_context_set_epoch_deadline 

2553_wasmtime_context_set_epoch_deadline.restype = None 

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

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

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

2557 

2558wasmtime_update_deadline_kind_t = ctypes.c_uint8 

2559 

2560_wasmtime_store_epoch_deadline_callback = dll.wasmtime_store_epoch_deadline_callback 

2561_wasmtime_store_epoch_deadline_callback.restype = None 

2562_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)] 

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

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

2565 

2566 

2567class wasmtime_tag_anon_0(ctypes.Structure): 

2568 _fields_ = [ 

2569 ("store_id", ctypes.c_uint64), 

2570 ("__private1", ctypes.c_uint32), 

2571 ] 

2572 store_id: int 

2573 __private1: int 

2574class wasmtime_tag(ctypes.Structure): 

2575 _fields_ = [ 

2576 ("_anon_1", wasmtime_tag_anon_0), 

2577 ("__private2", ctypes.c_uint32), 

2578 ] 

2579 _anon_1: wasmtime_tag_anon_0 

2580 __private2: int 

2581 

2582wasmtime_tag_t = wasmtime_tag 

2583 

2584_wasmtime_tag_new = dll.wasmtime_tag_new 

2585_wasmtime_tag_new.restype = ctypes.POINTER(wasmtime_error_t) 

2586_wasmtime_tag_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasm_tagtype_t), ctypes.POINTER(wasmtime_tag_t)] 

2587def wasmtime_tag_new(store: Any, tt: Any, ret: Any) -> ctypes._Pointer: 

2588 return _wasmtime_tag_new(store, tt, ret) # type: ignore 

2589 

2590_wasmtime_tag_type = dll.wasmtime_tag_type 

2591_wasmtime_tag_type.restype = ctypes.POINTER(wasm_tagtype_t) 

2592_wasmtime_tag_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_tag_t)] 

2593def wasmtime_tag_type(store: Any, tag: Any) -> ctypes._Pointer: 

2594 return _wasmtime_tag_type(store, tag) # type: ignore 

2595 

2596_wasmtime_tag_eq = dll.wasmtime_tag_eq 

2597_wasmtime_tag_eq.restype = ctypes.c_bool 

2598_wasmtime_tag_eq.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_tag_t), ctypes.POINTER(wasmtime_tag_t)] 

2599def wasmtime_tag_eq(store: Any, a: Any, b: Any) -> bool: 

2600 return _wasmtime_tag_eq(store, a, b) # type: ignore 

2601 

2602class wasmtime_func(ctypes.Structure): 

2603 _fields_ = [ 

2604 ("store_id", ctypes.c_uint64), 

2605 ("__private", ctypes.c_void_p), 

2606 ] 

2607 store_id: int 

2608 __private: ctypes._Pointer 

2609 

2610wasmtime_func_t = wasmtime_func 

2611 

2612 

2613class wasmtime_table_anon_0(ctypes.Structure): 

2614 _fields_ = [ 

2615 ("store_id", ctypes.c_uint64), 

2616 ("__private1", ctypes.c_uint32), 

2617 ] 

2618 store_id: int 

2619 __private1: int 

2620class wasmtime_table(ctypes.Structure): 

2621 _fields_ = [ 

2622 ("_anon_1", wasmtime_table_anon_0), 

2623 ("__private2", ctypes.c_uint32), 

2624 ] 

2625 _anon_1: wasmtime_table_anon_0 

2626 __private2: int 

2627 

2628wasmtime_table_t = wasmtime_table 

2629 

2630 

2631class wasmtime_memory_anon_0(ctypes.Structure): 

2632 _fields_ = [ 

2633 ("store_id", ctypes.c_uint64), 

2634 ("__private1", ctypes.c_uint32), 

2635 ] 

2636 store_id: int 

2637 __private1: int 

2638class wasmtime_memory(ctypes.Structure): 

2639 _fields_ = [ 

2640 ("_anon_1", wasmtime_memory_anon_0), 

2641 ("__private2", ctypes.c_uint32), 

2642 ] 

2643 _anon_1: wasmtime_memory_anon_0 

2644 __private2: int 

2645 

2646wasmtime_memory_t = wasmtime_memory 

2647 

2648class wasmtime_global(ctypes.Structure): 

2649 _fields_ = [ 

2650 ("store_id", ctypes.c_uint64), 

2651 ("__private1", ctypes.c_uint32), 

2652 ("__private2", ctypes.c_uint32), 

2653 ("__private3", ctypes.c_uint32), 

2654 ] 

2655 store_id: int 

2656 __private1: int 

2657 __private2: int 

2658 __private3: int 

2659 

2660wasmtime_global_t = wasmtime_global 

2661 

2662wasmtime_extern_kind_t = ctypes.c_uint8 

2663 

2664class wasmtime_extern_union(ctypes.Union): 

2665 _fields_ = [ 

2666 ("func", wasmtime_func_t), 

2667 ("global_", wasmtime_global_t), 

2668 ("table", wasmtime_table_t), 

2669 ("memory", wasmtime_memory_t), 

2670 ("sharedmemory", ctypes.POINTER(wasmtime_sharedmemory)), 

2671 ("tag", wasmtime_tag_t), 

2672 ] 

2673 func: wasmtime_func_t 

2674 global_: wasmtime_global_t 

2675 table: wasmtime_table_t 

2676 memory: wasmtime_memory_t 

2677 sharedmemory: ctypes._Pointer 

2678 tag: wasmtime_tag_t 

2679 

2680wasmtime_extern_union_t = wasmtime_extern_union 

2681 

2682class wasmtime_extern(ctypes.Structure): 

2683 _fields_ = [ 

2684 ("kind", wasmtime_extern_kind_t), 

2685 ("of", wasmtime_extern_union_t), 

2686 ] 

2687 kind: wasmtime_extern_kind_t 

2688 of: wasmtime_extern_union_t 

2689 

2690wasmtime_extern_t = wasmtime_extern 

2691 

2692_wasmtime_extern_delete = dll.wasmtime_extern_delete 

2693_wasmtime_extern_delete.restype = None 

2694_wasmtime_extern_delete.argtypes = [ctypes.POINTER(wasmtime_extern_t)] 

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

2696 return _wasmtime_extern_delete(val) # type: ignore 

2697 

2698_wasmtime_extern_type = dll.wasmtime_extern_type 

2699_wasmtime_extern_type.restype = ctypes.POINTER(wasm_externtype_t) 

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

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

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

2703 

2704wasmtime_valkind_t = ctypes.c_uint8 

2705 

2706wasmtime_v128 = ctypes.c_uint8 * 16 

2707 

2708class wasmtime_anyref(ctypes.Structure): 

2709 _fields_ = [ 

2710 ("store_id", ctypes.c_uint64), 

2711 ("__private1", ctypes.c_uint32), 

2712 ("__private2", ctypes.c_uint32), 

2713 ("__private3", ctypes.c_void_p), 

2714 ] 

2715 store_id: int 

2716 __private1: int 

2717 __private2: int 

2718 __private3: ctypes._Pointer 

2719 

2720wasmtime_anyref_t = wasmtime_anyref 

2721 

2722class wasmtime_exnref(ctypes.Structure): 

2723 _fields_ = [ 

2724 ("store_id", ctypes.c_uint64), 

2725 ("__private1", ctypes.c_uint32), 

2726 ("__private2", ctypes.c_uint32), 

2727 ("__private3", ctypes.c_void_p), 

2728 ] 

2729 store_id: int 

2730 __private1: int 

2731 __private2: int 

2732 __private3: ctypes._Pointer 

2733 

2734wasmtime_exnref_t = wasmtime_exnref 

2735 

2736class wasmtime_externref(ctypes.Structure): 

2737 _fields_ = [ 

2738 ("store_id", ctypes.c_uint64), 

2739 ("__private1", ctypes.c_uint32), 

2740 ("__private2", ctypes.c_uint32), 

2741 ("__private3", ctypes.c_void_p), 

2742 ] 

2743 store_id: int 

2744 __private1: int 

2745 __private2: int 

2746 __private3: ctypes._Pointer 

2747 

2748wasmtime_externref_t = wasmtime_externref 

2749 

2750class wasmtime_eqref(ctypes.Structure): 

2751 _fields_ = [ 

2752 ("store_id", ctypes.c_uint64), 

2753 ("__private1", ctypes.c_uint32), 

2754 ("__private2", ctypes.c_uint32), 

2755 ("__private3", ctypes.c_void_p), 

2756 ] 

2757 store_id: int 

2758 __private1: int 

2759 __private2: int 

2760 __private3: ctypes._Pointer 

2761 

2762wasmtime_eqref_t = wasmtime_eqref 

2763 

2764class wasmtime_structref(ctypes.Structure): 

2765 _fields_ = [ 

2766 ("store_id", ctypes.c_uint64), 

2767 ("__private1", ctypes.c_uint32), 

2768 ("__private2", ctypes.c_uint32), 

2769 ("__private3", ctypes.c_void_p), 

2770 ] 

2771 store_id: int 

2772 __private1: int 

2773 __private2: int 

2774 __private3: ctypes._Pointer 

2775 

2776wasmtime_structref_t = wasmtime_structref 

2777 

2778class wasmtime_arrayref(ctypes.Structure): 

2779 _fields_ = [ 

2780 ("store_id", ctypes.c_uint64), 

2781 ("__private1", ctypes.c_uint32), 

2782 ("__private2", ctypes.c_uint32), 

2783 ("__private3", ctypes.c_void_p), 

2784 ] 

2785 store_id: int 

2786 __private1: int 

2787 __private2: int 

2788 __private3: ctypes._Pointer 

2789 

2790wasmtime_arrayref_t = wasmtime_arrayref 

2791 

2792class wasmtime_valunion(ctypes.Union): 

2793 _fields_ = [ 

2794 ("i32", ctypes.c_int32), 

2795 ("i64", ctypes.c_int64), 

2796 ("f32", ctypes.c_float), 

2797 ("f64", ctypes.c_double), 

2798 ("anyref", wasmtime_anyref_t), 

2799 ("externref", wasmtime_externref_t), 

2800 ("exnref", wasmtime_exnref_t), 

2801 ("funcref", wasmtime_func_t), 

2802 ("v128", wasmtime_v128), 

2803 ] 

2804 i32: int 

2805 i64: int 

2806 f32: float 

2807 f64: float 

2808 anyref: wasmtime_anyref_t 

2809 externref: wasmtime_externref_t 

2810 exnref: wasmtime_exnref_t 

2811 funcref: wasmtime_func_t 

2812 v128: wasmtime_v128 # type: ignore 

2813 

2814wasmtime_valunion_t = wasmtime_valunion 

2815 

2816class wasmtime_val_raw(ctypes.Union): 

2817 _fields_ = [ 

2818 ("i32", ctypes.c_int32), 

2819 ("i64", ctypes.c_int64), 

2820 ("f32", ctypes.c_float), 

2821 ("f64", ctypes.c_double), 

2822 ("v128", wasmtime_v128), 

2823 ("anyref", ctypes.c_uint32), 

2824 ("externref", ctypes.c_uint32), 

2825 ("exnref", ctypes.c_uint32), 

2826 ("funcref", ctypes.c_void_p), 

2827 ] 

2828 i32: int 

2829 i64: int 

2830 f32: float 

2831 f64: float 

2832 v128: wasmtime_v128 # type: ignore 

2833 anyref: int 

2834 externref: int 

2835 exnref: int 

2836 funcref: ctypes._Pointer 

2837 

2838wasmtime_val_raw_t = wasmtime_val_raw 

2839 

2840class wasmtime_val(ctypes.Structure): 

2841 _fields_ = [ 

2842 ("kind", wasmtime_valkind_t), 

2843 ("of", wasmtime_valunion_t), 

2844 ] 

2845 kind: wasmtime_valkind_t 

2846 of: wasmtime_valunion_t 

2847 

2848wasmtime_val_t = wasmtime_val 

2849 

2850_wasmtime_val_unroot = dll.wasmtime_val_unroot 

2851_wasmtime_val_unroot.restype = None 

2852_wasmtime_val_unroot.argtypes = [ctypes.POINTER(wasmtime_val_t)] 

2853def wasmtime_val_unroot(val: Any) -> None: 

2854 return _wasmtime_val_unroot(val) # type: ignore 

2855 

2856_wasmtime_val_clone = dll.wasmtime_val_clone 

2857_wasmtime_val_clone.restype = None 

2858_wasmtime_val_clone.argtypes = [ctypes.POINTER(wasmtime_val_t), ctypes.POINTER(wasmtime_val_t)] 

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

2860 return _wasmtime_val_clone(src, dst) # type: ignore 

2861 

2862_wasmtime_anyref_clone = dll.wasmtime_anyref_clone 

2863_wasmtime_anyref_clone.restype = None 

2864_wasmtime_anyref_clone.argtypes = [ctypes.POINTER(wasmtime_anyref_t), ctypes.POINTER(wasmtime_anyref_t)] 

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

2866 return _wasmtime_anyref_clone(anyref, out) # type: ignore 

2867 

2868_wasmtime_anyref_unroot = dll.wasmtime_anyref_unroot 

2869_wasmtime_anyref_unroot.restype = None 

2870_wasmtime_anyref_unroot.argtypes = [ctypes.POINTER(wasmtime_anyref_t)] 

2871def wasmtime_anyref_unroot(ref: Any) -> None: 

2872 return _wasmtime_anyref_unroot(ref) # type: ignore 

2873 

2874_wasmtime_anyref_from_raw = dll.wasmtime_anyref_from_raw 

2875_wasmtime_anyref_from_raw.restype = None 

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

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

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

2879 

2880_wasmtime_anyref_to_raw = dll.wasmtime_anyref_to_raw 

2881_wasmtime_anyref_to_raw.restype = ctypes.c_uint32 

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

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

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

2885 

2886_wasmtime_anyref_from_i31 = dll.wasmtime_anyref_from_i31 

2887_wasmtime_anyref_from_i31.restype = None 

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

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

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

2891 

2892_wasmtime_anyref_is_i31 = dll.wasmtime_anyref_is_i31 

2893_wasmtime_anyref_is_i31.restype = ctypes.c_bool 

2894_wasmtime_anyref_is_i31.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t)] 

2895def wasmtime_anyref_is_i31(context: Any, anyref: Any) -> bool: 

2896 return _wasmtime_anyref_is_i31(context, anyref) # type: ignore 

2897 

2898_wasmtime_anyref_i31_get_u = dll.wasmtime_anyref_i31_get_u 

2899_wasmtime_anyref_i31_get_u.restype = ctypes.c_bool 

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

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

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

2903 

2904_wasmtime_anyref_i31_get_s = dll.wasmtime_anyref_i31_get_s 

2905_wasmtime_anyref_i31_get_s.restype = ctypes.c_bool 

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

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

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

2909 

2910_wasmtime_anyref_is_eqref = dll.wasmtime_anyref_is_eqref 

2911_wasmtime_anyref_is_eqref.restype = ctypes.c_bool 

2912_wasmtime_anyref_is_eqref.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t)] 

2913def wasmtime_anyref_is_eqref(context: Any, anyref: Any) -> bool: 

2914 return _wasmtime_anyref_is_eqref(context, anyref) # type: ignore 

2915 

2916_wasmtime_anyref_as_eqref = dll.wasmtime_anyref_as_eqref 

2917_wasmtime_anyref_as_eqref.restype = ctypes.c_bool 

2918_wasmtime_anyref_as_eqref.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t), ctypes.POINTER(wasmtime_eqref_t)] 

2919def wasmtime_anyref_as_eqref(context: Any, anyref: Any, out: Any) -> bool: 

2920 return _wasmtime_anyref_as_eqref(context, anyref, out) # type: ignore 

2921 

2922_wasmtime_anyref_is_struct = dll.wasmtime_anyref_is_struct 

2923_wasmtime_anyref_is_struct.restype = ctypes.c_bool 

2924_wasmtime_anyref_is_struct.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t)] 

2925def wasmtime_anyref_is_struct(context: Any, anyref: Any) -> bool: 

2926 return _wasmtime_anyref_is_struct(context, anyref) # type: ignore 

2927 

2928_wasmtime_anyref_as_struct = dll.wasmtime_anyref_as_struct 

2929_wasmtime_anyref_as_struct.restype = ctypes.c_bool 

2930_wasmtime_anyref_as_struct.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t), ctypes.POINTER(wasmtime_structref_t)] 

2931def wasmtime_anyref_as_struct(context: Any, anyref: Any, out: Any) -> bool: 

2932 return _wasmtime_anyref_as_struct(context, anyref, out) # type: ignore 

2933 

2934_wasmtime_anyref_is_array = dll.wasmtime_anyref_is_array 

2935_wasmtime_anyref_is_array.restype = ctypes.c_bool 

2936_wasmtime_anyref_is_array.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t)] 

2937def wasmtime_anyref_is_array(context: Any, anyref: Any) -> bool: 

2938 return _wasmtime_anyref_is_array(context, anyref) # type: ignore 

2939 

2940_wasmtime_anyref_as_array = dll.wasmtime_anyref_as_array 

2941_wasmtime_anyref_as_array.restype = ctypes.c_bool 

2942_wasmtime_anyref_as_array.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t), ctypes.POINTER(wasmtime_arrayref_t)] 

2943def wasmtime_anyref_as_array(context: Any, anyref: Any, out: Any) -> bool: 

2944 return _wasmtime_anyref_as_array(context, anyref, out) # type: ignore 

2945 

2946_wasmtime_anyref_type = dll.wasmtime_anyref_type 

2947_wasmtime_anyref_type.restype = ctypes.c_bool 

2948_wasmtime_anyref_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t), ctypes.POINTER(wasmtime_heaptype_t)] 

2949def wasmtime_anyref_type(context: Any, anyref: Any, out: Any) -> bool: 

2950 return _wasmtime_anyref_type(context, anyref, out) # type: ignore 

2951 

2952class wasmtime_array_ref_pre(ctypes.Structure): 

2953 pass 

2954 

2955wasmtime_array_ref_pre_t = wasmtime_array_ref_pre 

2956 

2957_wasmtime_array_ref_pre_new = dll.wasmtime_array_ref_pre_new 

2958_wasmtime_array_ref_pre_new.restype = ctypes.POINTER(wasmtime_array_ref_pre_t) 

2959_wasmtime_array_ref_pre_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_array_type_t)] 

2960def wasmtime_array_ref_pre_new(context: Any, ty: Any) -> ctypes._Pointer: 

2961 return _wasmtime_array_ref_pre_new(context, ty) # type: ignore 

2962 

2963_wasmtime_array_ref_pre_delete = dll.wasmtime_array_ref_pre_delete 

2964_wasmtime_array_ref_pre_delete.restype = None 

2965_wasmtime_array_ref_pre_delete.argtypes = [ctypes.POINTER(wasmtime_array_ref_pre_t)] 

2966def wasmtime_array_ref_pre_delete(pre: Any) -> None: 

2967 return _wasmtime_array_ref_pre_delete(pre) # type: ignore 

2968 

2969_wasmtime_arrayref_new = dll.wasmtime_arrayref_new 

2970_wasmtime_arrayref_new.restype = ctypes.POINTER(wasmtime_error_t) 

2971_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)] 

2972def wasmtime_arrayref_new(context: Any, pre: Any, elem: Any, len: Any, out: Any) -> ctypes._Pointer: 

2973 return _wasmtime_arrayref_new(context, pre, elem, len, out) # type: ignore 

2974 

2975_wasmtime_arrayref_clone = dll.wasmtime_arrayref_clone 

2976_wasmtime_arrayref_clone.restype = None 

2977_wasmtime_arrayref_clone.argtypes = [ctypes.POINTER(wasmtime_arrayref_t), ctypes.POINTER(wasmtime_arrayref_t)] 

2978def wasmtime_arrayref_clone(arrayref: Any, out: Any) -> None: 

2979 return _wasmtime_arrayref_clone(arrayref, out) # type: ignore 

2980 

2981_wasmtime_arrayref_unroot = dll.wasmtime_arrayref_unroot 

2982_wasmtime_arrayref_unroot.restype = None 

2983_wasmtime_arrayref_unroot.argtypes = [ctypes.POINTER(wasmtime_arrayref_t)] 

2984def wasmtime_arrayref_unroot(ref: Any) -> None: 

2985 return _wasmtime_arrayref_unroot(ref) # type: ignore 

2986 

2987_wasmtime_arrayref_to_anyref = dll.wasmtime_arrayref_to_anyref 

2988_wasmtime_arrayref_to_anyref.restype = None 

2989_wasmtime_arrayref_to_anyref.argtypes = [ctypes.POINTER(wasmtime_arrayref_t), ctypes.POINTER(wasmtime_anyref_t)] 

2990def wasmtime_arrayref_to_anyref(arrayref: Any, out: Any) -> None: 

2991 return _wasmtime_arrayref_to_anyref(arrayref, out) # type: ignore 

2992 

2993_wasmtime_arrayref_to_eqref = dll.wasmtime_arrayref_to_eqref 

2994_wasmtime_arrayref_to_eqref.restype = None 

2995_wasmtime_arrayref_to_eqref.argtypes = [ctypes.POINTER(wasmtime_arrayref_t), ctypes.POINTER(wasmtime_eqref_t)] 

2996def wasmtime_arrayref_to_eqref(arrayref: Any, out: Any) -> None: 

2997 return _wasmtime_arrayref_to_eqref(arrayref, out) # type: ignore 

2998 

2999_wasmtime_arrayref_len = dll.wasmtime_arrayref_len 

3000_wasmtime_arrayref_len.restype = ctypes.POINTER(wasmtime_error_t) 

3001_wasmtime_arrayref_len.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_arrayref_t), ctypes.POINTER(ctypes.c_uint32)] 

3002def wasmtime_arrayref_len(context: Any, arrayref: Any, out: Any) -> ctypes._Pointer: 

3003 return _wasmtime_arrayref_len(context, arrayref, out) # type: ignore 

3004 

3005_wasmtime_arrayref_get = dll.wasmtime_arrayref_get 

3006_wasmtime_arrayref_get.restype = ctypes.POINTER(wasmtime_error_t) 

3007_wasmtime_arrayref_get.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_arrayref_t), ctypes.c_uint32, ctypes.POINTER(wasmtime_val_t)] 

3008def wasmtime_arrayref_get(context: Any, arrayref: Any, index: Any, out: Any) -> ctypes._Pointer: 

3009 return _wasmtime_arrayref_get(context, arrayref, index, out) # type: ignore 

3010 

3011_wasmtime_arrayref_set = dll.wasmtime_arrayref_set 

3012_wasmtime_arrayref_set.restype = ctypes.POINTER(wasmtime_error_t) 

3013_wasmtime_arrayref_set.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_arrayref_t), ctypes.c_uint32, ctypes.POINTER(wasmtime_val_t)] 

3014def wasmtime_arrayref_set(context: Any, arrayref: Any, index: Any, val: Any) -> ctypes._Pointer: 

3015 return _wasmtime_arrayref_set(context, arrayref, index, val) # type: ignore 

3016 

3017_wasmtime_arrayref_type = dll.wasmtime_arrayref_type 

3018_wasmtime_arrayref_type.restype = ctypes.POINTER(wasmtime_array_type_t) 

3019_wasmtime_arrayref_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_arrayref_t)] 

3020def wasmtime_arrayref_type(context: Any, arrayref: Any) -> ctypes._Pointer: 

3021 return _wasmtime_arrayref_type(context, arrayref) # type: ignore 

3022 

3023wasmtime_strategy_t = ctypes.c_uint8 

3024 

3025class wasmtime_strategy_enum(Enum): 

3026 WASMTIME_STRATEGY_AUTO = auto() 

3027 WASMTIME_STRATEGY_CRANELIFT = auto() 

3028 WASMTIME_STRATEGY_WINCH = auto() 

3029 

3030wasmtime_opt_level_t = ctypes.c_uint8 

3031 

3032class wasmtime_opt_level_enum(Enum): 

3033 WASMTIME_OPT_LEVEL_NONE = auto() 

3034 WASMTIME_OPT_LEVEL_SPEED = auto() 

3035 WASMTIME_OPT_LEVEL_SPEED_AND_SIZE = auto() 

3036 

3037wasmtime_profiling_strategy_t = ctypes.c_uint8 

3038 

3039class wasmtime_profiling_strategy_enum(Enum): 

3040 WASMTIME_PROFILING_STRATEGY_NONE = auto() 

3041 WASMTIME_PROFILING_STRATEGY_JITDUMP = auto() 

3042 WASMTIME_PROFILING_STRATEGY_VTUNE = auto() 

3043 WASMTIME_PROFILING_STRATEGY_PERFMAP = auto() 

3044 

3045wasmtime_regalloc_algorithm_t = ctypes.c_uint8 

3046 

3047class wasmtime_regalloc_algorithm_enum(Enum): 

3048 WASMTIME_REGALLOC_BACKTRACKING = auto() 

3049 WASMTIME_REGALLOC_SINGLE_PASS = auto() 

3050 

3051_wasmtime_config_debug_info_set = dll.wasmtime_config_debug_info_set 

3052_wasmtime_config_debug_info_set.restype = None 

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

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

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

3056 

3057_wasmtime_config_consume_fuel_set = dll.wasmtime_config_consume_fuel_set 

3058_wasmtime_config_consume_fuel_set.restype = None 

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

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

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

3062 

3063_wasmtime_config_epoch_interruption_set = dll.wasmtime_config_epoch_interruption_set 

3064_wasmtime_config_epoch_interruption_set.restype = None 

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

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

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

3068 

3069_wasmtime_config_max_wasm_stack_set = dll.wasmtime_config_max_wasm_stack_set 

3070_wasmtime_config_max_wasm_stack_set.restype = None 

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

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

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

3074 

3075_wasmtime_config_wasm_threads_set = dll.wasmtime_config_wasm_threads_set 

3076_wasmtime_config_wasm_threads_set.restype = None 

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

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

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

3080 

3081_wasmtime_config_shared_memory_set = dll.wasmtime_config_shared_memory_set 

3082_wasmtime_config_shared_memory_set.restype = None 

3083_wasmtime_config_shared_memory_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3084def wasmtime_config_shared_memory_set(arg0: Any, arg1: Any) -> None: 

3085 return _wasmtime_config_shared_memory_set(arg0, arg1) # type: ignore 

3086 

3087_wasmtime_config_wasm_tail_call_set = dll.wasmtime_config_wasm_tail_call_set 

3088_wasmtime_config_wasm_tail_call_set.restype = None 

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

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

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

3092 

3093_wasmtime_config_wasm_reference_types_set = dll.wasmtime_config_wasm_reference_types_set 

3094_wasmtime_config_wasm_reference_types_set.restype = None 

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

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

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

3098 

3099_wasmtime_config_wasm_function_references_set = dll.wasmtime_config_wasm_function_references_set 

3100_wasmtime_config_wasm_function_references_set.restype = None 

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

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

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

3104 

3105_wasmtime_config_wasm_gc_set = dll.wasmtime_config_wasm_gc_set 

3106_wasmtime_config_wasm_gc_set.restype = None 

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

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

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

3110 

3111_wasmtime_config_gc_support_set = dll.wasmtime_config_gc_support_set 

3112_wasmtime_config_gc_support_set.restype = None 

3113_wasmtime_config_gc_support_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3114def wasmtime_config_gc_support_set(arg0: Any, arg1: Any) -> None: 

3115 return _wasmtime_config_gc_support_set(arg0, arg1) # type: ignore 

3116 

3117_wasmtime_config_wasm_simd_set = dll.wasmtime_config_wasm_simd_set 

3118_wasmtime_config_wasm_simd_set.restype = None 

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

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

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

3122 

3123_wasmtime_config_wasm_relaxed_simd_set = dll.wasmtime_config_wasm_relaxed_simd_set 

3124_wasmtime_config_wasm_relaxed_simd_set.restype = None 

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

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

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

3128 

3129_wasmtime_config_wasm_relaxed_simd_deterministic_set = dll.wasmtime_config_wasm_relaxed_simd_deterministic_set 

3130_wasmtime_config_wasm_relaxed_simd_deterministic_set.restype = None 

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

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

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

3134 

3135_wasmtime_config_wasm_bulk_memory_set = dll.wasmtime_config_wasm_bulk_memory_set 

3136_wasmtime_config_wasm_bulk_memory_set.restype = None 

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

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

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

3140 

3141_wasmtime_config_wasm_multi_value_set = dll.wasmtime_config_wasm_multi_value_set 

3142_wasmtime_config_wasm_multi_value_set.restype = None 

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

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

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

3146 

3147_wasmtime_config_wasm_multi_memory_set = dll.wasmtime_config_wasm_multi_memory_set 

3148_wasmtime_config_wasm_multi_memory_set.restype = None 

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

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

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

3152 

3153_wasmtime_config_wasm_memory64_set = dll.wasmtime_config_wasm_memory64_set 

3154_wasmtime_config_wasm_memory64_set.restype = None 

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

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

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

3158 

3159_wasmtime_config_wasm_wide_arithmetic_set = dll.wasmtime_config_wasm_wide_arithmetic_set 

3160_wasmtime_config_wasm_wide_arithmetic_set.restype = None 

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

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

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

3164 

3165_wasmtime_config_wasm_branch_hinting_set = dll.wasmtime_config_wasm_branch_hinting_set 

3166_wasmtime_config_wasm_branch_hinting_set.restype = None 

3167_wasmtime_config_wasm_branch_hinting_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3168def wasmtime_config_wasm_branch_hinting_set(arg0: Any, arg1: Any) -> None: 

3169 return _wasmtime_config_wasm_branch_hinting_set(arg0, arg1) # type: ignore 

3170 

3171_wasmtime_config_wasm_exceptions_set = dll.wasmtime_config_wasm_exceptions_set 

3172_wasmtime_config_wasm_exceptions_set.restype = None 

3173_wasmtime_config_wasm_exceptions_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3174def wasmtime_config_wasm_exceptions_set(arg0: Any, arg1: Any) -> None: 

3175 return _wasmtime_config_wasm_exceptions_set(arg0, arg1) # type: ignore 

3176 

3177_wasmtime_config_wasm_custom_page_sizes_set = dll.wasmtime_config_wasm_custom_page_sizes_set 

3178_wasmtime_config_wasm_custom_page_sizes_set.restype = None 

3179_wasmtime_config_wasm_custom_page_sizes_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3180def wasmtime_config_wasm_custom_page_sizes_set(arg0: Any, arg1: Any) -> None: 

3181 return _wasmtime_config_wasm_custom_page_sizes_set(arg0, arg1) # type: ignore 

3182 

3183_wasmtime_config_wasm_stack_switching_set = dll.wasmtime_config_wasm_stack_switching_set 

3184_wasmtime_config_wasm_stack_switching_set.restype = None 

3185_wasmtime_config_wasm_stack_switching_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3186def wasmtime_config_wasm_stack_switching_set(arg0: Any, arg1: Any) -> None: 

3187 return _wasmtime_config_wasm_stack_switching_set(arg0, arg1) # type: ignore 

3188 

3189_wasmtime_config_strategy_set = dll.wasmtime_config_strategy_set 

3190_wasmtime_config_strategy_set.restype = None 

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

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

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

3194 

3195_wasmtime_config_parallel_compilation_set = dll.wasmtime_config_parallel_compilation_set 

3196_wasmtime_config_parallel_compilation_set.restype = None 

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

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

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

3200 

3201_wasmtime_config_cranelift_debug_verifier_set = dll.wasmtime_config_cranelift_debug_verifier_set 

3202_wasmtime_config_cranelift_debug_verifier_set.restype = None 

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

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

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

3206 

3207_wasmtime_config_cranelift_nan_canonicalization_set = dll.wasmtime_config_cranelift_nan_canonicalization_set 

3208_wasmtime_config_cranelift_nan_canonicalization_set.restype = None 

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

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

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

3212 

3213_wasmtime_config_cranelift_opt_level_set = dll.wasmtime_config_cranelift_opt_level_set 

3214_wasmtime_config_cranelift_opt_level_set.restype = None 

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

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

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

3218 

3219_wasmtime_config_cranelift_regalloc_algorithm_set = dll.wasmtime_config_cranelift_regalloc_algorithm_set 

3220_wasmtime_config_cranelift_regalloc_algorithm_set.restype = None 

3221_wasmtime_config_cranelift_regalloc_algorithm_set.argtypes = [ctypes.POINTER(wasm_config_t), wasmtime_regalloc_algorithm_t] 

3222def wasmtime_config_cranelift_regalloc_algorithm_set(arg0: Any, arg1: Any) -> None: 

3223 return _wasmtime_config_cranelift_regalloc_algorithm_set(arg0, arg1) # type: ignore 

3224 

3225_wasmtime_config_profiler_set = dll.wasmtime_config_profiler_set 

3226_wasmtime_config_profiler_set.restype = None 

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

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

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

3230 

3231_wasmtime_config_memory_may_move_set = dll.wasmtime_config_memory_may_move_set 

3232_wasmtime_config_memory_may_move_set.restype = None 

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

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

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

3236 

3237_wasmtime_config_memory_reservation_set = dll.wasmtime_config_memory_reservation_set 

3238_wasmtime_config_memory_reservation_set.restype = None 

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

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

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

3242 

3243_wasmtime_config_memory_guard_size_set = dll.wasmtime_config_memory_guard_size_set 

3244_wasmtime_config_memory_guard_size_set.restype = None 

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

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

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

3248 

3249_wasmtime_config_memory_reservation_for_growth_set = dll.wasmtime_config_memory_reservation_for_growth_set 

3250_wasmtime_config_memory_reservation_for_growth_set.restype = None 

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

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

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

3254 

3255_wasmtime_config_native_unwind_info_set = dll.wasmtime_config_native_unwind_info_set 

3256_wasmtime_config_native_unwind_info_set.restype = None 

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

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

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

3260 

3261_wasmtime_config_cache_config_load = dll.wasmtime_config_cache_config_load 

3262_wasmtime_config_cache_config_load.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3266 

3267_wasmtime_config_target_set = dll.wasmtime_config_target_set 

3268_wasmtime_config_target_set.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3272 

3273_wasmtime_config_cranelift_flag_enable = dll.wasmtime_config_cranelift_flag_enable 

3274_wasmtime_config_cranelift_flag_enable.restype = None 

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

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

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

3278 

3279_wasmtime_config_cranelift_flag_set = dll.wasmtime_config_cranelift_flag_set 

3280_wasmtime_config_cranelift_flag_set.restype = None 

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

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

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

3284 

3285_wasmtime_config_macos_use_mach_ports_set = dll.wasmtime_config_macos_use_mach_ports_set 

3286_wasmtime_config_macos_use_mach_ports_set.restype = None 

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

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

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

3290 

3291_wasmtime_config_signals_based_traps_set = dll.wasmtime_config_signals_based_traps_set 

3292_wasmtime_config_signals_based_traps_set.restype = None 

3293_wasmtime_config_signals_based_traps_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3294def wasmtime_config_signals_based_traps_set(arg0: Any, arg1: Any) -> None: 

3295 return _wasmtime_config_signals_based_traps_set(arg0, arg1) # type: ignore 

3296 

3297wasmtime_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)) 

3298 

3299wasmtime_memory_grow_callback_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.c_size_t) 

3300 

3301class wasmtime_linear_memory(ctypes.Structure): 

3302 _fields_ = [ 

3303 ("env", ctypes.c_void_p), 

3304 ("get_memory", wasmtime_memory_get_callback_t), 

3305 ("grow_memory", wasmtime_memory_grow_callback_t), 

3306 ("finalizer", ctypes.CFUNCTYPE(None, ctypes.c_void_p)), 

3307 ] 

3308 env: ctypes._Pointer 

3309 get_memory: ctypes._Pointer 

3310 grow_memory: ctypes._Pointer 

3311 finalizer: ctypes._Pointer 

3312 

3313wasmtime_linear_memory_t = wasmtime_linear_memory 

3314 

3315wasmtime_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)) 

3316 

3317class wasmtime_memory_creator(ctypes.Structure): 

3318 _fields_ = [ 

3319 ("env", ctypes.c_void_p), 

3320 ("new_memory", wasmtime_new_memory_callback_t), 

3321 ("finalizer", ctypes.CFUNCTYPE(None, ctypes.c_void_p)), 

3322 ] 

3323 env: ctypes._Pointer 

3324 new_memory: ctypes._Pointer 

3325 finalizer: ctypes._Pointer 

3326 

3327wasmtime_memory_creator_t = wasmtime_memory_creator 

3328 

3329_wasmtime_config_host_memory_creator_set = dll.wasmtime_config_host_memory_creator_set 

3330_wasmtime_config_host_memory_creator_set.restype = None 

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

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

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

3334 

3335_wasmtime_config_memory_init_cow_set = dll.wasmtime_config_memory_init_cow_set 

3336_wasmtime_config_memory_init_cow_set.restype = None 

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

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

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

3340 

3341class wasmtime_pooling_allocation_config_t(ctypes.Structure): 

3342 pass 

3343 

3344_wasmtime_pooling_allocation_config_new = dll.wasmtime_pooling_allocation_config_new 

3345_wasmtime_pooling_allocation_config_new.restype = ctypes.POINTER(wasmtime_pooling_allocation_config_t) 

3346_wasmtime_pooling_allocation_config_new.argtypes = [] 

3347def wasmtime_pooling_allocation_config_new() -> ctypes._Pointer: 

3348 return _wasmtime_pooling_allocation_config_new() # type: ignore 

3349 

3350_wasmtime_pooling_allocation_config_delete = dll.wasmtime_pooling_allocation_config_delete 

3351_wasmtime_pooling_allocation_config_delete.restype = None 

3352_wasmtime_pooling_allocation_config_delete.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t)] 

3353def wasmtime_pooling_allocation_config_delete(arg0: Any) -> None: 

3354 return _wasmtime_pooling_allocation_config_delete(arg0) # type: ignore 

3355 

3356_wasmtime_pooling_allocation_config_max_unused_warm_slots_set = dll.wasmtime_pooling_allocation_config_max_unused_warm_slots_set 

3357_wasmtime_pooling_allocation_config_max_unused_warm_slots_set.restype = None 

3358_wasmtime_pooling_allocation_config_max_unused_warm_slots_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3359def wasmtime_pooling_allocation_config_max_unused_warm_slots_set(arg0: Any, arg1: Any) -> None: 

3360 return _wasmtime_pooling_allocation_config_max_unused_warm_slots_set(arg0, arg1) # type: ignore 

3361 

3362_wasmtime_pooling_allocation_config_decommit_batch_size_set = dll.wasmtime_pooling_allocation_config_decommit_batch_size_set 

3363_wasmtime_pooling_allocation_config_decommit_batch_size_set.restype = None 

3364_wasmtime_pooling_allocation_config_decommit_batch_size_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3365def wasmtime_pooling_allocation_config_decommit_batch_size_set(arg0: Any, arg1: Any) -> None: 

3366 return _wasmtime_pooling_allocation_config_decommit_batch_size_set(arg0, arg1) # type: ignore 

3367 

3368_wasmtime_pooling_allocation_config_async_stack_keep_resident_set = dll.wasmtime_pooling_allocation_config_async_stack_keep_resident_set 

3369_wasmtime_pooling_allocation_config_async_stack_keep_resident_set.restype = None 

3370_wasmtime_pooling_allocation_config_async_stack_keep_resident_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3371def wasmtime_pooling_allocation_config_async_stack_keep_resident_set(arg0: Any, arg1: Any) -> None: 

3372 return _wasmtime_pooling_allocation_config_async_stack_keep_resident_set(arg0, arg1) # type: ignore 

3373 

3374_wasmtime_pooling_allocation_config_linear_memory_keep_resident_set = dll.wasmtime_pooling_allocation_config_linear_memory_keep_resident_set 

3375_wasmtime_pooling_allocation_config_linear_memory_keep_resident_set.restype = None 

3376_wasmtime_pooling_allocation_config_linear_memory_keep_resident_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3377def wasmtime_pooling_allocation_config_linear_memory_keep_resident_set(arg0: Any, arg1: Any) -> None: 

3378 return _wasmtime_pooling_allocation_config_linear_memory_keep_resident_set(arg0, arg1) # type: ignore 

3379 

3380_wasmtime_pooling_allocation_config_table_keep_resident_set = dll.wasmtime_pooling_allocation_config_table_keep_resident_set 

3381_wasmtime_pooling_allocation_config_table_keep_resident_set.restype = None 

3382_wasmtime_pooling_allocation_config_table_keep_resident_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3383def wasmtime_pooling_allocation_config_table_keep_resident_set(arg0: Any, arg1: Any) -> None: 

3384 return _wasmtime_pooling_allocation_config_table_keep_resident_set(arg0, arg1) # type: ignore 

3385 

3386_wasmtime_pooling_allocation_config_total_component_instances_set = dll.wasmtime_pooling_allocation_config_total_component_instances_set 

3387_wasmtime_pooling_allocation_config_total_component_instances_set.restype = None 

3388_wasmtime_pooling_allocation_config_total_component_instances_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3389def wasmtime_pooling_allocation_config_total_component_instances_set(arg0: Any, arg1: Any) -> None: 

3390 return _wasmtime_pooling_allocation_config_total_component_instances_set(arg0, arg1) # type: ignore 

3391 

3392_wasmtime_pooling_allocation_config_max_component_instance_size_set = dll.wasmtime_pooling_allocation_config_max_component_instance_size_set 

3393_wasmtime_pooling_allocation_config_max_component_instance_size_set.restype = None 

3394_wasmtime_pooling_allocation_config_max_component_instance_size_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3395def wasmtime_pooling_allocation_config_max_component_instance_size_set(arg0: Any, arg1: Any) -> None: 

3396 return _wasmtime_pooling_allocation_config_max_component_instance_size_set(arg0, arg1) # type: ignore 

3397 

3398_wasmtime_pooling_allocation_config_max_core_instances_per_component_set = dll.wasmtime_pooling_allocation_config_max_core_instances_per_component_set 

3399_wasmtime_pooling_allocation_config_max_core_instances_per_component_set.restype = None 

3400_wasmtime_pooling_allocation_config_max_core_instances_per_component_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3401def wasmtime_pooling_allocation_config_max_core_instances_per_component_set(arg0: Any, arg1: Any) -> None: 

3402 return _wasmtime_pooling_allocation_config_max_core_instances_per_component_set(arg0, arg1) # type: ignore 

3403 

3404_wasmtime_pooling_allocation_config_max_memories_per_component_set = dll.wasmtime_pooling_allocation_config_max_memories_per_component_set 

3405_wasmtime_pooling_allocation_config_max_memories_per_component_set.restype = None 

3406_wasmtime_pooling_allocation_config_max_memories_per_component_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3407def wasmtime_pooling_allocation_config_max_memories_per_component_set(arg0: Any, arg1: Any) -> None: 

3408 return _wasmtime_pooling_allocation_config_max_memories_per_component_set(arg0, arg1) # type: ignore 

3409 

3410_wasmtime_pooling_allocation_config_max_tables_per_component_set = dll.wasmtime_pooling_allocation_config_max_tables_per_component_set 

3411_wasmtime_pooling_allocation_config_max_tables_per_component_set.restype = None 

3412_wasmtime_pooling_allocation_config_max_tables_per_component_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3413def wasmtime_pooling_allocation_config_max_tables_per_component_set(arg0: Any, arg1: Any) -> None: 

3414 return _wasmtime_pooling_allocation_config_max_tables_per_component_set(arg0, arg1) # type: ignore 

3415 

3416_wasmtime_pooling_allocation_config_total_memories_set = dll.wasmtime_pooling_allocation_config_total_memories_set 

3417_wasmtime_pooling_allocation_config_total_memories_set.restype = None 

3418_wasmtime_pooling_allocation_config_total_memories_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3419def wasmtime_pooling_allocation_config_total_memories_set(arg0: Any, arg1: Any) -> None: 

3420 return _wasmtime_pooling_allocation_config_total_memories_set(arg0, arg1) # type: ignore 

3421 

3422_wasmtime_pooling_allocation_config_total_tables_set = dll.wasmtime_pooling_allocation_config_total_tables_set 

3423_wasmtime_pooling_allocation_config_total_tables_set.restype = None 

3424_wasmtime_pooling_allocation_config_total_tables_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3425def wasmtime_pooling_allocation_config_total_tables_set(arg0: Any, arg1: Any) -> None: 

3426 return _wasmtime_pooling_allocation_config_total_tables_set(arg0, arg1) # type: ignore 

3427 

3428_wasmtime_pooling_allocation_config_total_stacks_set = dll.wasmtime_pooling_allocation_config_total_stacks_set 

3429_wasmtime_pooling_allocation_config_total_stacks_set.restype = None 

3430_wasmtime_pooling_allocation_config_total_stacks_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3431def wasmtime_pooling_allocation_config_total_stacks_set(arg0: Any, arg1: Any) -> None: 

3432 return _wasmtime_pooling_allocation_config_total_stacks_set(arg0, arg1) # type: ignore 

3433 

3434_wasmtime_pooling_allocation_config_total_core_instances_set = dll.wasmtime_pooling_allocation_config_total_core_instances_set 

3435_wasmtime_pooling_allocation_config_total_core_instances_set.restype = None 

3436_wasmtime_pooling_allocation_config_total_core_instances_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3437def wasmtime_pooling_allocation_config_total_core_instances_set(arg0: Any, arg1: Any) -> None: 

3438 return _wasmtime_pooling_allocation_config_total_core_instances_set(arg0, arg1) # type: ignore 

3439 

3440_wasmtime_pooling_allocation_config_max_core_instance_size_set = dll.wasmtime_pooling_allocation_config_max_core_instance_size_set 

3441_wasmtime_pooling_allocation_config_max_core_instance_size_set.restype = None 

3442_wasmtime_pooling_allocation_config_max_core_instance_size_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3443def wasmtime_pooling_allocation_config_max_core_instance_size_set(arg0: Any, arg1: Any) -> None: 

3444 return _wasmtime_pooling_allocation_config_max_core_instance_size_set(arg0, arg1) # type: ignore 

3445 

3446_wasmtime_pooling_allocation_config_max_tables_per_module_set = dll.wasmtime_pooling_allocation_config_max_tables_per_module_set 

3447_wasmtime_pooling_allocation_config_max_tables_per_module_set.restype = None 

3448_wasmtime_pooling_allocation_config_max_tables_per_module_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3449def wasmtime_pooling_allocation_config_max_tables_per_module_set(arg0: Any, arg1: Any) -> None: 

3450 return _wasmtime_pooling_allocation_config_max_tables_per_module_set(arg0, arg1) # type: ignore 

3451 

3452_wasmtime_pooling_allocation_config_table_elements_set = dll.wasmtime_pooling_allocation_config_table_elements_set 

3453_wasmtime_pooling_allocation_config_table_elements_set.restype = None 

3454_wasmtime_pooling_allocation_config_table_elements_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3455def wasmtime_pooling_allocation_config_table_elements_set(arg0: Any, arg1: Any) -> None: 

3456 return _wasmtime_pooling_allocation_config_table_elements_set(arg0, arg1) # type: ignore 

3457 

3458_wasmtime_pooling_allocation_config_max_memories_per_module_set = dll.wasmtime_pooling_allocation_config_max_memories_per_module_set 

3459_wasmtime_pooling_allocation_config_max_memories_per_module_set.restype = None 

3460_wasmtime_pooling_allocation_config_max_memories_per_module_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3461def wasmtime_pooling_allocation_config_max_memories_per_module_set(arg0: Any, arg1: Any) -> None: 

3462 return _wasmtime_pooling_allocation_config_max_memories_per_module_set(arg0, arg1) # type: ignore 

3463 

3464_wasmtime_pooling_allocation_config_max_memory_size_set = dll.wasmtime_pooling_allocation_config_max_memory_size_set 

3465_wasmtime_pooling_allocation_config_max_memory_size_set.restype = None 

3466_wasmtime_pooling_allocation_config_max_memory_size_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_size_t] 

3467def wasmtime_pooling_allocation_config_max_memory_size_set(arg0: Any, arg1: Any) -> None: 

3468 return _wasmtime_pooling_allocation_config_max_memory_size_set(arg0, arg1) # type: ignore 

3469 

3470_wasmtime_pooling_allocation_config_total_gc_heaps_set = dll.wasmtime_pooling_allocation_config_total_gc_heaps_set 

3471_wasmtime_pooling_allocation_config_total_gc_heaps_set.restype = None 

3472_wasmtime_pooling_allocation_config_total_gc_heaps_set.argtypes = [ctypes.POINTER(wasmtime_pooling_allocation_config_t), ctypes.c_uint32] 

3473def wasmtime_pooling_allocation_config_total_gc_heaps_set(arg0: Any, arg1: Any) -> None: 

3474 return _wasmtime_pooling_allocation_config_total_gc_heaps_set(arg0, arg1) # type: ignore 

3475 

3476_wasmtime_pooling_allocation_strategy_set = dll.wasmtime_pooling_allocation_strategy_set 

3477_wasmtime_pooling_allocation_strategy_set.restype = None 

3478_wasmtime_pooling_allocation_strategy_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.POINTER(wasmtime_pooling_allocation_config_t)] 

3479def wasmtime_pooling_allocation_strategy_set(arg0: Any, arg1: Any) -> None: 

3480 return _wasmtime_pooling_allocation_strategy_set(arg0, arg1) # type: ignore 

3481 

3482_wasmtime_config_wasm_component_model_set = dll.wasmtime_config_wasm_component_model_set 

3483_wasmtime_config_wasm_component_model_set.restype = None 

3484_wasmtime_config_wasm_component_model_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3485def wasmtime_config_wasm_component_model_set(arg0: Any, arg1: Any) -> None: 

3486 return _wasmtime_config_wasm_component_model_set(arg0, arg1) # type: ignore 

3487 

3488_wasmtime_config_concurrency_support_set = dll.wasmtime_config_concurrency_support_set 

3489_wasmtime_config_concurrency_support_set.restype = None 

3490_wasmtime_config_concurrency_support_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3491def wasmtime_config_concurrency_support_set(arg0: Any, arg1: Any) -> None: 

3492 return _wasmtime_config_concurrency_support_set(arg0, arg1) # type: ignore 

3493 

3494_wasmtime_config_wasm_component_model_map_set = dll.wasmtime_config_wasm_component_model_map_set 

3495_wasmtime_config_wasm_component_model_map_set.restype = None 

3496_wasmtime_config_wasm_component_model_map_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3497def wasmtime_config_wasm_component_model_map_set(arg0: Any, arg1: Any) -> None: 

3498 return _wasmtime_config_wasm_component_model_map_set(arg0, arg1) # type: ignore 

3499 

3500_wasmtime_config_wasm_component_model_async_set = dll.wasmtime_config_wasm_component_model_async_set 

3501_wasmtime_config_wasm_component_model_async_set.restype = None 

3502_wasmtime_config_wasm_component_model_async_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3503def wasmtime_config_wasm_component_model_async_set(arg0: Any, arg1: Any) -> None: 

3504 return _wasmtime_config_wasm_component_model_async_set(arg0, arg1) # type: ignore 

3505 

3506_wasmtime_config_wasm_component_model_more_async_builtins_set = dll.wasmtime_config_wasm_component_model_more_async_builtins_set 

3507_wasmtime_config_wasm_component_model_more_async_builtins_set.restype = None 

3508_wasmtime_config_wasm_component_model_more_async_builtins_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3509def wasmtime_config_wasm_component_model_more_async_builtins_set(arg0: Any, arg1: Any) -> None: 

3510 return _wasmtime_config_wasm_component_model_more_async_builtins_set(arg0, arg1) # type: ignore 

3511 

3512_wasmtime_config_wasm_component_model_async_stackful_set = dll.wasmtime_config_wasm_component_model_async_stackful_set 

3513_wasmtime_config_wasm_component_model_async_stackful_set.restype = None 

3514_wasmtime_config_wasm_component_model_async_stackful_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3515def wasmtime_config_wasm_component_model_async_stackful_set(arg0: Any, arg1: Any) -> None: 

3516 return _wasmtime_config_wasm_component_model_async_stackful_set(arg0, arg1) # type: ignore 

3517 

3518class wasmtime_caller(ctypes.Structure): 

3519 pass 

3520 

3521wasmtime_caller_t = wasmtime_caller 

3522 

3523wasmtime_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) 

3524 

3525_wasmtime_func_new = dll.wasmtime_func_new 

3526_wasmtime_func_new.restype = None 

3527_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)] 

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

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

3530 

3531wasmtime_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) 

3532 

3533_wasmtime_func_new_unchecked = dll.wasmtime_func_new_unchecked 

3534_wasmtime_func_new_unchecked.restype = None 

3535_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)] 

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

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

3538 

3539_wasmtime_func_type = dll.wasmtime_func_type 

3540_wasmtime_func_type.restype = ctypes.POINTER(wasm_functype_t) 

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

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

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

3544 

3545_wasmtime_func_call = dll.wasmtime_func_call 

3546_wasmtime_func_call.restype = ctypes.POINTER(wasmtime_error_t) 

3547_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))] 

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

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

3550 

3551_wasmtime_func_call_unchecked = dll.wasmtime_func_call_unchecked 

3552_wasmtime_func_call_unchecked.restype = ctypes.POINTER(wasmtime_error_t) 

3553_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))] 

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

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

3556 

3557_wasmtime_caller_export_get = dll.wasmtime_caller_export_get 

3558_wasmtime_caller_export_get.restype = ctypes.c_bool 

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

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

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

3562 

3563_wasmtime_caller_context = dll.wasmtime_caller_context 

3564_wasmtime_caller_context.restype = ctypes.POINTER(wasmtime_context_t) 

3565_wasmtime_caller_context.argtypes = [ctypes.POINTER(wasmtime_caller_t)] 

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

3567 return _wasmtime_caller_context(caller) # type: ignore 

3568 

3569_wasmtime_func_from_raw = dll.wasmtime_func_from_raw 

3570_wasmtime_func_from_raw.restype = None 

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

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

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

3574 

3575_wasmtime_func_to_raw = dll.wasmtime_func_to_raw 

3576_wasmtime_func_to_raw.restype = ctypes.c_void_p 

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

3578def wasmtime_func_to_raw(context: Any, func: Any) -> ctypes._Pointer: 

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

3580 

3581class wasmtime_instance(ctypes.Structure): 

3582 _fields_ = [ 

3583 ("store_id", ctypes.c_uint64), 

3584 ("__private", ctypes.c_size_t), 

3585 ] 

3586 store_id: int 

3587 __private: int 

3588 

3589wasmtime_instance_t = wasmtime_instance 

3590 

3591_wasmtime_instance_new = dll.wasmtime_instance_new 

3592_wasmtime_instance_new.restype = ctypes.POINTER(wasmtime_error_t) 

3593_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))] 

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

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

3596 

3597_wasmtime_instance_export_get = dll.wasmtime_instance_export_get 

3598_wasmtime_instance_export_get.restype = ctypes.c_bool 

3599_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)] 

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

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

3602 

3603_wasmtime_instance_export_nth = dll.wasmtime_instance_export_nth 

3604_wasmtime_instance_export_nth.restype = ctypes.c_bool 

3605_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)] 

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

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

3608 

3609class wasmtime_instance_pre(ctypes.Structure): 

3610 pass 

3611 

3612wasmtime_instance_pre_t = wasmtime_instance_pre 

3613 

3614_wasmtime_instance_pre_delete = dll.wasmtime_instance_pre_delete 

3615_wasmtime_instance_pre_delete.restype = None 

3616_wasmtime_instance_pre_delete.argtypes = [ctypes.POINTER(wasmtime_instance_pre_t)] 

3617def wasmtime_instance_pre_delete(instance_pre: Any) -> None: 

3618 return _wasmtime_instance_pre_delete(instance_pre) # type: ignore 

3619 

3620_wasmtime_instance_pre_instantiate = dll.wasmtime_instance_pre_instantiate 

3621_wasmtime_instance_pre_instantiate.restype = ctypes.POINTER(wasmtime_error_t) 

3622_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))] 

3623def wasmtime_instance_pre_instantiate(instance_pre: Any, store: Any, instance: Any, trap_ptr: Any) -> ctypes._Pointer: 

3624 return _wasmtime_instance_pre_instantiate(instance_pre, store, instance, trap_ptr) # type: ignore 

3625 

3626_wasmtime_instance_pre_module = dll.wasmtime_instance_pre_module 

3627_wasmtime_instance_pre_module.restype = ctypes.POINTER(wasmtime_module_t) 

3628_wasmtime_instance_pre_module.argtypes = [ctypes.POINTER(wasmtime_instance_pre_t)] 

3629def wasmtime_instance_pre_module(instance_pre: Any) -> ctypes._Pointer: 

3630 return _wasmtime_instance_pre_module(instance_pre) # type: ignore 

3631 

3632class wasmtime_linker(ctypes.Structure): 

3633 pass 

3634 

3635wasmtime_linker_t = wasmtime_linker 

3636 

3637_wasmtime_linker_new = dll.wasmtime_linker_new 

3638_wasmtime_linker_new.restype = ctypes.POINTER(wasmtime_linker_t) 

3639_wasmtime_linker_new.argtypes = [ctypes.POINTER(wasm_engine_t)] 

3640def wasmtime_linker_new(engine: Any) -> ctypes._Pointer: 

3641 return _wasmtime_linker_new(engine) # type: ignore 

3642 

3643_wasmtime_linker_clone = dll.wasmtime_linker_clone 

3644_wasmtime_linker_clone.restype = ctypes.POINTER(wasmtime_linker_t) 

3645_wasmtime_linker_clone.argtypes = [ctypes.POINTER(wasmtime_linker_t)] 

3646def wasmtime_linker_clone(linker: Any) -> ctypes._Pointer: 

3647 return _wasmtime_linker_clone(linker) # type: ignore 

3648 

3649_wasmtime_linker_delete = dll.wasmtime_linker_delete 

3650_wasmtime_linker_delete.restype = None 

3651_wasmtime_linker_delete.argtypes = [ctypes.POINTER(wasmtime_linker_t)] 

3652def wasmtime_linker_delete(linker: Any) -> None: 

3653 return _wasmtime_linker_delete(linker) # type: ignore 

3654 

3655_wasmtime_linker_allow_shadowing = dll.wasmtime_linker_allow_shadowing 

3656_wasmtime_linker_allow_shadowing.restype = None 

3657_wasmtime_linker_allow_shadowing.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.c_bool] 

3658def wasmtime_linker_allow_shadowing(linker: Any, allow_shadowing: Any) -> None: 

3659 return _wasmtime_linker_allow_shadowing(linker, allow_shadowing) # type: ignore 

3660 

3661_wasmtime_linker_define_unknown_imports_as_traps = dll.wasmtime_linker_define_unknown_imports_as_traps 

3662_wasmtime_linker_define_unknown_imports_as_traps.restype = ctypes.POINTER(wasmtime_error_t) 

3663_wasmtime_linker_define_unknown_imports_as_traps.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_module_t)] 

3664def wasmtime_linker_define_unknown_imports_as_traps(linker: Any, module: Any) -> ctypes._Pointer: 

3665 return _wasmtime_linker_define_unknown_imports_as_traps(linker, module) # type: ignore 

3666 

3667_wasmtime_linker_define_unknown_imports_as_default_values = dll.wasmtime_linker_define_unknown_imports_as_default_values 

3668_wasmtime_linker_define_unknown_imports_as_default_values.restype = ctypes.POINTER(wasmtime_error_t) 

3669_wasmtime_linker_define_unknown_imports_as_default_values.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_module_t)] 

3670def wasmtime_linker_define_unknown_imports_as_default_values(linker: Any, store: Any, module: Any) -> ctypes._Pointer: 

3671 return _wasmtime_linker_define_unknown_imports_as_default_values(linker, store, module) # type: ignore 

3672 

3673_wasmtime_linker_define = dll.wasmtime_linker_define 

3674_wasmtime_linker_define.restype = ctypes.POINTER(wasmtime_error_t) 

3675_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)] 

3676def wasmtime_linker_define(linker: Any, store: Any, module: Any, module_len: Any, name: Any, name_len: Any, item: Any) -> ctypes._Pointer: 

3677 return _wasmtime_linker_define(linker, store, module, module_len, name, name_len, item) # type: ignore 

3678 

3679_wasmtime_linker_define_func = dll.wasmtime_linker_define_func 

3680_wasmtime_linker_define_func.restype = ctypes.POINTER(wasmtime_error_t) 

3681_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)] 

3682def 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: 

3683 return _wasmtime_linker_define_func(linker, module, module_len, name, name_len, ty, cb, data, finalizer) # type: ignore 

3684 

3685_wasmtime_linker_define_func_unchecked = dll.wasmtime_linker_define_func_unchecked 

3686_wasmtime_linker_define_func_unchecked.restype = ctypes.POINTER(wasmtime_error_t) 

3687_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)] 

3688def 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: 

3689 return _wasmtime_linker_define_func_unchecked(linker, module, module_len, name, name_len, ty, cb, data, finalizer) # type: ignore 

3690 

3691_wasmtime_linker_define_wasi = dll.wasmtime_linker_define_wasi 

3692_wasmtime_linker_define_wasi.restype = ctypes.POINTER(wasmtime_error_t) 

3693_wasmtime_linker_define_wasi.argtypes = [ctypes.POINTER(wasmtime_linker_t)] 

3694def wasmtime_linker_define_wasi(linker: Any) -> ctypes._Pointer: 

3695 return _wasmtime_linker_define_wasi(linker) # type: ignore 

3696 

3697_wasmtime_linker_define_instance = dll.wasmtime_linker_define_instance 

3698_wasmtime_linker_define_instance.restype = ctypes.POINTER(wasmtime_error_t) 

3699_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)] 

3700def wasmtime_linker_define_instance(linker: Any, store: Any, name: Any, name_len: Any, instance: Any) -> ctypes._Pointer: 

3701 return _wasmtime_linker_define_instance(linker, store, name, name_len, instance) # type: ignore 

3702 

3703_wasmtime_linker_instantiate = dll.wasmtime_linker_instantiate 

3704_wasmtime_linker_instantiate.restype = ctypes.POINTER(wasmtime_error_t) 

3705_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))] 

3706def wasmtime_linker_instantiate(linker: Any, store: Any, module: Any, instance: Any, trap: Any) -> ctypes._Pointer: 

3707 return _wasmtime_linker_instantiate(linker, store, module, instance, trap) # type: ignore 

3708 

3709_wasmtime_linker_module = dll.wasmtime_linker_module 

3710_wasmtime_linker_module.restype = ctypes.POINTER(wasmtime_error_t) 

3711_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)] 

3712def wasmtime_linker_module(linker: Any, store: Any, name: Any, name_len: Any, module: Any) -> ctypes._Pointer: 

3713 return _wasmtime_linker_module(linker, store, name, name_len, module) # type: ignore 

3714 

3715_wasmtime_linker_get_default = dll.wasmtime_linker_get_default 

3716_wasmtime_linker_get_default.restype = ctypes.POINTER(wasmtime_error_t) 

3717_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)] 

3718def wasmtime_linker_get_default(linker: Any, store: Any, name: Any, name_len: Any, func: Any) -> ctypes._Pointer: 

3719 return _wasmtime_linker_get_default(linker, store, name, name_len, func) # type: ignore 

3720 

3721_wasmtime_linker_get = dll.wasmtime_linker_get 

3722_wasmtime_linker_get.restype = ctypes.c_bool 

3723_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)] 

3724def wasmtime_linker_get(linker: Any, store: Any, module: Any, module_len: Any, name: Any, name_len: Any, item: Any) -> bool: 

3725 return _wasmtime_linker_get(linker, store, module, module_len, name, name_len, item) # type: ignore 

3726 

3727_wasmtime_linker_instantiate_pre = dll.wasmtime_linker_instantiate_pre 

3728_wasmtime_linker_instantiate_pre.restype = ctypes.POINTER(wasmtime_error_t) 

3729_wasmtime_linker_instantiate_pre.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_module_t), ctypes.POINTER(ctypes.POINTER(wasmtime_instance_pre_t))] 

3730def wasmtime_linker_instantiate_pre(linker: Any, module: Any, instance_pre: Any) -> ctypes._Pointer: 

3731 return _wasmtime_linker_instantiate_pre(linker, module, instance_pre) # type: ignore 

3732 

3733_wasmtime_config_async_stack_size_set = dll.wasmtime_config_async_stack_size_set 

3734_wasmtime_config_async_stack_size_set.restype = None 

3735_wasmtime_config_async_stack_size_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_size_t] 

3736def wasmtime_config_async_stack_size_set(arg0: Any, arg1: Any) -> None: 

3737 return _wasmtime_config_async_stack_size_set(arg0, arg1) # type: ignore 

3738 

3739_wasmtime_context_fuel_async_yield_interval = dll.wasmtime_context_fuel_async_yield_interval 

3740_wasmtime_context_fuel_async_yield_interval.restype = ctypes.POINTER(wasmtime_error_t) 

3741_wasmtime_context_fuel_async_yield_interval.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint64] 

3742def wasmtime_context_fuel_async_yield_interval(context: Any, interval: Any) -> ctypes._Pointer: 

3743 return _wasmtime_context_fuel_async_yield_interval(context, interval) # type: ignore 

3744 

3745_wasmtime_context_epoch_deadline_async_yield_and_update = dll.wasmtime_context_epoch_deadline_async_yield_and_update 

3746_wasmtime_context_epoch_deadline_async_yield_and_update.restype = ctypes.POINTER(wasmtime_error_t) 

3747_wasmtime_context_epoch_deadline_async_yield_and_update.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint64] 

3748def wasmtime_context_epoch_deadline_async_yield_and_update(context: Any, delta: Any) -> ctypes._Pointer: 

3749 return _wasmtime_context_epoch_deadline_async_yield_and_update(context, delta) # type: ignore 

3750 

3751wasmtime_func_async_continuation_callback_t = ctypes.CFUNCTYPE(ctypes.c_bool, ctypes.c_void_p) 

3752 

3753class wasmtime_async_continuation_t(ctypes.Structure): 

3754 _fields_ = [ 

3755 ("callback", wasmtime_func_async_continuation_callback_t), 

3756 ("env", ctypes.c_void_p), 

3757 ("finalizer", ctypes.CFUNCTYPE(None, ctypes.c_void_p)), 

3758 ] 

3759 callback: ctypes._Pointer 

3760 env: ctypes._Pointer 

3761 finalizer: ctypes._Pointer 

3762 

3763wasmtime_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)) 

3764 

3765class wasmtime_call_future(ctypes.Structure): 

3766 pass 

3767 

3768wasmtime_call_future_t = wasmtime_call_future 

3769 

3770_wasmtime_call_future_poll = dll.wasmtime_call_future_poll 

3771_wasmtime_call_future_poll.restype = ctypes.c_bool 

3772_wasmtime_call_future_poll.argtypes = [ctypes.POINTER(wasmtime_call_future_t)] 

3773def wasmtime_call_future_poll(future: Any) -> bool: 

3774 return _wasmtime_call_future_poll(future) # type: ignore 

3775 

3776_wasmtime_call_future_delete = dll.wasmtime_call_future_delete 

3777_wasmtime_call_future_delete.restype = None 

3778_wasmtime_call_future_delete.argtypes = [ctypes.POINTER(wasmtime_call_future_t)] 

3779def wasmtime_call_future_delete(future: Any) -> None: 

3780 return _wasmtime_call_future_delete(future) # type: ignore 

3781 

3782_wasmtime_func_call_async = dll.wasmtime_func_call_async 

3783_wasmtime_func_call_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

3784_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))] 

3785def wasmtime_func_call_async(context: Any, func: Any, args: Any, nargs: Any, results: Any, nresults: Any, trap_ret: Any, error_ret: Any) -> ctypes._Pointer: 

3786 return _wasmtime_func_call_async(context, func, args, nargs, results, nresults, trap_ret, error_ret) # type: ignore 

3787 

3788_wasmtime_linker_define_async_func = dll.wasmtime_linker_define_async_func 

3789_wasmtime_linker_define_async_func.restype = ctypes.POINTER(wasmtime_error_t) 

3790_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)] 

3791def 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: 

3792 return _wasmtime_linker_define_async_func(linker, module, module_len, name, name_len, ty, cb, data, finalizer) # type: ignore 

3793 

3794_wasmtime_linker_instantiate_async = dll.wasmtime_linker_instantiate_async 

3795_wasmtime_linker_instantiate_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

3796_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))] 

3797def wasmtime_linker_instantiate_async(linker: Any, store: Any, module: Any, instance: Any, trap_ret: Any, error_ret: Any) -> ctypes._Pointer: 

3798 return _wasmtime_linker_instantiate_async(linker, store, module, instance, trap_ret, error_ret) # type: ignore 

3799 

3800_wasmtime_instance_pre_instantiate_async = dll.wasmtime_instance_pre_instantiate_async 

3801_wasmtime_instance_pre_instantiate_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

3802_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))] 

3803def wasmtime_instance_pre_instantiate_async(instance_pre: Any, store: Any, instance: Any, trap_ret: Any, error_ret: Any) -> ctypes._Pointer: 

3804 return _wasmtime_instance_pre_instantiate_async(instance_pre, store, instance, trap_ret, error_ret) # type: ignore 

3805 

3806wasmtime_stack_memory_get_callback_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.POINTER(ctypes.c_size_t)) 

3807 

3808class wasmtime_stack_memory(ctypes.Structure): 

3809 _fields_ = [ 

3810 ("env", ctypes.c_void_p), 

3811 ("get_stack_memory", wasmtime_stack_memory_get_callback_t), 

3812 ("finalizer", ctypes.CFUNCTYPE(None, ctypes.c_void_p)), 

3813 ] 

3814 env: ctypes._Pointer 

3815 get_stack_memory: ctypes._Pointer 

3816 finalizer: ctypes._Pointer 

3817 

3818wasmtime_stack_memory_t = wasmtime_stack_memory 

3819 

3820wasmtime_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)) 

3821 

3822class wasmtime_stack_creator(ctypes.Structure): 

3823 _fields_ = [ 

3824 ("env", ctypes.c_void_p), 

3825 ("new_stack", wasmtime_new_stack_memory_callback_t), 

3826 ("finalizer", ctypes.CFUNCTYPE(None, ctypes.c_void_p)), 

3827 ] 

3828 env: ctypes._Pointer 

3829 new_stack: ctypes._Pointer 

3830 finalizer: ctypes._Pointer 

3831 

3832wasmtime_stack_creator_t = wasmtime_stack_creator 

3833 

3834_wasmtime_config_host_stack_creator_set = dll.wasmtime_config_host_stack_creator_set 

3835_wasmtime_config_host_stack_creator_set.restype = None 

3836_wasmtime_config_host_stack_creator_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.POINTER(wasmtime_stack_creator_t)] 

3837def wasmtime_config_host_stack_creator_set(arg0: Any, arg1: Any) -> None: 

3838 return _wasmtime_config_host_stack_creator_set(arg0, arg1) # type: ignore 

3839 

3840class wasmtime_component_resource_type(ctypes.Structure): 

3841 pass 

3842 

3843wasmtime_component_resource_type_t = wasmtime_component_resource_type 

3844 

3845_wasmtime_component_resource_type_new_host = dll.wasmtime_component_resource_type_new_host 

3846_wasmtime_component_resource_type_new_host.restype = ctypes.POINTER(wasmtime_component_resource_type_t) 

3847_wasmtime_component_resource_type_new_host.argtypes = [ctypes.c_uint32] 

3848def wasmtime_component_resource_type_new_host(ty: Any) -> ctypes._Pointer: 

3849 return _wasmtime_component_resource_type_new_host(ty) # type: ignore 

3850 

3851_wasmtime_component_resource_type_clone = dll.wasmtime_component_resource_type_clone 

3852_wasmtime_component_resource_type_clone.restype = ctypes.POINTER(wasmtime_component_resource_type_t) 

3853_wasmtime_component_resource_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_resource_type_t)] 

3854def wasmtime_component_resource_type_clone(ty: Any) -> ctypes._Pointer: 

3855 return _wasmtime_component_resource_type_clone(ty) # type: ignore 

3856 

3857_wasmtime_component_resource_type_equal = dll.wasmtime_component_resource_type_equal 

3858_wasmtime_component_resource_type_equal.restype = ctypes.c_bool 

3859_wasmtime_component_resource_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_resource_type_t), ctypes.POINTER(wasmtime_component_resource_type_t)] 

3860def wasmtime_component_resource_type_equal(a: Any, b: Any) -> bool: 

3861 return _wasmtime_component_resource_type_equal(a, b) # type: ignore 

3862 

3863_wasmtime_component_resource_type_delete = dll.wasmtime_component_resource_type_delete 

3864_wasmtime_component_resource_type_delete.restype = None 

3865_wasmtime_component_resource_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_resource_type_t)] 

3866def wasmtime_component_resource_type_delete(resource: Any) -> None: 

3867 return _wasmtime_component_resource_type_delete(resource) # type: ignore 

3868 

3869class wasmtime_component_valtype_t(ctypes.Structure): 

3870 pass 

3871 

3872class wasmtime_component_list_type(ctypes.Structure): 

3873 pass 

3874 

3875wasmtime_component_list_type_t = wasmtime_component_list_type 

3876 

3877_wasmtime_component_list_type_clone = dll.wasmtime_component_list_type_clone 

3878_wasmtime_component_list_type_clone.restype = ctypes.POINTER(wasmtime_component_list_type_t) 

3879_wasmtime_component_list_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_list_type_t)] 

3880def wasmtime_component_list_type_clone(ty: Any) -> ctypes._Pointer: 

3881 return _wasmtime_component_list_type_clone(ty) # type: ignore 

3882 

3883_wasmtime_component_list_type_equal = dll.wasmtime_component_list_type_equal 

3884_wasmtime_component_list_type_equal.restype = ctypes.c_bool 

3885_wasmtime_component_list_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_list_type_t), ctypes.POINTER(wasmtime_component_list_type_t)] 

3886def wasmtime_component_list_type_equal(a: Any, b: Any) -> bool: 

3887 return _wasmtime_component_list_type_equal(a, b) # type: ignore 

3888 

3889_wasmtime_component_list_type_delete = dll.wasmtime_component_list_type_delete 

3890_wasmtime_component_list_type_delete.restype = None 

3891_wasmtime_component_list_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_list_type_t)] 

3892def wasmtime_component_list_type_delete(ptr: Any) -> None: 

3893 return _wasmtime_component_list_type_delete(ptr) # type: ignore 

3894 

3895_wasmtime_component_list_type_element = dll.wasmtime_component_list_type_element 

3896_wasmtime_component_list_type_element.restype = None 

3897_wasmtime_component_list_type_element.argtypes = [ctypes.POINTER(wasmtime_component_list_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

3898def wasmtime_component_list_type_element(ty: Any, type_ret: Any) -> None: 

3899 return _wasmtime_component_list_type_element(ty, type_ret) # type: ignore 

3900 

3901class wasmtime_component_record_type(ctypes.Structure): 

3902 pass 

3903 

3904wasmtime_component_record_type_t = wasmtime_component_record_type 

3905 

3906_wasmtime_component_record_type_clone = dll.wasmtime_component_record_type_clone 

3907_wasmtime_component_record_type_clone.restype = ctypes.POINTER(wasmtime_component_record_type_t) 

3908_wasmtime_component_record_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_record_type_t)] 

3909def wasmtime_component_record_type_clone(ty: Any) -> ctypes._Pointer: 

3910 return _wasmtime_component_record_type_clone(ty) # type: ignore 

3911 

3912_wasmtime_component_record_type_equal = dll.wasmtime_component_record_type_equal 

3913_wasmtime_component_record_type_equal.restype = ctypes.c_bool 

3914_wasmtime_component_record_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_record_type_t), ctypes.POINTER(wasmtime_component_record_type_t)] 

3915def wasmtime_component_record_type_equal(a: Any, b: Any) -> bool: 

3916 return _wasmtime_component_record_type_equal(a, b) # type: ignore 

3917 

3918_wasmtime_component_record_type_delete = dll.wasmtime_component_record_type_delete 

3919_wasmtime_component_record_type_delete.restype = None 

3920_wasmtime_component_record_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_record_type_t)] 

3921def wasmtime_component_record_type_delete(ptr: Any) -> None: 

3922 return _wasmtime_component_record_type_delete(ptr) # type: ignore 

3923 

3924_wasmtime_component_record_type_field_count = dll.wasmtime_component_record_type_field_count 

3925_wasmtime_component_record_type_field_count.restype = ctypes.c_size_t 

3926_wasmtime_component_record_type_field_count.argtypes = [ctypes.POINTER(wasmtime_component_record_type_t)] 

3927def wasmtime_component_record_type_field_count(ty: Any) -> int: 

3928 return _wasmtime_component_record_type_field_count(ty) # type: ignore 

3929 

3930_wasmtime_component_record_type_field_nth = dll.wasmtime_component_record_type_field_nth 

3931_wasmtime_component_record_type_field_nth.restype = ctypes.c_bool 

3932_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)] 

3933def wasmtime_component_record_type_field_nth(ty: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

3934 return _wasmtime_component_record_type_field_nth(ty, nth, name_ret, name_len_ret, type_ret) # type: ignore 

3935 

3936class wasmtime_component_tuple_type(ctypes.Structure): 

3937 pass 

3938 

3939wasmtime_component_tuple_type_t = wasmtime_component_tuple_type 

3940 

3941_wasmtime_component_tuple_type_clone = dll.wasmtime_component_tuple_type_clone 

3942_wasmtime_component_tuple_type_clone.restype = ctypes.POINTER(wasmtime_component_tuple_type_t) 

3943_wasmtime_component_tuple_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_tuple_type_t)] 

3944def wasmtime_component_tuple_type_clone(ty: Any) -> ctypes._Pointer: 

3945 return _wasmtime_component_tuple_type_clone(ty) # type: ignore 

3946 

3947_wasmtime_component_tuple_type_equal = dll.wasmtime_component_tuple_type_equal 

3948_wasmtime_component_tuple_type_equal.restype = ctypes.c_bool 

3949_wasmtime_component_tuple_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_tuple_type_t), ctypes.POINTER(wasmtime_component_tuple_type_t)] 

3950def wasmtime_component_tuple_type_equal(a: Any, b: Any) -> bool: 

3951 return _wasmtime_component_tuple_type_equal(a, b) # type: ignore 

3952 

3953_wasmtime_component_tuple_type_delete = dll.wasmtime_component_tuple_type_delete 

3954_wasmtime_component_tuple_type_delete.restype = None 

3955_wasmtime_component_tuple_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_tuple_type_t)] 

3956def wasmtime_component_tuple_type_delete(ptr: Any) -> None: 

3957 return _wasmtime_component_tuple_type_delete(ptr) # type: ignore 

3958 

3959_wasmtime_component_tuple_type_types_count = dll.wasmtime_component_tuple_type_types_count 

3960_wasmtime_component_tuple_type_types_count.restype = ctypes.c_size_t 

3961_wasmtime_component_tuple_type_types_count.argtypes = [ctypes.POINTER(wasmtime_component_tuple_type_t)] 

3962def wasmtime_component_tuple_type_types_count(ty: Any) -> int: 

3963 return _wasmtime_component_tuple_type_types_count(ty) # type: ignore 

3964 

3965_wasmtime_component_tuple_type_types_nth = dll.wasmtime_component_tuple_type_types_nth 

3966_wasmtime_component_tuple_type_types_nth.restype = ctypes.c_bool 

3967_wasmtime_component_tuple_type_types_nth.argtypes = [ctypes.POINTER(wasmtime_component_tuple_type_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_valtype_t)] 

3968def wasmtime_component_tuple_type_types_nth(ty: Any, nth: Any, type_ret: Any) -> bool: 

3969 return _wasmtime_component_tuple_type_types_nth(ty, nth, type_ret) # type: ignore 

3970 

3971class wasmtime_component_variant_type(ctypes.Structure): 

3972 pass 

3973 

3974wasmtime_component_variant_type_t = wasmtime_component_variant_type 

3975 

3976_wasmtime_component_variant_type_clone = dll.wasmtime_component_variant_type_clone 

3977_wasmtime_component_variant_type_clone.restype = ctypes.POINTER(wasmtime_component_variant_type_t) 

3978_wasmtime_component_variant_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_variant_type_t)] 

3979def wasmtime_component_variant_type_clone(ty: Any) -> ctypes._Pointer: 

3980 return _wasmtime_component_variant_type_clone(ty) # type: ignore 

3981 

3982_wasmtime_component_variant_type_equal = dll.wasmtime_component_variant_type_equal 

3983_wasmtime_component_variant_type_equal.restype = ctypes.c_bool 

3984_wasmtime_component_variant_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_variant_type_t), ctypes.POINTER(wasmtime_component_variant_type_t)] 

3985def wasmtime_component_variant_type_equal(a: Any, b: Any) -> bool: 

3986 return _wasmtime_component_variant_type_equal(a, b) # type: ignore 

3987 

3988_wasmtime_component_variant_type_delete = dll.wasmtime_component_variant_type_delete 

3989_wasmtime_component_variant_type_delete.restype = None 

3990_wasmtime_component_variant_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_variant_type_t)] 

3991def wasmtime_component_variant_type_delete(ptr: Any) -> None: 

3992 return _wasmtime_component_variant_type_delete(ptr) # type: ignore 

3993 

3994_wasmtime_component_variant_type_case_count = dll.wasmtime_component_variant_type_case_count 

3995_wasmtime_component_variant_type_case_count.restype = ctypes.c_size_t 

3996_wasmtime_component_variant_type_case_count.argtypes = [ctypes.POINTER(wasmtime_component_variant_type_t)] 

3997def wasmtime_component_variant_type_case_count(ty: Any) -> int: 

3998 return _wasmtime_component_variant_type_case_count(ty) # type: ignore 

3999 

4000_wasmtime_component_variant_type_case_nth = dll.wasmtime_component_variant_type_case_nth 

4001_wasmtime_component_variant_type_case_nth.restype = ctypes.c_bool 

4002_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)] 

4003def 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: 

4004 return _wasmtime_component_variant_type_case_nth(ty, nth, name_ret, name_len_ret, has_payload_ret, payload_ret) # type: ignore 

4005 

4006class wasmtime_component_enum_type(ctypes.Structure): 

4007 pass 

4008 

4009wasmtime_component_enum_type_t = wasmtime_component_enum_type 

4010 

4011_wasmtime_component_enum_type_clone = dll.wasmtime_component_enum_type_clone 

4012_wasmtime_component_enum_type_clone.restype = ctypes.POINTER(wasmtime_component_enum_type_t) 

4013_wasmtime_component_enum_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_enum_type_t)] 

4014def wasmtime_component_enum_type_clone(ty: Any) -> ctypes._Pointer: 

4015 return _wasmtime_component_enum_type_clone(ty) # type: ignore 

4016 

4017_wasmtime_component_enum_type_equal = dll.wasmtime_component_enum_type_equal 

4018_wasmtime_component_enum_type_equal.restype = ctypes.c_bool 

4019_wasmtime_component_enum_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_enum_type_t), ctypes.POINTER(wasmtime_component_enum_type_t)] 

4020def wasmtime_component_enum_type_equal(a: Any, b: Any) -> bool: 

4021 return _wasmtime_component_enum_type_equal(a, b) # type: ignore 

4022 

4023_wasmtime_component_enum_type_delete = dll.wasmtime_component_enum_type_delete 

4024_wasmtime_component_enum_type_delete.restype = None 

4025_wasmtime_component_enum_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_enum_type_t)] 

4026def wasmtime_component_enum_type_delete(ptr: Any) -> None: 

4027 return _wasmtime_component_enum_type_delete(ptr) # type: ignore 

4028 

4029_wasmtime_component_enum_type_names_count = dll.wasmtime_component_enum_type_names_count 

4030_wasmtime_component_enum_type_names_count.restype = ctypes.c_size_t 

4031_wasmtime_component_enum_type_names_count.argtypes = [ctypes.POINTER(wasmtime_component_enum_type_t)] 

4032def wasmtime_component_enum_type_names_count(ty: Any) -> int: 

4033 return _wasmtime_component_enum_type_names_count(ty) # type: ignore 

4034 

4035_wasmtime_component_enum_type_names_nth = dll.wasmtime_component_enum_type_names_nth 

4036_wasmtime_component_enum_type_names_nth.restype = ctypes.c_bool 

4037_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)] 

4038def wasmtime_component_enum_type_names_nth(ty: Any, nth: Any, name_ret: Any, name_len_ret: Any) -> bool: 

4039 return _wasmtime_component_enum_type_names_nth(ty, nth, name_ret, name_len_ret) # type: ignore 

4040 

4041class wasmtime_component_option_type(ctypes.Structure): 

4042 pass 

4043 

4044wasmtime_component_option_type_t = wasmtime_component_option_type 

4045 

4046_wasmtime_component_option_type_clone = dll.wasmtime_component_option_type_clone 

4047_wasmtime_component_option_type_clone.restype = ctypes.POINTER(wasmtime_component_option_type_t) 

4048_wasmtime_component_option_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_option_type_t)] 

4049def wasmtime_component_option_type_clone(ty: Any) -> ctypes._Pointer: 

4050 return _wasmtime_component_option_type_clone(ty) # type: ignore 

4051 

4052_wasmtime_component_option_type_equal = dll.wasmtime_component_option_type_equal 

4053_wasmtime_component_option_type_equal.restype = ctypes.c_bool 

4054_wasmtime_component_option_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_option_type_t), ctypes.POINTER(wasmtime_component_option_type_t)] 

4055def wasmtime_component_option_type_equal(a: Any, b: Any) -> bool: 

4056 return _wasmtime_component_option_type_equal(a, b) # type: ignore 

4057 

4058_wasmtime_component_option_type_delete = dll.wasmtime_component_option_type_delete 

4059_wasmtime_component_option_type_delete.restype = None 

4060_wasmtime_component_option_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_option_type_t)] 

4061def wasmtime_component_option_type_delete(ptr: Any) -> None: 

4062 return _wasmtime_component_option_type_delete(ptr) # type: ignore 

4063 

4064_wasmtime_component_option_type_ty = dll.wasmtime_component_option_type_ty 

4065_wasmtime_component_option_type_ty.restype = None 

4066_wasmtime_component_option_type_ty.argtypes = [ctypes.POINTER(wasmtime_component_option_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4067def wasmtime_component_option_type_ty(ty: Any, type_ret: Any) -> None: 

4068 return _wasmtime_component_option_type_ty(ty, type_ret) # type: ignore 

4069 

4070class wasmtime_component_result_type(ctypes.Structure): 

4071 pass 

4072 

4073wasmtime_component_result_type_t = wasmtime_component_result_type 

4074 

4075_wasmtime_component_result_type_clone = dll.wasmtime_component_result_type_clone 

4076_wasmtime_component_result_type_clone.restype = ctypes.POINTER(wasmtime_component_result_type_t) 

4077_wasmtime_component_result_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_result_type_t)] 

4078def wasmtime_component_result_type_clone(ty: Any) -> ctypes._Pointer: 

4079 return _wasmtime_component_result_type_clone(ty) # type: ignore 

4080 

4081_wasmtime_component_result_type_equal = dll.wasmtime_component_result_type_equal 

4082_wasmtime_component_result_type_equal.restype = ctypes.c_bool 

4083_wasmtime_component_result_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_result_type_t), ctypes.POINTER(wasmtime_component_result_type_t)] 

4084def wasmtime_component_result_type_equal(a: Any, b: Any) -> bool: 

4085 return _wasmtime_component_result_type_equal(a, b) # type: ignore 

4086 

4087_wasmtime_component_result_type_delete = dll.wasmtime_component_result_type_delete 

4088_wasmtime_component_result_type_delete.restype = None 

4089_wasmtime_component_result_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_result_type_t)] 

4090def wasmtime_component_result_type_delete(ptr: Any) -> None: 

4091 return _wasmtime_component_result_type_delete(ptr) # type: ignore 

4092 

4093_wasmtime_component_result_type_ok = dll.wasmtime_component_result_type_ok 

4094_wasmtime_component_result_type_ok.restype = ctypes.c_bool 

4095_wasmtime_component_result_type_ok.argtypes = [ctypes.POINTER(wasmtime_component_result_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4096def wasmtime_component_result_type_ok(ty: Any, type_ret: Any) -> bool: 

4097 return _wasmtime_component_result_type_ok(ty, type_ret) # type: ignore 

4098 

4099_wasmtime_component_result_type_err = dll.wasmtime_component_result_type_err 

4100_wasmtime_component_result_type_err.restype = ctypes.c_bool 

4101_wasmtime_component_result_type_err.argtypes = [ctypes.POINTER(wasmtime_component_result_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4102def wasmtime_component_result_type_err(ty: Any, type_ret: Any) -> bool: 

4103 return _wasmtime_component_result_type_err(ty, type_ret) # type: ignore 

4104 

4105class wasmtime_component_flags_type(ctypes.Structure): 

4106 pass 

4107 

4108wasmtime_component_flags_type_t = wasmtime_component_flags_type 

4109 

4110_wasmtime_component_flags_type_clone = dll.wasmtime_component_flags_type_clone 

4111_wasmtime_component_flags_type_clone.restype = ctypes.POINTER(wasmtime_component_flags_type_t) 

4112_wasmtime_component_flags_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_flags_type_t)] 

4113def wasmtime_component_flags_type_clone(ty: Any) -> ctypes._Pointer: 

4114 return _wasmtime_component_flags_type_clone(ty) # type: ignore 

4115 

4116_wasmtime_component_flags_type_equal = dll.wasmtime_component_flags_type_equal 

4117_wasmtime_component_flags_type_equal.restype = ctypes.c_bool 

4118_wasmtime_component_flags_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_flags_type_t), ctypes.POINTER(wasmtime_component_flags_type_t)] 

4119def wasmtime_component_flags_type_equal(a: Any, b: Any) -> bool: 

4120 return _wasmtime_component_flags_type_equal(a, b) # type: ignore 

4121 

4122_wasmtime_component_flags_type_delete = dll.wasmtime_component_flags_type_delete 

4123_wasmtime_component_flags_type_delete.restype = None 

4124_wasmtime_component_flags_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_flags_type_t)] 

4125def wasmtime_component_flags_type_delete(ptr: Any) -> None: 

4126 return _wasmtime_component_flags_type_delete(ptr) # type: ignore 

4127 

4128_wasmtime_component_flags_type_names_count = dll.wasmtime_component_flags_type_names_count 

4129_wasmtime_component_flags_type_names_count.restype = ctypes.c_size_t 

4130_wasmtime_component_flags_type_names_count.argtypes = [ctypes.POINTER(wasmtime_component_flags_type_t)] 

4131def wasmtime_component_flags_type_names_count(ty: Any) -> int: 

4132 return _wasmtime_component_flags_type_names_count(ty) # type: ignore 

4133 

4134_wasmtime_component_flags_type_names_nth = dll.wasmtime_component_flags_type_names_nth 

4135_wasmtime_component_flags_type_names_nth.restype = ctypes.c_bool 

4136_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)] 

4137def wasmtime_component_flags_type_names_nth(ty: Any, nth: Any, name_ret: Any, name_len_ret: Any) -> bool: 

4138 return _wasmtime_component_flags_type_names_nth(ty, nth, name_ret, name_len_ret) # type: ignore 

4139 

4140class wasmtime_component_future_type(ctypes.Structure): 

4141 pass 

4142 

4143wasmtime_component_future_type_t = wasmtime_component_future_type 

4144 

4145_wasmtime_component_future_type_clone = dll.wasmtime_component_future_type_clone 

4146_wasmtime_component_future_type_clone.restype = ctypes.POINTER(wasmtime_component_future_type_t) 

4147_wasmtime_component_future_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_future_type_t)] 

4148def wasmtime_component_future_type_clone(ty: Any) -> ctypes._Pointer: 

4149 return _wasmtime_component_future_type_clone(ty) # type: ignore 

4150 

4151_wasmtime_component_future_type_equal = dll.wasmtime_component_future_type_equal 

4152_wasmtime_component_future_type_equal.restype = ctypes.c_bool 

4153_wasmtime_component_future_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_future_type_t), ctypes.POINTER(wasmtime_component_future_type_t)] 

4154def wasmtime_component_future_type_equal(a: Any, b: Any) -> bool: 

4155 return _wasmtime_component_future_type_equal(a, b) # type: ignore 

4156 

4157_wasmtime_component_future_type_delete = dll.wasmtime_component_future_type_delete 

4158_wasmtime_component_future_type_delete.restype = None 

4159_wasmtime_component_future_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_future_type_t)] 

4160def wasmtime_component_future_type_delete(ptr: Any) -> None: 

4161 return _wasmtime_component_future_type_delete(ptr) # type: ignore 

4162 

4163_wasmtime_component_future_type_ty = dll.wasmtime_component_future_type_ty 

4164_wasmtime_component_future_type_ty.restype = ctypes.c_bool 

4165_wasmtime_component_future_type_ty.argtypes = [ctypes.POINTER(wasmtime_component_future_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4166def wasmtime_component_future_type_ty(ty: Any, type_ret: Any) -> bool: 

4167 return _wasmtime_component_future_type_ty(ty, type_ret) # type: ignore 

4168 

4169class wasmtime_component_stream_type(ctypes.Structure): 

4170 pass 

4171 

4172wasmtime_component_stream_type_t = wasmtime_component_stream_type 

4173 

4174_wasmtime_component_stream_type_clone = dll.wasmtime_component_stream_type_clone 

4175_wasmtime_component_stream_type_clone.restype = ctypes.POINTER(wasmtime_component_stream_type_t) 

4176_wasmtime_component_stream_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_stream_type_t)] 

4177def wasmtime_component_stream_type_clone(ty: Any) -> ctypes._Pointer: 

4178 return _wasmtime_component_stream_type_clone(ty) # type: ignore 

4179 

4180_wasmtime_component_stream_type_equal = dll.wasmtime_component_stream_type_equal 

4181_wasmtime_component_stream_type_equal.restype = ctypes.c_bool 

4182_wasmtime_component_stream_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_stream_type_t), ctypes.POINTER(wasmtime_component_stream_type_t)] 

4183def wasmtime_component_stream_type_equal(a: Any, b: Any) -> bool: 

4184 return _wasmtime_component_stream_type_equal(a, b) # type: ignore 

4185 

4186_wasmtime_component_stream_type_delete = dll.wasmtime_component_stream_type_delete 

4187_wasmtime_component_stream_type_delete.restype = None 

4188_wasmtime_component_stream_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_stream_type_t)] 

4189def wasmtime_component_stream_type_delete(ptr: Any) -> None: 

4190 return _wasmtime_component_stream_type_delete(ptr) # type: ignore 

4191 

4192_wasmtime_component_stream_type_ty = dll.wasmtime_component_stream_type_ty 

4193_wasmtime_component_stream_type_ty.restype = ctypes.c_bool 

4194_wasmtime_component_stream_type_ty.argtypes = [ctypes.POINTER(wasmtime_component_stream_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4195def wasmtime_component_stream_type_ty(ty: Any, type_ret: Any) -> bool: 

4196 return _wasmtime_component_stream_type_ty(ty, type_ret) # type: ignore 

4197 

4198class wasmtime_component_map_type(ctypes.Structure): 

4199 pass 

4200 

4201wasmtime_component_map_type_t = wasmtime_component_map_type 

4202 

4203_wasmtime_component_map_type_clone = dll.wasmtime_component_map_type_clone 

4204_wasmtime_component_map_type_clone.restype = ctypes.POINTER(wasmtime_component_map_type_t) 

4205_wasmtime_component_map_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_map_type_t)] 

4206def wasmtime_component_map_type_clone(ty: Any) -> ctypes._Pointer: 

4207 return _wasmtime_component_map_type_clone(ty) # type: ignore 

4208 

4209_wasmtime_component_map_type_equal = dll.wasmtime_component_map_type_equal 

4210_wasmtime_component_map_type_equal.restype = ctypes.c_bool 

4211_wasmtime_component_map_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_map_type_t), ctypes.POINTER(wasmtime_component_map_type_t)] 

4212def wasmtime_component_map_type_equal(a: Any, b: Any) -> bool: 

4213 return _wasmtime_component_map_type_equal(a, b) # type: ignore 

4214 

4215_wasmtime_component_map_type_delete = dll.wasmtime_component_map_type_delete 

4216_wasmtime_component_map_type_delete.restype = None 

4217_wasmtime_component_map_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_map_type_t)] 

4218def wasmtime_component_map_type_delete(ptr: Any) -> None: 

4219 return _wasmtime_component_map_type_delete(ptr) # type: ignore 

4220 

4221_wasmtime_component_map_type_key = dll.wasmtime_component_map_type_key 

4222_wasmtime_component_map_type_key.restype = None 

4223_wasmtime_component_map_type_key.argtypes = [ctypes.POINTER(wasmtime_component_map_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4224def wasmtime_component_map_type_key(ty: Any, type_ret: Any) -> None: 

4225 return _wasmtime_component_map_type_key(ty, type_ret) # type: ignore 

4226 

4227_wasmtime_component_map_type_value = dll.wasmtime_component_map_type_value 

4228_wasmtime_component_map_type_value.restype = None 

4229_wasmtime_component_map_type_value.argtypes = [ctypes.POINTER(wasmtime_component_map_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4230def wasmtime_component_map_type_value(ty: Any, type_ret: Any) -> None: 

4231 return _wasmtime_component_map_type_value(ty, type_ret) # type: ignore 

4232 

4233wasmtime_component_valtype_kind_t = ctypes.c_uint8 

4234 

4235class wasmtime_component_valtype_union(ctypes.Union): 

4236 _fields_ = [ 

4237 ("list", ctypes.POINTER(wasmtime_component_list_type_t)), 

4238 ("record", ctypes.POINTER(wasmtime_component_record_type_t)), 

4239 ("tuple", ctypes.POINTER(wasmtime_component_tuple_type_t)), 

4240 ("variant", ctypes.POINTER(wasmtime_component_variant_type_t)), 

4241 ("enum_", ctypes.POINTER(wasmtime_component_enum_type_t)), 

4242 ("option", ctypes.POINTER(wasmtime_component_option_type_t)), 

4243 ("result", ctypes.POINTER(wasmtime_component_result_type_t)), 

4244 ("flags", ctypes.POINTER(wasmtime_component_flags_type_t)), 

4245 ("own", ctypes.POINTER(wasmtime_component_resource_type_t)), 

4246 ("borrow", ctypes.POINTER(wasmtime_component_resource_type_t)), 

4247 ("future", ctypes.POINTER(wasmtime_component_future_type_t)), 

4248 ("stream", ctypes.POINTER(wasmtime_component_stream_type_t)), 

4249 ("map", ctypes.POINTER(wasmtime_component_map_type_t)), 

4250 ] 

4251 list: ctypes._Pointer 

4252 record: ctypes._Pointer 

4253 tuple: ctypes._Pointer 

4254 variant: ctypes._Pointer 

4255 enum_: ctypes._Pointer 

4256 option: ctypes._Pointer 

4257 result: ctypes._Pointer 

4258 flags: ctypes._Pointer 

4259 own: ctypes._Pointer 

4260 borrow: ctypes._Pointer 

4261 future: ctypes._Pointer 

4262 stream: ctypes._Pointer 

4263 map: ctypes._Pointer 

4264 

4265wasmtime_component_valtype_union_t = wasmtime_component_valtype_union 

4266 

4267wasmtime_component_valtype_t._fields_ = [ 

4268 ("kind", wasmtime_component_valtype_kind_t), 

4269 ("of", wasmtime_component_valtype_union_t), 

4270 ] 

4271 

4272_wasmtime_component_valtype_clone = dll.wasmtime_component_valtype_clone 

4273_wasmtime_component_valtype_clone.restype = None 

4274_wasmtime_component_valtype_clone.argtypes = [ctypes.POINTER(wasmtime_component_valtype_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4275def wasmtime_component_valtype_clone(ty: Any, out: Any) -> None: 

4276 return _wasmtime_component_valtype_clone(ty, out) # type: ignore 

4277 

4278_wasmtime_component_valtype_equal = dll.wasmtime_component_valtype_equal 

4279_wasmtime_component_valtype_equal.restype = ctypes.c_bool 

4280_wasmtime_component_valtype_equal.argtypes = [ctypes.POINTER(wasmtime_component_valtype_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4281def wasmtime_component_valtype_equal(a: Any, b: Any) -> bool: 

4282 return _wasmtime_component_valtype_equal(a, b) # type: ignore 

4283 

4284_wasmtime_component_valtype_delete = dll.wasmtime_component_valtype_delete 

4285_wasmtime_component_valtype_delete.restype = None 

4286_wasmtime_component_valtype_delete.argtypes = [ctypes.POINTER(wasmtime_component_valtype_t)] 

4287def wasmtime_component_valtype_delete(ptr: Any) -> None: 

4288 return _wasmtime_component_valtype_delete(ptr) # type: ignore 

4289 

4290class wasmtime_component_func_type_t(ctypes.Structure): 

4291 pass 

4292 

4293_wasmtime_component_func_type_clone = dll.wasmtime_component_func_type_clone 

4294_wasmtime_component_func_type_clone.restype = ctypes.POINTER(wasmtime_component_func_type_t) 

4295_wasmtime_component_func_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_func_type_t)] 

4296def wasmtime_component_func_type_clone(ty: Any) -> ctypes._Pointer: 

4297 return _wasmtime_component_func_type_clone(ty) # type: ignore 

4298 

4299_wasmtime_component_func_type_delete = dll.wasmtime_component_func_type_delete 

4300_wasmtime_component_func_type_delete.restype = None 

4301_wasmtime_component_func_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_func_type_t)] 

4302def wasmtime_component_func_type_delete(ty: Any) -> None: 

4303 return _wasmtime_component_func_type_delete(ty) # type: ignore 

4304 

4305_wasmtime_component_func_type_async = dll.wasmtime_component_func_type_async 

4306_wasmtime_component_func_type_async.restype = ctypes.c_bool 

4307_wasmtime_component_func_type_async.argtypes = [ctypes.POINTER(wasmtime_component_func_type_t)] 

4308def wasmtime_component_func_type_async(ty: Any) -> bool: 

4309 return _wasmtime_component_func_type_async(ty) # type: ignore 

4310 

4311_wasmtime_component_func_type_param_count = dll.wasmtime_component_func_type_param_count 

4312_wasmtime_component_func_type_param_count.restype = ctypes.c_size_t 

4313_wasmtime_component_func_type_param_count.argtypes = [ctypes.POINTER(wasmtime_component_func_type_t)] 

4314def wasmtime_component_func_type_param_count(ty: Any) -> int: 

4315 return _wasmtime_component_func_type_param_count(ty) # type: ignore 

4316 

4317_wasmtime_component_func_type_param_nth = dll.wasmtime_component_func_type_param_nth 

4318_wasmtime_component_func_type_param_nth.restype = ctypes.c_bool 

4319_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)] 

4320def wasmtime_component_func_type_param_nth(ty: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

4321 return _wasmtime_component_func_type_param_nth(ty, nth, name_ret, name_len_ret, type_ret) # type: ignore 

4322 

4323_wasmtime_component_func_type_result = dll.wasmtime_component_func_type_result 

4324_wasmtime_component_func_type_result.restype = ctypes.c_bool 

4325_wasmtime_component_func_type_result.argtypes = [ctypes.POINTER(wasmtime_component_func_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

4326def wasmtime_component_func_type_result(ty: Any, type_ret: Any) -> bool: 

4327 return _wasmtime_component_func_type_result(ty, type_ret) # type: ignore 

4328 

4329class wasmtime_component_item_t(ctypes.Structure): 

4330 pass 

4331 

4332class wasmtime_component_instance_type(ctypes.Structure): 

4333 pass 

4334 

4335wasmtime_component_instance_type_t = wasmtime_component_instance_type 

4336 

4337_wasmtime_component_instance_type_clone = dll.wasmtime_component_instance_type_clone 

4338_wasmtime_component_instance_type_clone.restype = ctypes.POINTER(wasmtime_component_instance_type_t) 

4339_wasmtime_component_instance_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_instance_type_t)] 

4340def wasmtime_component_instance_type_clone(ty: Any) -> ctypes._Pointer: 

4341 return _wasmtime_component_instance_type_clone(ty) # type: ignore 

4342 

4343_wasmtime_component_instance_type_delete = dll.wasmtime_component_instance_type_delete 

4344_wasmtime_component_instance_type_delete.restype = None 

4345_wasmtime_component_instance_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_instance_type_t)] 

4346def wasmtime_component_instance_type_delete(ty: Any) -> None: 

4347 return _wasmtime_component_instance_type_delete(ty) # type: ignore 

4348 

4349_wasmtime_component_instance_type_export_count = dll.wasmtime_component_instance_type_export_count 

4350_wasmtime_component_instance_type_export_count.restype = ctypes.c_size_t 

4351_wasmtime_component_instance_type_export_count.argtypes = [ctypes.POINTER(wasmtime_component_instance_type_t), ctypes.POINTER(wasm_engine_t)] 

4352def wasmtime_component_instance_type_export_count(ty: Any, engine: Any) -> int: 

4353 return _wasmtime_component_instance_type_export_count(ty, engine) # type: ignore 

4354 

4355_wasmtime_component_instance_type_export_get = dll.wasmtime_component_instance_type_export_get 

4356_wasmtime_component_instance_type_export_get.restype = ctypes.c_bool 

4357_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)] 

4358def wasmtime_component_instance_type_export_get(ty: Any, engine: Any, name: Any, name_len: Any, ret: Any) -> bool: 

4359 return _wasmtime_component_instance_type_export_get(ty, engine, name, name_len, ret) # type: ignore 

4360 

4361_wasmtime_component_instance_type_export_nth = dll.wasmtime_component_instance_type_export_nth 

4362_wasmtime_component_instance_type_export_nth.restype = ctypes.c_bool 

4363_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)] 

4364def wasmtime_component_instance_type_export_nth(ty: Any, engine: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

4365 return _wasmtime_component_instance_type_export_nth(ty, engine, nth, name_ret, name_len_ret, type_ret) # type: ignore 

4366 

4367class wasmtime_module_type(ctypes.Structure): 

4368 pass 

4369 

4370wasmtime_module_type_t = wasmtime_module_type 

4371 

4372_wasmtime_module_type_clone = dll.wasmtime_module_type_clone 

4373_wasmtime_module_type_clone.restype = ctypes.POINTER(wasmtime_module_type_t) 

4374_wasmtime_module_type_clone.argtypes = [ctypes.POINTER(wasmtime_module_type_t)] 

4375def wasmtime_module_type_clone(ty: Any) -> ctypes._Pointer: 

4376 return _wasmtime_module_type_clone(ty) # type: ignore 

4377 

4378_wasmtime_module_type_delete = dll.wasmtime_module_type_delete 

4379_wasmtime_module_type_delete.restype = None 

4380_wasmtime_module_type_delete.argtypes = [ctypes.POINTER(wasmtime_module_type_t)] 

4381def wasmtime_module_type_delete(ty: Any) -> None: 

4382 return _wasmtime_module_type_delete(ty) # type: ignore 

4383 

4384_wasmtime_module_type_import_count = dll.wasmtime_module_type_import_count 

4385_wasmtime_module_type_import_count.restype = ctypes.c_size_t 

4386_wasmtime_module_type_import_count.argtypes = [ctypes.POINTER(wasmtime_module_type_t), ctypes.POINTER(wasm_engine_t)] 

4387def wasmtime_module_type_import_count(ty: Any, engine: Any) -> int: 

4388 return _wasmtime_module_type_import_count(ty, engine) # type: ignore 

4389 

4390_wasmtime_module_type_import_nth = dll.wasmtime_module_type_import_nth 

4391_wasmtime_module_type_import_nth.restype = ctypes.POINTER(wasm_importtype_t) 

4392_wasmtime_module_type_import_nth.argtypes = [ctypes.POINTER(wasmtime_module_type_t), ctypes.POINTER(wasm_engine_t), ctypes.c_size_t] 

4393def wasmtime_module_type_import_nth(ty: Any, engine: Any, nth: Any) -> ctypes._Pointer: 

4394 return _wasmtime_module_type_import_nth(ty, engine, nth) # type: ignore 

4395 

4396_wasmtime_module_type_export_count = dll.wasmtime_module_type_export_count 

4397_wasmtime_module_type_export_count.restype = ctypes.c_size_t 

4398_wasmtime_module_type_export_count.argtypes = [ctypes.POINTER(wasmtime_module_type_t), ctypes.POINTER(wasm_engine_t)] 

4399def wasmtime_module_type_export_count(ty: Any, engine: Any) -> int: 

4400 return _wasmtime_module_type_export_count(ty, engine) # type: ignore 

4401 

4402_wasmtime_module_type_export_nth = dll.wasmtime_module_type_export_nth 

4403_wasmtime_module_type_export_nth.restype = ctypes.POINTER(wasm_exporttype_t) 

4404_wasmtime_module_type_export_nth.argtypes = [ctypes.POINTER(wasmtime_module_type_t), ctypes.POINTER(wasm_engine_t), ctypes.c_size_t] 

4405def wasmtime_module_type_export_nth(ty: Any, engine: Any, nth: Any) -> ctypes._Pointer: 

4406 return _wasmtime_module_type_export_nth(ty, engine, nth) # type: ignore 

4407 

4408class wasmtime_component_type_t(ctypes.Structure): 

4409 pass 

4410 

4411_wasmtime_component_type_clone = dll.wasmtime_component_type_clone 

4412_wasmtime_component_type_clone.restype = ctypes.POINTER(wasmtime_component_type_t) 

4413_wasmtime_component_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_type_t)] 

4414def wasmtime_component_type_clone(ty: Any) -> ctypes._Pointer: 

4415 return _wasmtime_component_type_clone(ty) # type: ignore 

4416 

4417_wasmtime_component_type_delete = dll.wasmtime_component_type_delete 

4418_wasmtime_component_type_delete.restype = None 

4419_wasmtime_component_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_type_t)] 

4420def wasmtime_component_type_delete(ty: Any) -> None: 

4421 return _wasmtime_component_type_delete(ty) # type: ignore 

4422 

4423_wasmtime_component_type_import_count = dll.wasmtime_component_type_import_count 

4424_wasmtime_component_type_import_count.restype = ctypes.c_size_t 

4425_wasmtime_component_type_import_count.argtypes = [ctypes.POINTER(wasmtime_component_type_t), ctypes.POINTER(wasm_engine_t)] 

4426def wasmtime_component_type_import_count(ty: Any, engine: Any) -> int: 

4427 return _wasmtime_component_type_import_count(ty, engine) # type: ignore 

4428 

4429_wasmtime_component_type_import_get = dll.wasmtime_component_type_import_get 

4430_wasmtime_component_type_import_get.restype = ctypes.c_bool 

4431_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)] 

4432def wasmtime_component_type_import_get(ty: Any, engine: Any, name: Any, name_len: Any, ret: Any) -> bool: 

4433 return _wasmtime_component_type_import_get(ty, engine, name, name_len, ret) # type: ignore 

4434 

4435_wasmtime_component_type_import_nth = dll.wasmtime_component_type_import_nth 

4436_wasmtime_component_type_import_nth.restype = ctypes.c_bool 

4437_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)] 

4438def wasmtime_component_type_import_nth(ty: Any, engine: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

4439 return _wasmtime_component_type_import_nth(ty, engine, nth, name_ret, name_len_ret, type_ret) # type: ignore 

4440 

4441_wasmtime_component_type_export_count = dll.wasmtime_component_type_export_count 

4442_wasmtime_component_type_export_count.restype = ctypes.c_size_t 

4443_wasmtime_component_type_export_count.argtypes = [ctypes.POINTER(wasmtime_component_type_t), ctypes.POINTER(wasm_engine_t)] 

4444def wasmtime_component_type_export_count(ty: Any, engine: Any) -> int: 

4445 return _wasmtime_component_type_export_count(ty, engine) # type: ignore 

4446 

4447_wasmtime_component_type_export_get = dll.wasmtime_component_type_export_get 

4448_wasmtime_component_type_export_get.restype = ctypes.c_bool 

4449_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)] 

4450def wasmtime_component_type_export_get(ty: Any, engine: Any, name: Any, name_len: Any, ret: Any) -> bool: 

4451 return _wasmtime_component_type_export_get(ty, engine, name, name_len, ret) # type: ignore 

4452 

4453_wasmtime_component_type_export_nth = dll.wasmtime_component_type_export_nth 

4454_wasmtime_component_type_export_nth.restype = ctypes.c_bool 

4455_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)] 

4456def wasmtime_component_type_export_nth(ty: Any, engine: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

4457 return _wasmtime_component_type_export_nth(ty, engine, nth, name_ret, name_len_ret, type_ret) # type: ignore 

4458 

4459wasmtime_component_item_kind_t = ctypes.c_uint8 

4460 

4461class wasmtime_component_item_union(ctypes.Union): 

4462 _fields_ = [ 

4463 ("component", ctypes.POINTER(wasmtime_component_type_t)), 

4464 ("component_instance", ctypes.POINTER(wasmtime_component_instance_type_t)), 

4465 ("module", ctypes.POINTER(wasmtime_module_type_t)), 

4466 ("component_func", ctypes.POINTER(wasmtime_component_func_type_t)), 

4467 ("resource", ctypes.POINTER(wasmtime_component_resource_type_t)), 

4468 ("core_func", ctypes.POINTER(wasm_functype_t)), 

4469 ("type", wasmtime_component_valtype_t), 

4470 ] 

4471 component: ctypes._Pointer 

4472 component_instance: ctypes._Pointer 

4473 module: ctypes._Pointer 

4474 component_func: ctypes._Pointer 

4475 resource: ctypes._Pointer 

4476 core_func: ctypes._Pointer 

4477 type: wasmtime_component_valtype_t 

4478 

4479wasmtime_component_item_union_t = wasmtime_component_item_union 

4480 

4481wasmtime_component_item_t._fields_ = [ 

4482 ("kind", wasmtime_component_item_kind_t), 

4483 ("of", wasmtime_component_item_union_t), 

4484 ] 

4485 

4486_wasmtime_component_item_clone = dll.wasmtime_component_item_clone 

4487_wasmtime_component_item_clone.restype = None 

4488_wasmtime_component_item_clone.argtypes = [ctypes.POINTER(wasmtime_component_item_t), ctypes.POINTER(wasmtime_component_item_t)] 

4489def wasmtime_component_item_clone(item: Any, out: Any) -> None: 

4490 return _wasmtime_component_item_clone(item, out) # type: ignore 

4491 

4492_wasmtime_component_item_delete = dll.wasmtime_component_item_delete 

4493_wasmtime_component_item_delete.restype = None 

4494_wasmtime_component_item_delete.argtypes = [ctypes.POINTER(wasmtime_component_item_t)] 

4495def wasmtime_component_item_delete(ptr: Any) -> None: 

4496 return _wasmtime_component_item_delete(ptr) # type: ignore 

4497 

4498class wasmtime_component_t(ctypes.Structure): 

4499 pass 

4500 

4501_wasmtime_component_new = dll.wasmtime_component_new 

4502_wasmtime_component_new.restype = ctypes.POINTER(wasmtime_error_t) 

4503_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))] 

4504def wasmtime_component_new(engine: Any, buf: Any, len: Any, component_out: Any) -> ctypes._Pointer: 

4505 return _wasmtime_component_new(engine, buf, len, component_out) # type: ignore 

4506 

4507_wasmtime_component_serialize = dll.wasmtime_component_serialize 

4508_wasmtime_component_serialize.restype = ctypes.POINTER(wasmtime_error_t) 

4509_wasmtime_component_serialize.argtypes = [ctypes.POINTER(wasmtime_component_t), ctypes.POINTER(wasm_byte_vec_t)] 

4510def wasmtime_component_serialize(component: Any, ret: Any) -> ctypes._Pointer: 

4511 return _wasmtime_component_serialize(component, ret) # type: ignore 

4512 

4513_wasmtime_component_deserialize = dll.wasmtime_component_deserialize 

4514_wasmtime_component_deserialize.restype = ctypes.POINTER(wasmtime_error_t) 

4515_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))] 

4516def wasmtime_component_deserialize(engine: Any, buf: Any, len: Any, component_out: Any) -> ctypes._Pointer: 

4517 return _wasmtime_component_deserialize(engine, buf, len, component_out) # type: ignore 

4518 

4519_wasmtime_component_deserialize_file = dll.wasmtime_component_deserialize_file 

4520_wasmtime_component_deserialize_file.restype = ctypes.POINTER(wasmtime_error_t) 

4521_wasmtime_component_deserialize_file.argtypes = [ctypes.POINTER(wasm_engine_t), ctypes.POINTER(ctypes.c_char), ctypes.POINTER(ctypes.POINTER(wasmtime_component_t))] 

4522def wasmtime_component_deserialize_file(engine: Any, path: Any, component_out: Any) -> ctypes._Pointer: 

4523 return _wasmtime_component_deserialize_file(engine, path, component_out) # type: ignore 

4524 

4525_wasmtime_component_clone = dll.wasmtime_component_clone 

4526_wasmtime_component_clone.restype = ctypes.POINTER(wasmtime_component_t) 

4527_wasmtime_component_clone.argtypes = [ctypes.POINTER(wasmtime_component_t)] 

4528def wasmtime_component_clone(component: Any) -> ctypes._Pointer: 

4529 return _wasmtime_component_clone(component) # type: ignore 

4530 

4531_wasmtime_component_type = dll.wasmtime_component_type 

4532_wasmtime_component_type.restype = ctypes.POINTER(wasmtime_component_type_t) 

4533_wasmtime_component_type.argtypes = [ctypes.POINTER(wasmtime_component_t)] 

4534def wasmtime_component_type(component: Any) -> ctypes._Pointer: 

4535 return _wasmtime_component_type(component) # type: ignore 

4536 

4537_wasmtime_component_delete = dll.wasmtime_component_delete 

4538_wasmtime_component_delete.restype = None 

4539_wasmtime_component_delete.argtypes = [ctypes.POINTER(wasmtime_component_t)] 

4540def wasmtime_component_delete(component: Any) -> None: 

4541 return _wasmtime_component_delete(component) # type: ignore 

4542 

4543class wasmtime_component_export_index_t(ctypes.Structure): 

4544 pass 

4545 

4546_wasmtime_component_get_export_index = dll.wasmtime_component_get_export_index 

4547_wasmtime_component_get_export_index.restype = ctypes.POINTER(wasmtime_component_export_index_t) 

4548_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] 

4549def wasmtime_component_get_export_index(component: Any, instance_export_index: Any, name: Any, name_len: Any) -> ctypes._Pointer: 

4550 return _wasmtime_component_get_export_index(component, instance_export_index, name, name_len) # type: ignore 

4551 

4552_wasmtime_component_export_index_clone = dll.wasmtime_component_export_index_clone 

4553_wasmtime_component_export_index_clone.restype = ctypes.POINTER(wasmtime_component_export_index_t) 

4554_wasmtime_component_export_index_clone.argtypes = [ctypes.POINTER(wasmtime_component_export_index_t)] 

4555def wasmtime_component_export_index_clone(index: Any) -> ctypes._Pointer: 

4556 return _wasmtime_component_export_index_clone(index) # type: ignore 

4557 

4558_wasmtime_component_export_index_delete = dll.wasmtime_component_export_index_delete 

4559_wasmtime_component_export_index_delete.restype = None 

4560_wasmtime_component_export_index_delete.argtypes = [ctypes.POINTER(wasmtime_component_export_index_t)] 

4561def wasmtime_component_export_index_delete(export_index: Any) -> None: 

4562 return _wasmtime_component_export_index_delete(export_index) # type: ignore 

4563 

4564class wasmtime_component_resource_any(ctypes.Structure): 

4565 pass 

4566 

4567wasmtime_component_resource_any_t = wasmtime_component_resource_any 

4568 

4569_wasmtime_component_resource_any_type = dll.wasmtime_component_resource_any_type 

4570_wasmtime_component_resource_any_type.restype = ctypes.POINTER(wasmtime_component_resource_type_t) 

4571_wasmtime_component_resource_any_type.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4572def wasmtime_component_resource_any_type(resource: Any) -> ctypes._Pointer: 

4573 return _wasmtime_component_resource_any_type(resource) # type: ignore 

4574 

4575_wasmtime_component_resource_any_clone = dll.wasmtime_component_resource_any_clone 

4576_wasmtime_component_resource_any_clone.restype = ctypes.POINTER(wasmtime_component_resource_any_t) 

4577_wasmtime_component_resource_any_clone.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4578def wasmtime_component_resource_any_clone(resource: Any) -> ctypes._Pointer: 

4579 return _wasmtime_component_resource_any_clone(resource) # type: ignore 

4580 

4581_wasmtime_component_resource_any_owned = dll.wasmtime_component_resource_any_owned 

4582_wasmtime_component_resource_any_owned.restype = ctypes.c_bool 

4583_wasmtime_component_resource_any_owned.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4584def wasmtime_component_resource_any_owned(resource: Any) -> bool: 

4585 return _wasmtime_component_resource_any_owned(resource) # type: ignore 

4586 

4587_wasmtime_component_resource_any_drop = dll.wasmtime_component_resource_any_drop 

4588_wasmtime_component_resource_any_drop.restype = ctypes.POINTER(wasmtime_error_t) 

4589_wasmtime_component_resource_any_drop.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_component_resource_any_t)] 

4590def wasmtime_component_resource_any_drop(ctx: Any, resource: Any) -> ctypes._Pointer: 

4591 return _wasmtime_component_resource_any_drop(ctx, resource) # type: ignore 

4592 

4593_wasmtime_component_resource_any_delete = dll.wasmtime_component_resource_any_delete 

4594_wasmtime_component_resource_any_delete.restype = None 

4595_wasmtime_component_resource_any_delete.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4596def wasmtime_component_resource_any_delete(resource: Any) -> None: 

4597 return _wasmtime_component_resource_any_delete(resource) # type: ignore 

4598 

4599class wasmtime_component_resource_host(ctypes.Structure): 

4600 pass 

4601 

4602wasmtime_component_resource_host_t = wasmtime_component_resource_host 

4603 

4604_wasmtime_component_resource_host_new = dll.wasmtime_component_resource_host_new 

4605_wasmtime_component_resource_host_new.restype = ctypes.POINTER(wasmtime_component_resource_host_t) 

4606_wasmtime_component_resource_host_new.argtypes = [ctypes.c_bool, ctypes.c_uint32, ctypes.c_uint32] 

4607def wasmtime_component_resource_host_new(owned: Any, rep: Any, ty: Any) -> ctypes._Pointer: 

4608 return _wasmtime_component_resource_host_new(owned, rep, ty) # type: ignore 

4609 

4610_wasmtime_component_resource_host_clone = dll.wasmtime_component_resource_host_clone 

4611_wasmtime_component_resource_host_clone.restype = ctypes.POINTER(wasmtime_component_resource_host_t) 

4612_wasmtime_component_resource_host_clone.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4613def wasmtime_component_resource_host_clone(resource: Any) -> ctypes._Pointer: 

4614 return _wasmtime_component_resource_host_clone(resource) # type: ignore 

4615 

4616_wasmtime_component_resource_host_rep = dll.wasmtime_component_resource_host_rep 

4617_wasmtime_component_resource_host_rep.restype = ctypes.c_uint32 

4618_wasmtime_component_resource_host_rep.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4619def wasmtime_component_resource_host_rep(resource: Any) -> int: 

4620 return _wasmtime_component_resource_host_rep(resource) # type: ignore 

4621 

4622_wasmtime_component_resource_host_type = dll.wasmtime_component_resource_host_type 

4623_wasmtime_component_resource_host_type.restype = ctypes.c_uint32 

4624_wasmtime_component_resource_host_type.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4625def wasmtime_component_resource_host_type(resource: Any) -> int: 

4626 return _wasmtime_component_resource_host_type(resource) # type: ignore 

4627 

4628_wasmtime_component_resource_host_owned = dll.wasmtime_component_resource_host_owned 

4629_wasmtime_component_resource_host_owned.restype = ctypes.c_bool 

4630_wasmtime_component_resource_host_owned.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4631def wasmtime_component_resource_host_owned(resource: Any) -> bool: 

4632 return _wasmtime_component_resource_host_owned(resource) # type: ignore 

4633 

4634_wasmtime_component_resource_host_delete = dll.wasmtime_component_resource_host_delete 

4635_wasmtime_component_resource_host_delete.restype = None 

4636_wasmtime_component_resource_host_delete.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4637def wasmtime_component_resource_host_delete(resource: Any) -> None: 

4638 return _wasmtime_component_resource_host_delete(resource) # type: ignore 

4639 

4640_wasmtime_component_resource_any_to_host = dll.wasmtime_component_resource_any_to_host 

4641_wasmtime_component_resource_any_to_host.restype = ctypes.POINTER(wasmtime_error_t) 

4642_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))] 

4643def wasmtime_component_resource_any_to_host(ctx: Any, resource: Any, ret: Any) -> ctypes._Pointer: 

4644 return _wasmtime_component_resource_any_to_host(ctx, resource, ret) # type: ignore 

4645 

4646_wasmtime_component_resource_host_to_any = dll.wasmtime_component_resource_host_to_any 

4647_wasmtime_component_resource_host_to_any.restype = ctypes.POINTER(wasmtime_error_t) 

4648_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))] 

4649def wasmtime_component_resource_host_to_any(ctx: Any, resource: Any, ret: Any) -> ctypes._Pointer: 

4650 return _wasmtime_component_resource_host_to_any(ctx, resource, ret) # type: ignore 

4651 

4652wasmtime_component_valkind_t = ctypes.c_uint8 

4653 

4654class wasmtime_component_val(ctypes.Structure): 

4655 pass 

4656 

4657class wasmtime_component_valrecord_entry(ctypes.Structure): 

4658 pass 

4659 

4660class wasmtime_component_valmap_entry(ctypes.Structure): 

4661 pass 

4662 

4663class wasmtime_component_vallist(ctypes.Structure): 

4664 _fields_ = [ 

4665 ("size", ctypes.c_size_t), 

4666 ("data", ctypes.POINTER(wasmtime_component_val)), 

4667 ] 

4668 size: int 

4669 data: ctypes._Pointer 

4670 

4671wasmtime_component_vallist_t = wasmtime_component_vallist 

4672 

4673_wasmtime_component_vallist_new = dll.wasmtime_component_vallist_new 

4674_wasmtime_component_vallist_new.restype = None 

4675_wasmtime_component_vallist_new.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_val)] 

4676def wasmtime_component_vallist_new(out: Any, size: Any, ptr: Any) -> None: 

4677 return _wasmtime_component_vallist_new(out, size, ptr) # type: ignore 

4678 

4679_wasmtime_component_vallist_new_empty = dll.wasmtime_component_vallist_new_empty 

4680_wasmtime_component_vallist_new_empty.restype = None 

4681_wasmtime_component_vallist_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t)] 

4682def wasmtime_component_vallist_new_empty(out: Any) -> None: 

4683 return _wasmtime_component_vallist_new_empty(out) # type: ignore 

4684 

4685_wasmtime_component_vallist_new_uninit = dll.wasmtime_component_vallist_new_uninit 

4686_wasmtime_component_vallist_new_uninit.restype = None 

4687_wasmtime_component_vallist_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t), ctypes.c_size_t] 

4688def wasmtime_component_vallist_new_uninit(out: Any, size: Any) -> None: 

4689 return _wasmtime_component_vallist_new_uninit(out, size) # type: ignore 

4690 

4691_wasmtime_component_vallist_copy = dll.wasmtime_component_vallist_copy 

4692_wasmtime_component_vallist_copy.restype = None 

4693_wasmtime_component_vallist_copy.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t), ctypes.POINTER(wasmtime_component_vallist_t)] 

4694def wasmtime_component_vallist_copy(dst: Any, src: Any) -> None: 

4695 return _wasmtime_component_vallist_copy(dst, src) # type: ignore 

4696 

4697_wasmtime_component_vallist_delete = dll.wasmtime_component_vallist_delete 

4698_wasmtime_component_vallist_delete.restype = None 

4699_wasmtime_component_vallist_delete.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t)] 

4700def wasmtime_component_vallist_delete(value: Any) -> None: 

4701 return _wasmtime_component_vallist_delete(value) # type: ignore 

4702 

4703class wasmtime_component_valrecord(ctypes.Structure): 

4704 _fields_ = [ 

4705 ("size", ctypes.c_size_t), 

4706 ("data", ctypes.POINTER(wasmtime_component_valrecord_entry)), 

4707 ] 

4708 size: int 

4709 data: ctypes._Pointer 

4710 

4711wasmtime_component_valrecord_t = wasmtime_component_valrecord 

4712 

4713_wasmtime_component_valrecord_new = dll.wasmtime_component_valrecord_new 

4714_wasmtime_component_valrecord_new.restype = None 

4715_wasmtime_component_valrecord_new.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_valrecord_entry)] 

4716def wasmtime_component_valrecord_new(out: Any, size: Any, ptr: Any) -> None: 

4717 return _wasmtime_component_valrecord_new(out, size, ptr) # type: ignore 

4718 

4719_wasmtime_component_valrecord_new_empty = dll.wasmtime_component_valrecord_new_empty 

4720_wasmtime_component_valrecord_new_empty.restype = None 

4721_wasmtime_component_valrecord_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t)] 

4722def wasmtime_component_valrecord_new_empty(out: Any) -> None: 

4723 return _wasmtime_component_valrecord_new_empty(out) # type: ignore 

4724 

4725_wasmtime_component_valrecord_new_uninit = dll.wasmtime_component_valrecord_new_uninit 

4726_wasmtime_component_valrecord_new_uninit.restype = None 

4727_wasmtime_component_valrecord_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t), ctypes.c_size_t] 

4728def wasmtime_component_valrecord_new_uninit(out: Any, size: Any) -> None: 

4729 return _wasmtime_component_valrecord_new_uninit(out, size) # type: ignore 

4730 

4731_wasmtime_component_valrecord_copy = dll.wasmtime_component_valrecord_copy 

4732_wasmtime_component_valrecord_copy.restype = None 

4733_wasmtime_component_valrecord_copy.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t), ctypes.POINTER(wasmtime_component_valrecord_t)] 

4734def wasmtime_component_valrecord_copy(dst: Any, src: Any) -> None: 

4735 return _wasmtime_component_valrecord_copy(dst, src) # type: ignore 

4736 

4737_wasmtime_component_valrecord_delete = dll.wasmtime_component_valrecord_delete 

4738_wasmtime_component_valrecord_delete.restype = None 

4739_wasmtime_component_valrecord_delete.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t)] 

4740def wasmtime_component_valrecord_delete(value: Any) -> None: 

4741 return _wasmtime_component_valrecord_delete(value) # type: ignore 

4742 

4743class wasmtime_component_valtuple(ctypes.Structure): 

4744 _fields_ = [ 

4745 ("size", ctypes.c_size_t), 

4746 ("data", ctypes.POINTER(wasmtime_component_val)), 

4747 ] 

4748 size: int 

4749 data: ctypes._Pointer 

4750 

4751wasmtime_component_valtuple_t = wasmtime_component_valtuple 

4752 

4753_wasmtime_component_valtuple_new = dll.wasmtime_component_valtuple_new 

4754_wasmtime_component_valtuple_new.restype = None 

4755_wasmtime_component_valtuple_new.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_val)] 

4756def wasmtime_component_valtuple_new(out: Any, size: Any, ptr: Any) -> None: 

4757 return _wasmtime_component_valtuple_new(out, size, ptr) # type: ignore 

4758 

4759_wasmtime_component_valtuple_new_empty = dll.wasmtime_component_valtuple_new_empty 

4760_wasmtime_component_valtuple_new_empty.restype = None 

4761_wasmtime_component_valtuple_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t)] 

4762def wasmtime_component_valtuple_new_empty(out: Any) -> None: 

4763 return _wasmtime_component_valtuple_new_empty(out) # type: ignore 

4764 

4765_wasmtime_component_valtuple_new_uninit = dll.wasmtime_component_valtuple_new_uninit 

4766_wasmtime_component_valtuple_new_uninit.restype = None 

4767_wasmtime_component_valtuple_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t), ctypes.c_size_t] 

4768def wasmtime_component_valtuple_new_uninit(out: Any, size: Any) -> None: 

4769 return _wasmtime_component_valtuple_new_uninit(out, size) # type: ignore 

4770 

4771_wasmtime_component_valtuple_copy = dll.wasmtime_component_valtuple_copy 

4772_wasmtime_component_valtuple_copy.restype = None 

4773_wasmtime_component_valtuple_copy.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t), ctypes.POINTER(wasmtime_component_valtuple_t)] 

4774def wasmtime_component_valtuple_copy(dst: Any, src: Any) -> None: 

4775 return _wasmtime_component_valtuple_copy(dst, src) # type: ignore 

4776 

4777_wasmtime_component_valtuple_delete = dll.wasmtime_component_valtuple_delete 

4778_wasmtime_component_valtuple_delete.restype = None 

4779_wasmtime_component_valtuple_delete.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t)] 

4780def wasmtime_component_valtuple_delete(value: Any) -> None: 

4781 return _wasmtime_component_valtuple_delete(value) # type: ignore 

4782 

4783class wasmtime_component_valflags(ctypes.Structure): 

4784 _fields_ = [ 

4785 ("size", ctypes.c_size_t), 

4786 ("data", ctypes.POINTER(wasm_name_t)), 

4787 ] 

4788 size: int 

4789 data: ctypes._Pointer 

4790 

4791wasmtime_component_valflags_t = wasmtime_component_valflags 

4792 

4793_wasmtime_component_valflags_new = dll.wasmtime_component_valflags_new 

4794_wasmtime_component_valflags_new.restype = None 

4795_wasmtime_component_valflags_new.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t), ctypes.c_size_t, ctypes.POINTER(wasm_name_t)] 

4796def wasmtime_component_valflags_new(out: Any, size: Any, ptr: Any) -> None: 

4797 return _wasmtime_component_valflags_new(out, size, ptr) # type: ignore 

4798 

4799_wasmtime_component_valflags_new_empty = dll.wasmtime_component_valflags_new_empty 

4800_wasmtime_component_valflags_new_empty.restype = None 

4801_wasmtime_component_valflags_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t)] 

4802def wasmtime_component_valflags_new_empty(out: Any) -> None: 

4803 return _wasmtime_component_valflags_new_empty(out) # type: ignore 

4804 

4805_wasmtime_component_valflags_new_uninit = dll.wasmtime_component_valflags_new_uninit 

4806_wasmtime_component_valflags_new_uninit.restype = None 

4807_wasmtime_component_valflags_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t), ctypes.c_size_t] 

4808def wasmtime_component_valflags_new_uninit(out: Any, size: Any) -> None: 

4809 return _wasmtime_component_valflags_new_uninit(out, size) # type: ignore 

4810 

4811_wasmtime_component_valflags_copy = dll.wasmtime_component_valflags_copy 

4812_wasmtime_component_valflags_copy.restype = None 

4813_wasmtime_component_valflags_copy.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t), ctypes.POINTER(wasmtime_component_valflags_t)] 

4814def wasmtime_component_valflags_copy(dst: Any, src: Any) -> None: 

4815 return _wasmtime_component_valflags_copy(dst, src) # type: ignore 

4816 

4817_wasmtime_component_valflags_delete = dll.wasmtime_component_valflags_delete 

4818_wasmtime_component_valflags_delete.restype = None 

4819_wasmtime_component_valflags_delete.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t)] 

4820def wasmtime_component_valflags_delete(value: Any) -> None: 

4821 return _wasmtime_component_valflags_delete(value) # type: ignore 

4822 

4823class wasmtime_component_valmap(ctypes.Structure): 

4824 _fields_ = [ 

4825 ("size", ctypes.c_size_t), 

4826 ("data", ctypes.POINTER(wasmtime_component_valmap_entry)), 

4827 ] 

4828 size: int 

4829 data: ctypes._Pointer 

4830 

4831wasmtime_component_valmap_t = wasmtime_component_valmap 

4832 

4833_wasmtime_component_valmap_new = dll.wasmtime_component_valmap_new 

4834_wasmtime_component_valmap_new.restype = None 

4835_wasmtime_component_valmap_new.argtypes = [ctypes.POINTER(wasmtime_component_valmap_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_valmap_entry)] 

4836def wasmtime_component_valmap_new(out: Any, size: Any, ptr: Any) -> None: 

4837 return _wasmtime_component_valmap_new(out, size, ptr) # type: ignore 

4838 

4839_wasmtime_component_valmap_new_empty = dll.wasmtime_component_valmap_new_empty 

4840_wasmtime_component_valmap_new_empty.restype = None 

4841_wasmtime_component_valmap_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_valmap_t)] 

4842def wasmtime_component_valmap_new_empty(out: Any) -> None: 

4843 return _wasmtime_component_valmap_new_empty(out) # type: ignore 

4844 

4845_wasmtime_component_valmap_new_uninit = dll.wasmtime_component_valmap_new_uninit 

4846_wasmtime_component_valmap_new_uninit.restype = None 

4847_wasmtime_component_valmap_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_valmap_t), ctypes.c_size_t] 

4848def wasmtime_component_valmap_new_uninit(out: Any, size: Any) -> None: 

4849 return _wasmtime_component_valmap_new_uninit(out, size) # type: ignore 

4850 

4851_wasmtime_component_valmap_copy = dll.wasmtime_component_valmap_copy 

4852_wasmtime_component_valmap_copy.restype = None 

4853_wasmtime_component_valmap_copy.argtypes = [ctypes.POINTER(wasmtime_component_valmap_t), ctypes.POINTER(wasmtime_component_valmap_t)] 

4854def wasmtime_component_valmap_copy(dst: Any, src: Any) -> None: 

4855 return _wasmtime_component_valmap_copy(dst, src) # type: ignore 

4856 

4857_wasmtime_component_valmap_delete = dll.wasmtime_component_valmap_delete 

4858_wasmtime_component_valmap_delete.restype = None 

4859_wasmtime_component_valmap_delete.argtypes = [ctypes.POINTER(wasmtime_component_valmap_t)] 

4860def wasmtime_component_valmap_delete(value: Any) -> None: 

4861 return _wasmtime_component_valmap_delete(value) # type: ignore 

4862 

4863class wasmtime_component_valvariant(ctypes.Structure): 

4864 _fields_ = [ 

4865 ("discriminant", wasm_name_t), 

4866 ("val", ctypes.POINTER(wasmtime_component_val)), 

4867 ] 

4868 discriminant: wasm_name_t 

4869 val: ctypes._Pointer 

4870 

4871wasmtime_component_valvariant_t = wasmtime_component_valvariant 

4872 

4873class wasmtime_component_valresult(ctypes.Structure): 

4874 _fields_ = [ 

4875 ("is_ok", ctypes.c_bool), 

4876 ("val", ctypes.POINTER(wasmtime_component_val)), 

4877 ] 

4878 is_ok: bool 

4879 val: ctypes._Pointer 

4880 

4881wasmtime_component_valresult_t = wasmtime_component_valresult 

4882 

4883class wasmtime_component_valunion(ctypes.Union): 

4884 _fields_ = [ 

4885 ("boolean", ctypes.c_bool), 

4886 ("s8", ctypes.c_int8), 

4887 ("u8", ctypes.c_uint8), 

4888 ("s16", ctypes.c_int16), 

4889 ("u16", ctypes.c_uint16), 

4890 ("s32", ctypes.c_int32), 

4891 ("u32", ctypes.c_uint32), 

4892 ("s64", ctypes.c_int64), 

4893 ("u64", ctypes.c_uint64), 

4894 ("f32", ctypes.c_float), 

4895 ("f64", ctypes.c_double), 

4896 ("character", ctypes.c_uint32), 

4897 ("string", wasm_name_t), 

4898 ("list", wasmtime_component_vallist_t), 

4899 ("record", wasmtime_component_valrecord_t), 

4900 ("tuple", wasmtime_component_valtuple_t), 

4901 ("variant", wasmtime_component_valvariant_t), 

4902 ("enumeration", wasm_name_t), 

4903 ("option", ctypes.POINTER(wasmtime_component_val)), 

4904 ("result", wasmtime_component_valresult_t), 

4905 ("flags", wasmtime_component_valflags_t), 

4906 ("map", wasmtime_component_valmap_t), 

4907 ("resource", ctypes.POINTER(wasmtime_component_resource_any_t)), 

4908 ] 

4909 boolean: bool 

4910 s8: ctypes.c_int8 

4911 u8: ctypes.c_uint8 

4912 s16: ctypes.c_int16 

4913 u16: ctypes.c_uint16 

4914 s32: int 

4915 u32: int 

4916 s64: int 

4917 u64: int 

4918 f32: float 

4919 f64: float 

4920 character: int 

4921 string: wasm_name_t 

4922 list: wasmtime_component_vallist_t 

4923 record: wasmtime_component_valrecord_t 

4924 tuple: wasmtime_component_valtuple_t 

4925 variant: wasmtime_component_valvariant_t 

4926 enumeration: wasm_name_t 

4927 option: ctypes._Pointer 

4928 result: wasmtime_component_valresult_t 

4929 flags: wasmtime_component_valflags_t 

4930 map: wasmtime_component_valmap_t 

4931 resource: ctypes._Pointer 

4932 

4933wasmtime_component_valunion_t = wasmtime_component_valunion 

4934 

4935wasmtime_component_val._fields_ = [ 

4936 ("kind", wasmtime_component_valkind_t), 

4937 ("of", wasmtime_component_valunion_t), 

4938 ] 

4939 

4940wasmtime_component_val_t = wasmtime_component_val 

4941 

4942wasmtime_component_valrecord_entry._fields_ = [ 

4943 ("name", wasm_name_t), 

4944 ("val", wasmtime_component_val_t), 

4945 ] 

4946 

4947wasmtime_component_valrecord_entry_t = wasmtime_component_valrecord_entry 

4948 

4949wasmtime_component_valmap_entry._fields_ = [ 

4950 ("key", wasmtime_component_val_t), 

4951 ("value", wasmtime_component_val_t), 

4952 ] 

4953 

4954wasmtime_component_valmap_entry_t = wasmtime_component_valmap_entry 

4955 

4956_wasmtime_component_val_new = dll.wasmtime_component_val_new 

4957_wasmtime_component_val_new.restype = ctypes.POINTER(wasmtime_component_val_t) 

4958_wasmtime_component_val_new.argtypes = [ctypes.POINTER(wasmtime_component_val_t)] 

4959def wasmtime_component_val_new(val: Any) -> ctypes._Pointer: 

4960 return _wasmtime_component_val_new(val) # type: ignore 

4961 

4962_wasmtime_component_val_free = dll.wasmtime_component_val_free 

4963_wasmtime_component_val_free.restype = None 

4964_wasmtime_component_val_free.argtypes = [ctypes.POINTER(wasmtime_component_val_t)] 

4965def wasmtime_component_val_free(ptr: Any) -> None: 

4966 return _wasmtime_component_val_free(ptr) # type: ignore 

4967 

4968_wasmtime_component_val_clone = dll.wasmtime_component_val_clone 

4969_wasmtime_component_val_clone.restype = None 

4970_wasmtime_component_val_clone.argtypes = [ctypes.POINTER(wasmtime_component_val_t), ctypes.POINTER(wasmtime_component_val_t)] 

4971def wasmtime_component_val_clone(src: Any, dst: Any) -> None: 

4972 return _wasmtime_component_val_clone(src, dst) # type: ignore 

4973 

4974_wasmtime_component_val_delete = dll.wasmtime_component_val_delete 

4975_wasmtime_component_val_delete.restype = None 

4976_wasmtime_component_val_delete.argtypes = [ctypes.POINTER(wasmtime_component_val_t)] 

4977def wasmtime_component_val_delete(value: Any) -> None: 

4978 return _wasmtime_component_val_delete(value) # type: ignore 

4979 

4980 

4981class wasmtime_component_func_anon_0(ctypes.Structure): 

4982 _fields_ = [ 

4983 ("store_id", ctypes.c_uint64), 

4984 ("__private1", ctypes.c_uint32), 

4985 ] 

4986 store_id: int 

4987 __private1: int 

4988class wasmtime_component_func(ctypes.Structure): 

4989 _fields_ = [ 

4990 ("_anon_1", wasmtime_component_func_anon_0), 

4991 ("__private2", ctypes.c_uint32), 

4992 ] 

4993 _anon_1: wasmtime_component_func_anon_0 

4994 __private2: int 

4995 

4996wasmtime_component_func_t = wasmtime_component_func 

4997 

4998_wasmtime_component_func_type = dll.wasmtime_component_func_type 

4999_wasmtime_component_func_type.restype = ctypes.POINTER(wasmtime_component_func_type_t) 

5000_wasmtime_component_func_type.argtypes = [ctypes.POINTER(wasmtime_component_func_t), ctypes.POINTER(wasmtime_context_t)] 

5001def wasmtime_component_func_type(func: Any, context: Any) -> ctypes._Pointer: 

5002 return _wasmtime_component_func_type(func, context) # type: ignore 

5003 

5004_wasmtime_component_func_call = dll.wasmtime_component_func_call 

5005_wasmtime_component_func_call.restype = ctypes.POINTER(wasmtime_error_t) 

5006_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] 

5007def wasmtime_component_func_call(func: Any, context: Any, args: Any, args_size: Any, results: Any, results_size: Any) -> ctypes._Pointer: 

5008 return _wasmtime_component_func_call(func, context, args, args_size, results, results_size) # type: ignore 

5009 

5010_wasmtime_component_func_post_return = dll.wasmtime_component_func_post_return 

5011_wasmtime_component_func_post_return.restype = ctypes.POINTER(wasmtime_error_t) 

5012_wasmtime_component_func_post_return.argtypes = [ctypes.POINTER(wasmtime_component_func_t), ctypes.POINTER(wasmtime_context_t)] 

5013def wasmtime_component_func_post_return(func: Any, context: Any) -> ctypes._Pointer: 

5014 return _wasmtime_component_func_post_return(func, context) # type: ignore 

5015 

5016_wasmtime_component_func_call_async = dll.wasmtime_component_func_call_async 

5017_wasmtime_component_func_call_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

5018_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))] 

5019def wasmtime_component_func_call_async(func: Any, context: Any, args: Any, args_size: Any, results: Any, results_size: Any, error_ret: Any) -> ctypes._Pointer: 

5020 return _wasmtime_component_func_call_async(func, context, args, args_size, results, results_size, error_ret) # type: ignore 

5021 

5022class wasmtime_component_instance(ctypes.Structure): 

5023 _fields_ = [ 

5024 ("store_id", ctypes.c_uint64), 

5025 ("__private", ctypes.c_uint32), 

5026 ] 

5027 store_id: int 

5028 __private: int 

5029 

5030wasmtime_component_instance_t = wasmtime_component_instance 

5031 

5032_wasmtime_component_instance_get_export_index = dll.wasmtime_component_instance_get_export_index 

5033_wasmtime_component_instance_get_export_index.restype = ctypes.POINTER(wasmtime_component_export_index_t) 

5034_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] 

5035def wasmtime_component_instance_get_export_index(instance: Any, context: Any, instance_export_index: Any, name: Any, name_len: Any) -> ctypes._Pointer: 

5036 return _wasmtime_component_instance_get_export_index(instance, context, instance_export_index, name, name_len) # type: ignore 

5037 

5038_wasmtime_component_instance_get_func = dll.wasmtime_component_instance_get_func 

5039_wasmtime_component_instance_get_func.restype = ctypes.c_bool 

5040_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)] 

5041def wasmtime_component_instance_get_func(instance: Any, context: Any, export_index: Any, func_out: Any) -> bool: 

5042 return _wasmtime_component_instance_get_func(instance, context, export_index, func_out) # type: ignore 

5043 

5044class wasmtime_component_linker_t(ctypes.Structure): 

5045 pass 

5046 

5047class wasmtime_component_linker_instance_t(ctypes.Structure): 

5048 pass 

5049 

5050_wasmtime_component_linker_new = dll.wasmtime_component_linker_new 

5051_wasmtime_component_linker_new.restype = ctypes.POINTER(wasmtime_component_linker_t) 

5052_wasmtime_component_linker_new.argtypes = [ctypes.POINTER(wasm_engine_t)] 

5053def wasmtime_component_linker_new(engine: Any) -> ctypes._Pointer: 

5054 return _wasmtime_component_linker_new(engine) # type: ignore 

5055 

5056_wasmtime_component_linker_allow_shadowing = dll.wasmtime_component_linker_allow_shadowing 

5057_wasmtime_component_linker_allow_shadowing.restype = None 

5058_wasmtime_component_linker_allow_shadowing.argtypes = [ctypes.POINTER(wasmtime_component_linker_t), ctypes.c_bool] 

5059def wasmtime_component_linker_allow_shadowing(linker: Any, allow: Any) -> None: 

5060 return _wasmtime_component_linker_allow_shadowing(linker, allow) # type: ignore 

5061 

5062_wasmtime_component_linker_root = dll.wasmtime_component_linker_root 

5063_wasmtime_component_linker_root.restype = ctypes.POINTER(wasmtime_component_linker_instance_t) 

5064_wasmtime_component_linker_root.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5065def wasmtime_component_linker_root(linker: Any) -> ctypes._Pointer: 

5066 return _wasmtime_component_linker_root(linker) # type: ignore 

5067 

5068_wasmtime_component_linker_instantiate = dll.wasmtime_component_linker_instantiate 

5069_wasmtime_component_linker_instantiate.restype = ctypes.POINTER(wasmtime_error_t) 

5070_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)] 

5071def wasmtime_component_linker_instantiate(linker: Any, context: Any, component: Any, instance_out: Any) -> ctypes._Pointer: 

5072 return _wasmtime_component_linker_instantiate(linker, context, component, instance_out) # type: ignore 

5073 

5074_wasmtime_component_linker_define_unknown_imports_as_traps = dll.wasmtime_component_linker_define_unknown_imports_as_traps 

5075_wasmtime_component_linker_define_unknown_imports_as_traps.restype = ctypes.POINTER(wasmtime_error_t) 

5076_wasmtime_component_linker_define_unknown_imports_as_traps.argtypes = [ctypes.POINTER(wasmtime_component_linker_t), ctypes.POINTER(wasmtime_component_t)] 

5077def wasmtime_component_linker_define_unknown_imports_as_traps(linker: Any, component: Any) -> ctypes._Pointer: 

5078 return _wasmtime_component_linker_define_unknown_imports_as_traps(linker, component) # type: ignore 

5079 

5080_wasmtime_component_linker_delete = dll.wasmtime_component_linker_delete 

5081_wasmtime_component_linker_delete.restype = None 

5082_wasmtime_component_linker_delete.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5083def wasmtime_component_linker_delete(linker: Any) -> None: 

5084 return _wasmtime_component_linker_delete(linker) # type: ignore 

5085 

5086_wasmtime_component_linker_instance_add_instance = dll.wasmtime_component_linker_instance_add_instance 

5087_wasmtime_component_linker_instance_add_instance.restype = ctypes.POINTER(wasmtime_error_t) 

5088_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))] 

5089def wasmtime_component_linker_instance_add_instance(linker_instance: Any, name: Any, name_len: Any, linker_instance_out: Any) -> ctypes._Pointer: 

5090 return _wasmtime_component_linker_instance_add_instance(linker_instance, name, name_len, linker_instance_out) # type: ignore 

5091 

5092_wasmtime_component_linker_instance_add_module = dll.wasmtime_component_linker_instance_add_module 

5093_wasmtime_component_linker_instance_add_module.restype = ctypes.POINTER(wasmtime_error_t) 

5094_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)] 

5095def wasmtime_component_linker_instance_add_module(linker_instance: Any, name: Any, name_len: Any, module: Any) -> ctypes._Pointer: 

5096 return _wasmtime_component_linker_instance_add_module(linker_instance, name, name_len, module) # type: ignore 

5097 

5098wasmtime_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) 

5099 

5100_wasmtime_component_linker_instance_add_func = dll.wasmtime_component_linker_instance_add_func 

5101_wasmtime_component_linker_instance_add_func.restype = ctypes.POINTER(wasmtime_error_t) 

5102_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)] 

5103def wasmtime_component_linker_instance_add_func(linker_instance: Any, name: Any, name_len: Any, callback: Any, data: Any, finalizer: Any) -> ctypes._Pointer: 

5104 return _wasmtime_component_linker_instance_add_func(linker_instance, name, name_len, callback, data, finalizer) # type: ignore 

5105 

5106_wasmtime_component_linker_add_wasip2 = dll.wasmtime_component_linker_add_wasip2 

5107_wasmtime_component_linker_add_wasip2.restype = ctypes.POINTER(wasmtime_error_t) 

5108_wasmtime_component_linker_add_wasip2.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5109def wasmtime_component_linker_add_wasip2(linker: Any) -> ctypes._Pointer: 

5110 return _wasmtime_component_linker_add_wasip2(linker) # type: ignore 

5111 

5112_wasmtime_component_linker_add_wasi_http = dll.wasmtime_component_linker_add_wasi_http 

5113_wasmtime_component_linker_add_wasi_http.restype = ctypes.POINTER(wasmtime_error_t) 

5114_wasmtime_component_linker_add_wasi_http.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5115def wasmtime_component_linker_add_wasi_http(linker: Any) -> ctypes._Pointer: 

5116 return _wasmtime_component_linker_add_wasi_http(linker) # type: ignore 

5117 

5118wasmtime_component_resource_destructor_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.POINTER(wasmtime_context_t), ctypes.c_uint32) 

5119 

5120_wasmtime_component_linker_instance_add_resource = dll.wasmtime_component_linker_instance_add_resource 

5121_wasmtime_component_linker_instance_add_resource.restype = ctypes.POINTER(wasmtime_error_t) 

5122_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)] 

5123def wasmtime_component_linker_instance_add_resource(linker_instance: Any, name: Any, name_len: Any, resource: Any, destructor: Any, data: Any, finalizer: Any) -> ctypes._Pointer: 

5124 return _wasmtime_component_linker_instance_add_resource(linker_instance, name, name_len, resource, destructor, data, finalizer) # type: ignore 

5125 

5126_wasmtime_component_linker_instance_delete = dll.wasmtime_component_linker_instance_delete 

5127_wasmtime_component_linker_instance_delete.restype = None 

5128_wasmtime_component_linker_instance_delete.argtypes = [ctypes.POINTER(wasmtime_component_linker_instance_t)] 

5129def wasmtime_component_linker_instance_delete(linker_instance: Any) -> None: 

5130 return _wasmtime_component_linker_instance_delete(linker_instance) # type: ignore 

5131 

5132_wasmtime_component_linker_instantiate_async = dll.wasmtime_component_linker_instantiate_async 

5133_wasmtime_component_linker_instantiate_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

5134_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))] 

5135def wasmtime_component_linker_instantiate_async(linker: Any, context: Any, component: Any, instance_out: Any, error_ret: Any) -> ctypes._Pointer: 

5136 return _wasmtime_component_linker_instantiate_async(linker, context, component, instance_out, error_ret) # type: ignore 

5137 

5138wasmtime_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)) 

5139 

5140_wasmtime_component_linker_instance_add_func_async = dll.wasmtime_component_linker_instance_add_func_async 

5141_wasmtime_component_linker_instance_add_func_async.restype = ctypes.POINTER(wasmtime_error_t) 

5142_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)] 

5143def wasmtime_component_linker_instance_add_func_async(linker_instance: Any, name: Any, name_len: Any, callback: Any, data: Any, finalizer: Any) -> ctypes._Pointer: 

5144 return _wasmtime_component_linker_instance_add_func_async(linker_instance, name, name_len, callback, data, finalizer) # type: ignore 

5145 

5146_wasmtime_component_linker_add_wasip2_async = dll.wasmtime_component_linker_add_wasip2_async 

5147_wasmtime_component_linker_add_wasip2_async.restype = ctypes.POINTER(wasmtime_error_t) 

5148_wasmtime_component_linker_add_wasip2_async.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5149def wasmtime_component_linker_add_wasip2_async(linker: Any) -> ctypes._Pointer: 

5150 return _wasmtime_component_linker_add_wasip2_async(linker) # type: ignore 

5151 

5152_wasmtime_component_linker_add_wasi_http_async = dll.wasmtime_component_linker_add_wasi_http_async 

5153_wasmtime_component_linker_add_wasi_http_async.restype = ctypes.POINTER(wasmtime_error_t) 

5154_wasmtime_component_linker_add_wasi_http_async.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5155def wasmtime_component_linker_add_wasi_http_async(linker: Any) -> ctypes._Pointer: 

5156 return _wasmtime_component_linker_add_wasi_http_async(linker) # type: ignore 

5157 

5158_wasmtime_engine_clone = dll.wasmtime_engine_clone 

5159_wasmtime_engine_clone.restype = ctypes.POINTER(wasm_engine_t) 

5160_wasmtime_engine_clone.argtypes = [ctypes.POINTER(wasm_engine_t)] 

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

5162 return _wasmtime_engine_clone(engine) # type: ignore 

5163 

5164_wasmtime_engine_increment_epoch = dll.wasmtime_engine_increment_epoch 

5165_wasmtime_engine_increment_epoch.restype = None 

5166_wasmtime_engine_increment_epoch.argtypes = [ctypes.POINTER(wasm_engine_t)] 

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

5168 return _wasmtime_engine_increment_epoch(engine) # type: ignore 

5169 

5170_wasmtime_engine_is_pulley = dll.wasmtime_engine_is_pulley 

5171_wasmtime_engine_is_pulley.restype = ctypes.c_bool 

5172_wasmtime_engine_is_pulley.argtypes = [ctypes.POINTER(wasm_engine_t)] 

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

5174 return _wasmtime_engine_is_pulley(engine) # type: ignore 

5175 

5176_wasmtime_eqref_clone = dll.wasmtime_eqref_clone 

5177_wasmtime_eqref_clone.restype = None 

5178_wasmtime_eqref_clone.argtypes = [ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(wasmtime_eqref_t)] 

5179def wasmtime_eqref_clone(eqref: Any, out: Any) -> None: 

5180 return _wasmtime_eqref_clone(eqref, out) # type: ignore 

5181 

5182_wasmtime_eqref_unroot = dll.wasmtime_eqref_unroot 

5183_wasmtime_eqref_unroot.restype = None 

5184_wasmtime_eqref_unroot.argtypes = [ctypes.POINTER(wasmtime_eqref_t)] 

5185def wasmtime_eqref_unroot(ref: Any) -> None: 

5186 return _wasmtime_eqref_unroot(ref) # type: ignore 

5187 

5188_wasmtime_eqref_to_anyref = dll.wasmtime_eqref_to_anyref 

5189_wasmtime_eqref_to_anyref.restype = None 

5190_wasmtime_eqref_to_anyref.argtypes = [ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(wasmtime_anyref_t)] 

5191def wasmtime_eqref_to_anyref(eqref: Any, out: Any) -> None: 

5192 return _wasmtime_eqref_to_anyref(eqref, out) # type: ignore 

5193 

5194_wasmtime_eqref_from_i31 = dll.wasmtime_eqref_from_i31 

5195_wasmtime_eqref_from_i31.restype = None 

5196_wasmtime_eqref_from_i31.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint32, ctypes.POINTER(wasmtime_eqref_t)] 

5197def wasmtime_eqref_from_i31(context: Any, i31val: Any, out: Any) -> None: 

5198 return _wasmtime_eqref_from_i31(context, i31val, out) # type: ignore 

5199 

5200_wasmtime_eqref_is_i31 = dll.wasmtime_eqref_is_i31 

5201_wasmtime_eqref_is_i31.restype = ctypes.c_bool 

5202_wasmtime_eqref_is_i31.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t)] 

5203def wasmtime_eqref_is_i31(context: Any, eqref: Any) -> bool: 

5204 return _wasmtime_eqref_is_i31(context, eqref) # type: ignore 

5205 

5206_wasmtime_eqref_i31_get_u = dll.wasmtime_eqref_i31_get_u 

5207_wasmtime_eqref_i31_get_u.restype = ctypes.c_bool 

5208_wasmtime_eqref_i31_get_u.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(ctypes.c_uint32)] 

5209def wasmtime_eqref_i31_get_u(context: Any, eqref: Any, dst: Any) -> bool: 

5210 return _wasmtime_eqref_i31_get_u(context, eqref, dst) # type: ignore 

5211 

5212_wasmtime_eqref_i31_get_s = dll.wasmtime_eqref_i31_get_s 

5213_wasmtime_eqref_i31_get_s.restype = ctypes.c_bool 

5214_wasmtime_eqref_i31_get_s.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(ctypes.c_int32)] 

5215def wasmtime_eqref_i31_get_s(context: Any, eqref: Any, dst: Any) -> bool: 

5216 return _wasmtime_eqref_i31_get_s(context, eqref, dst) # type: ignore 

5217 

5218_wasmtime_eqref_is_array = dll.wasmtime_eqref_is_array 

5219_wasmtime_eqref_is_array.restype = ctypes.c_bool 

5220_wasmtime_eqref_is_array.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t)] 

5221def wasmtime_eqref_is_array(context: Any, eqref: Any) -> bool: 

5222 return _wasmtime_eqref_is_array(context, eqref) # type: ignore 

5223 

5224_wasmtime_eqref_as_array = dll.wasmtime_eqref_as_array 

5225_wasmtime_eqref_as_array.restype = ctypes.c_bool 

5226_wasmtime_eqref_as_array.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(wasmtime_arrayref_t)] 

5227def wasmtime_eqref_as_array(context: Any, eqref: Any, out: Any) -> bool: 

5228 return _wasmtime_eqref_as_array(context, eqref, out) # type: ignore 

5229 

5230_wasmtime_eqref_is_struct = dll.wasmtime_eqref_is_struct 

5231_wasmtime_eqref_is_struct.restype = ctypes.c_bool 

5232_wasmtime_eqref_is_struct.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t)] 

5233def wasmtime_eqref_is_struct(context: Any, eqref: Any) -> bool: 

5234 return _wasmtime_eqref_is_struct(context, eqref) # type: ignore 

5235 

5236_wasmtime_eqref_as_struct = dll.wasmtime_eqref_as_struct 

5237_wasmtime_eqref_as_struct.restype = ctypes.c_bool 

5238_wasmtime_eqref_as_struct.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(wasmtime_structref_t)] 

5239def wasmtime_eqref_as_struct(context: Any, eqref: Any, out: Any) -> bool: 

5240 return _wasmtime_eqref_as_struct(context, eqref, out) # type: ignore 

5241 

5242_wasmtime_eqref_type = dll.wasmtime_eqref_type 

5243_wasmtime_eqref_type.restype = ctypes.c_bool 

5244_wasmtime_eqref_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(wasmtime_heaptype_t)] 

5245def wasmtime_eqref_type(context: Any, eqref: Any, out: Any) -> bool: 

5246 return _wasmtime_eqref_type(context, eqref, out) # type: ignore 

5247 

5248_wasmtime_exnref_new = dll.wasmtime_exnref_new 

5249_wasmtime_exnref_new.restype = ctypes.POINTER(wasmtime_error_t) 

5250_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)] 

5251def wasmtime_exnref_new(store: Any, tag: Any, fields: Any, nfields: Any, exn_ret: Any) -> ctypes._Pointer: 

5252 return _wasmtime_exnref_new(store, tag, fields, nfields, exn_ret) # type: ignore 

5253 

5254_wasmtime_exnref_clone = dll.wasmtime_exnref_clone 

5255_wasmtime_exnref_clone.restype = None 

5256_wasmtime_exnref_clone.argtypes = [ctypes.POINTER(wasmtime_exnref_t), ctypes.POINTER(wasmtime_exnref_t)] 

5257def wasmtime_exnref_clone(ref: Any, out: Any) -> None: 

5258 return _wasmtime_exnref_clone(ref, out) # type: ignore 

5259 

5260_wasmtime_exnref_unroot = dll.wasmtime_exnref_unroot 

5261_wasmtime_exnref_unroot.restype = None 

5262_wasmtime_exnref_unroot.argtypes = [ctypes.POINTER(wasmtime_exnref_t)] 

5263def wasmtime_exnref_unroot(ref: Any) -> None: 

5264 return _wasmtime_exnref_unroot(ref) # type: ignore 

5265 

5266_wasmtime_exnref_from_raw = dll.wasmtime_exnref_from_raw 

5267_wasmtime_exnref_from_raw.restype = None 

5268_wasmtime_exnref_from_raw.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint32, ctypes.POINTER(wasmtime_exnref_t)] 

5269def wasmtime_exnref_from_raw(context: Any, raw: Any, out: Any) -> None: 

5270 return _wasmtime_exnref_from_raw(context, raw, out) # type: ignore 

5271 

5272_wasmtime_exnref_to_raw = dll.wasmtime_exnref_to_raw 

5273_wasmtime_exnref_to_raw.restype = ctypes.c_uint32 

5274_wasmtime_exnref_to_raw.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exnref_t)] 

5275def wasmtime_exnref_to_raw(context: Any, ref: Any) -> int: 

5276 return _wasmtime_exnref_to_raw(context, ref) # type: ignore 

5277 

5278_wasmtime_exnref_tag = dll.wasmtime_exnref_tag 

5279_wasmtime_exnref_tag.restype = ctypes.POINTER(wasmtime_error_t) 

5280_wasmtime_exnref_tag.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exnref_t), ctypes.POINTER(wasmtime_tag_t)] 

5281def wasmtime_exnref_tag(store: Any, exn: Any, tag_ret: Any) -> ctypes._Pointer: 

5282 return _wasmtime_exnref_tag(store, exn, tag_ret) # type: ignore 

5283 

5284_wasmtime_exnref_field_count = dll.wasmtime_exnref_field_count 

5285_wasmtime_exnref_field_count.restype = ctypes.c_size_t 

5286_wasmtime_exnref_field_count.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exnref_t)] 

5287def wasmtime_exnref_field_count(store: Any, exn: Any) -> int: 

5288 return _wasmtime_exnref_field_count(store, exn) # type: ignore 

5289 

5290_wasmtime_exnref_field = dll.wasmtime_exnref_field 

5291_wasmtime_exnref_field.restype = ctypes.POINTER(wasmtime_error_t) 

5292_wasmtime_exnref_field.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exnref_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_val_t)] 

5293def wasmtime_exnref_field(store: Any, exn: Any, index: Any, val_ret: Any) -> ctypes._Pointer: 

5294 return _wasmtime_exnref_field(store, exn, index, val_ret) # type: ignore 

5295 

5296_wasmtime_context_set_exception = dll.wasmtime_context_set_exception 

5297_wasmtime_context_set_exception.restype = ctypes.POINTER(wasm_trap_t) 

5298_wasmtime_context_set_exception.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exnref_t)] 

5299def wasmtime_context_set_exception(store: Any, exn: Any) -> ctypes._Pointer: 

5300 return _wasmtime_context_set_exception(store, exn) # type: ignore 

5301 

5302_wasmtime_context_take_exception = dll.wasmtime_context_take_exception 

5303_wasmtime_context_take_exception.restype = ctypes.c_bool 

5304_wasmtime_context_take_exception.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exnref_t)] 

5305def wasmtime_context_take_exception(store: Any, exn_ret: Any) -> bool: 

5306 return _wasmtime_context_take_exception(store, exn_ret) # type: ignore 

5307 

5308_wasmtime_context_has_exception = dll.wasmtime_context_has_exception 

5309_wasmtime_context_has_exception.restype = ctypes.c_bool 

5310_wasmtime_context_has_exception.argtypes = [ctypes.POINTER(wasmtime_context_t)] 

5311def wasmtime_context_has_exception(store: Any) -> bool: 

5312 return _wasmtime_context_has_exception(store) # type: ignore 

5313 

5314_wasmtime_exnref_type = dll.wasmtime_exnref_type 

5315_wasmtime_exnref_type.restype = ctypes.POINTER(wasmtime_exn_type_t) 

5316_wasmtime_exnref_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exnref_t)] 

5317def wasmtime_exnref_type(context: Any, exnref: Any) -> ctypes._Pointer: 

5318 return _wasmtime_exnref_type(context, exnref) # type: ignore 

5319 

5320_wasmtime_externref_new = dll.wasmtime_externref_new 

5321_wasmtime_externref_new.restype = ctypes.c_bool 

5322_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)] 

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

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

5325 

5326_wasmtime_externref_data = dll.wasmtime_externref_data 

5327_wasmtime_externref_data.restype = ctypes.c_void_p 

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

5329def wasmtime_externref_data(context: Any, data: Any) -> ctypes._Pointer: 

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

5331 

5332_wasmtime_externref_clone = dll.wasmtime_externref_clone 

5333_wasmtime_externref_clone.restype = None 

5334_wasmtime_externref_clone.argtypes = [ctypes.POINTER(wasmtime_externref_t), ctypes.POINTER(wasmtime_externref_t)] 

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

5336 return _wasmtime_externref_clone(ref, out) # type: ignore 

5337 

5338_wasmtime_externref_unroot = dll.wasmtime_externref_unroot 

5339_wasmtime_externref_unroot.restype = None 

5340_wasmtime_externref_unroot.argtypes = [ctypes.POINTER(wasmtime_externref_t)] 

5341def wasmtime_externref_unroot(ref: Any) -> None: 

5342 return _wasmtime_externref_unroot(ref) # type: ignore 

5343 

5344_wasmtime_externref_from_raw = dll.wasmtime_externref_from_raw 

5345_wasmtime_externref_from_raw.restype = None 

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

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

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

5349 

5350_wasmtime_externref_to_raw = dll.wasmtime_externref_to_raw 

5351_wasmtime_externref_to_raw.restype = ctypes.c_uint32 

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

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

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

5355 

5356_wasmtime_global_new = dll.wasmtime_global_new 

5357_wasmtime_global_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

5361 

5362_wasmtime_global_type = dll.wasmtime_global_type 

5363_wasmtime_global_type.restype = ctypes.POINTER(wasm_globaltype_t) 

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

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

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

5367 

5368_wasmtime_global_get = dll.wasmtime_global_get 

5369_wasmtime_global_get.restype = None 

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

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

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

5373 

5374_wasmtime_global_set = dll.wasmtime_global_set 

5375_wasmtime_global_set.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

5379 

5380_wasmtime_memorytype_new = dll.wasmtime_memorytype_new 

5381_wasmtime_memorytype_new.restype = ctypes.POINTER(wasmtime_error_t) 

5382_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))] 

5383def wasmtime_memorytype_new(min: Any, max_present: Any, max: Any, is_64: Any, shared: Any, page_size_log2: Any, ret: Any) -> ctypes._Pointer: 

5384 return _wasmtime_memorytype_new(min, max_present, max, is_64, shared, page_size_log2, ret) # type: ignore 

5385 

5386_wasmtime_memorytype_minimum = dll.wasmtime_memorytype_minimum 

5387_wasmtime_memorytype_minimum.restype = ctypes.c_uint64 

5388_wasmtime_memorytype_minimum.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

5389def wasmtime_memorytype_minimum(ty: Any) -> int: 

5390 return _wasmtime_memorytype_minimum(ty) # type: ignore 

5391 

5392_wasmtime_memorytype_maximum = dll.wasmtime_memorytype_maximum 

5393_wasmtime_memorytype_maximum.restype = ctypes.c_bool 

5394_wasmtime_memorytype_maximum.argtypes = [ctypes.POINTER(wasm_memorytype_t), ctypes.POINTER(ctypes.c_uint64)] 

5395def wasmtime_memorytype_maximum(ty: Any, max: Any) -> bool: 

5396 return _wasmtime_memorytype_maximum(ty, max) # type: ignore 

5397 

5398_wasmtime_memorytype_is64 = dll.wasmtime_memorytype_is64 

5399_wasmtime_memorytype_is64.restype = ctypes.c_bool 

5400_wasmtime_memorytype_is64.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

5401def wasmtime_memorytype_is64(ty: Any) -> bool: 

5402 return _wasmtime_memorytype_is64(ty) # type: ignore 

5403 

5404_wasmtime_memorytype_isshared = dll.wasmtime_memorytype_isshared 

5405_wasmtime_memorytype_isshared.restype = ctypes.c_bool 

5406_wasmtime_memorytype_isshared.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

5407def wasmtime_memorytype_isshared(ty: Any) -> bool: 

5408 return _wasmtime_memorytype_isshared(ty) # type: ignore 

5409 

5410_wasmtime_memorytype_page_size = dll.wasmtime_memorytype_page_size 

5411_wasmtime_memorytype_page_size.restype = ctypes.c_uint64 

5412_wasmtime_memorytype_page_size.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

5413def wasmtime_memorytype_page_size(ty: Any) -> int: 

5414 return _wasmtime_memorytype_page_size(ty) # type: ignore 

5415 

5416_wasmtime_memorytype_page_size_log2 = dll.wasmtime_memorytype_page_size_log2 

5417_wasmtime_memorytype_page_size_log2.restype = ctypes.c_uint8 

5418_wasmtime_memorytype_page_size_log2.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

5419def wasmtime_memorytype_page_size_log2(ty: Any) -> ctypes.c_uint8: 

5420 return _wasmtime_memorytype_page_size_log2(ty) # type: ignore 

5421 

5422_wasmtime_memory_new = dll.wasmtime_memory_new 

5423_wasmtime_memory_new.restype = ctypes.POINTER(wasmtime_error_t) 

5424_wasmtime_memory_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasm_memorytype_t), ctypes.POINTER(wasmtime_memory_t)] 

5425def wasmtime_memory_new(store: Any, ty: Any, ret: Any) -> ctypes._Pointer: 

5426 return _wasmtime_memory_new(store, ty, ret) # type: ignore 

5427 

5428_wasmtime_memory_type = dll.wasmtime_memory_type 

5429_wasmtime_memory_type.restype = ctypes.POINTER(wasm_memorytype_t) 

5430_wasmtime_memory_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

5431def wasmtime_memory_type(store: Any, memory: Any) -> ctypes._Pointer: 

5432 return _wasmtime_memory_type(store, memory) # type: ignore 

5433 

5434_wasmtime_memory_data = dll.wasmtime_memory_data 

5435_wasmtime_memory_data.restype = ctypes.POINTER(ctypes.c_uint8) 

5436_wasmtime_memory_data.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

5437def wasmtime_memory_data(store: Any, memory: Any) -> ctypes._Pointer: 

5438 return _wasmtime_memory_data(store, memory) # type: ignore 

5439 

5440_wasmtime_memory_data_size = dll.wasmtime_memory_data_size 

5441_wasmtime_memory_data_size.restype = ctypes.c_size_t 

5442_wasmtime_memory_data_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

5443def wasmtime_memory_data_size(store: Any, memory: Any) -> int: 

5444 return _wasmtime_memory_data_size(store, memory) # type: ignore 

5445 

5446_wasmtime_memory_size = dll.wasmtime_memory_size 

5447_wasmtime_memory_size.restype = ctypes.c_uint64 

5448_wasmtime_memory_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

5449def wasmtime_memory_size(store: Any, memory: Any) -> int: 

5450 return _wasmtime_memory_size(store, memory) # type: ignore 

5451 

5452_wasmtime_memory_grow = dll.wasmtime_memory_grow 

5453_wasmtime_memory_grow.restype = ctypes.POINTER(wasmtime_error_t) 

5454_wasmtime_memory_grow.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64)] 

5455def wasmtime_memory_grow(store: Any, memory: Any, delta: Any, prev_size: Any) -> ctypes._Pointer: 

5456 return _wasmtime_memory_grow(store, memory, delta, prev_size) # type: ignore 

5457 

5458_wasmtime_memory_page_size = dll.wasmtime_memory_page_size 

5459_wasmtime_memory_page_size.restype = ctypes.c_uint64 

5460_wasmtime_memory_page_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

5461def wasmtime_memory_page_size(store: Any, memory: Any) -> int: 

5462 return _wasmtime_memory_page_size(store, memory) # type: ignore 

5463 

5464_wasmtime_memory_page_size_log2 = dll.wasmtime_memory_page_size_log2 

5465_wasmtime_memory_page_size_log2.restype = ctypes.c_uint8 

5466_wasmtime_memory_page_size_log2.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

5467def wasmtime_memory_page_size_log2(store: Any, memory: Any) -> ctypes.c_uint8: 

5468 return _wasmtime_memory_page_size_log2(store, memory) # type: ignore 

5469 

5470class wasmtime_guestprofiler(ctypes.Structure): 

5471 pass 

5472 

5473wasmtime_guestprofiler_t = wasmtime_guestprofiler 

5474 

5475_wasmtime_guestprofiler_delete = dll.wasmtime_guestprofiler_delete 

5476_wasmtime_guestprofiler_delete.restype = None 

5477_wasmtime_guestprofiler_delete.argtypes = [ctypes.POINTER(wasmtime_guestprofiler_t)] 

5478def wasmtime_guestprofiler_delete(guestprofiler: Any) -> None: 

5479 return _wasmtime_guestprofiler_delete(guestprofiler) # type: ignore 

5480 

5481class wasmtime_guestprofiler_modules(ctypes.Structure): 

5482 _fields_ = [ 

5483 ("name", ctypes.POINTER(wasm_name_t)), 

5484 ("mod", ctypes.POINTER(wasmtime_module_t)), 

5485 ] 

5486 name: ctypes._Pointer 

5487 mod: ctypes._Pointer 

5488 

5489wasmtime_guestprofiler_modules_t = wasmtime_guestprofiler_modules 

5490 

5491_wasmtime_guestprofiler_new = dll.wasmtime_guestprofiler_new 

5492_wasmtime_guestprofiler_new.restype = ctypes.POINTER(wasmtime_guestprofiler_t) 

5493_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] 

5494def wasmtime_guestprofiler_new(engine: Any, module_name: Any, interval_nanos: Any, modules: Any, modules_len: Any) -> ctypes._Pointer: 

5495 return _wasmtime_guestprofiler_new(engine, module_name, interval_nanos, modules, modules_len) # type: ignore 

5496 

5497_wasmtime_guestprofiler_sample = dll.wasmtime_guestprofiler_sample 

5498_wasmtime_guestprofiler_sample.restype = None 

5499_wasmtime_guestprofiler_sample.argtypes = [ctypes.POINTER(wasmtime_guestprofiler_t), ctypes.POINTER(wasmtime_store_t), ctypes.c_uint64] 

5500def wasmtime_guestprofiler_sample(guestprofiler: Any, store: Any, delta_nanos: Any) -> None: 

5501 return _wasmtime_guestprofiler_sample(guestprofiler, store, delta_nanos) # type: ignore 

5502 

5503_wasmtime_guestprofiler_finish = dll.wasmtime_guestprofiler_finish 

5504_wasmtime_guestprofiler_finish.restype = ctypes.POINTER(wasmtime_error_t) 

5505_wasmtime_guestprofiler_finish.argtypes = [ctypes.POINTER(wasmtime_guestprofiler_t), ctypes.POINTER(wasm_byte_vec_t)] 

5506def wasmtime_guestprofiler_finish(guestprofiler: Any, out: Any) -> ctypes._Pointer: 

5507 return _wasmtime_guestprofiler_finish(guestprofiler, out) # type: ignore 

5508 

5509class wasmtime_struct_ref_pre(ctypes.Structure): 

5510 pass 

5511 

5512wasmtime_struct_ref_pre_t = wasmtime_struct_ref_pre 

5513 

5514_wasmtime_struct_ref_pre_new = dll.wasmtime_struct_ref_pre_new 

5515_wasmtime_struct_ref_pre_new.restype = ctypes.POINTER(wasmtime_struct_ref_pre_t) 

5516_wasmtime_struct_ref_pre_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_struct_type_t)] 

5517def wasmtime_struct_ref_pre_new(context: Any, ty: Any) -> ctypes._Pointer: 

5518 return _wasmtime_struct_ref_pre_new(context, ty) # type: ignore 

5519 

5520_wasmtime_struct_ref_pre_delete = dll.wasmtime_struct_ref_pre_delete 

5521_wasmtime_struct_ref_pre_delete.restype = None 

5522_wasmtime_struct_ref_pre_delete.argtypes = [ctypes.POINTER(wasmtime_struct_ref_pre_t)] 

5523def wasmtime_struct_ref_pre_delete(pre: Any) -> None: 

5524 return _wasmtime_struct_ref_pre_delete(pre) # type: ignore 

5525 

5526_wasmtime_structref_new = dll.wasmtime_structref_new 

5527_wasmtime_structref_new.restype = ctypes.POINTER(wasmtime_error_t) 

5528_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)] 

5529def wasmtime_structref_new(context: Any, pre: Any, fields: Any, nfields: Any, out: Any) -> ctypes._Pointer: 

5530 return _wasmtime_structref_new(context, pre, fields, nfields, out) # type: ignore 

5531 

5532_wasmtime_structref_clone = dll.wasmtime_structref_clone 

5533_wasmtime_structref_clone.restype = None 

5534_wasmtime_structref_clone.argtypes = [ctypes.POINTER(wasmtime_structref_t), ctypes.POINTER(wasmtime_structref_t)] 

5535def wasmtime_structref_clone(structref: Any, out: Any) -> None: 

5536 return _wasmtime_structref_clone(structref, out) # type: ignore 

5537 

5538_wasmtime_structref_unroot = dll.wasmtime_structref_unroot 

5539_wasmtime_structref_unroot.restype = None 

5540_wasmtime_structref_unroot.argtypes = [ctypes.POINTER(wasmtime_structref_t)] 

5541def wasmtime_structref_unroot(ref: Any) -> None: 

5542 return _wasmtime_structref_unroot(ref) # type: ignore 

5543 

5544_wasmtime_structref_to_anyref = dll.wasmtime_structref_to_anyref 

5545_wasmtime_structref_to_anyref.restype = None 

5546_wasmtime_structref_to_anyref.argtypes = [ctypes.POINTER(wasmtime_structref_t), ctypes.POINTER(wasmtime_anyref_t)] 

5547def wasmtime_structref_to_anyref(structref: Any, out: Any) -> None: 

5548 return _wasmtime_structref_to_anyref(structref, out) # type: ignore 

5549 

5550_wasmtime_structref_to_eqref = dll.wasmtime_structref_to_eqref 

5551_wasmtime_structref_to_eqref.restype = None 

5552_wasmtime_structref_to_eqref.argtypes = [ctypes.POINTER(wasmtime_structref_t), ctypes.POINTER(wasmtime_eqref_t)] 

5553def wasmtime_structref_to_eqref(structref: Any, out: Any) -> None: 

5554 return _wasmtime_structref_to_eqref(structref, out) # type: ignore 

5555 

5556_wasmtime_structref_field = dll.wasmtime_structref_field 

5557_wasmtime_structref_field.restype = ctypes.POINTER(wasmtime_error_t) 

5558_wasmtime_structref_field.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_structref_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_val_t)] 

5559def wasmtime_structref_field(context: Any, structref: Any, index: Any, out: Any) -> ctypes._Pointer: 

5560 return _wasmtime_structref_field(context, structref, index, out) # type: ignore 

5561 

5562_wasmtime_structref_set_field = dll.wasmtime_structref_set_field 

5563_wasmtime_structref_set_field.restype = ctypes.POINTER(wasmtime_error_t) 

5564_wasmtime_structref_set_field.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_structref_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_val_t)] 

5565def wasmtime_structref_set_field(context: Any, structref: Any, index: Any, val: Any) -> ctypes._Pointer: 

5566 return _wasmtime_structref_set_field(context, structref, index, val) # type: ignore 

5567 

5568_wasmtime_structref_type = dll.wasmtime_structref_type 

5569_wasmtime_structref_type.restype = ctypes.POINTER(wasmtime_struct_type_t) 

5570_wasmtime_structref_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_structref_t)] 

5571def wasmtime_structref_type(context: Any, structref: Any) -> ctypes._Pointer: 

5572 return _wasmtime_structref_type(context, structref) # type: ignore 

5573 

5574_wasmtime_table_new = dll.wasmtime_table_new 

5575_wasmtime_table_new.restype = ctypes.POINTER(wasmtime_error_t) 

5576_wasmtime_table_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasm_tabletype_t), ctypes.POINTER(wasmtime_val_t), ctypes.POINTER(wasmtime_table_t)] 

5577def wasmtime_table_new(store: Any, ty: Any, init: Any, table: Any) -> ctypes._Pointer: 

5578 return _wasmtime_table_new(store, ty, init, table) # type: ignore 

5579 

5580_wasmtime_table_type = dll.wasmtime_table_type 

5581_wasmtime_table_type.restype = ctypes.POINTER(wasm_tabletype_t) 

5582_wasmtime_table_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t)] 

5583def wasmtime_table_type(store: Any, table: Any) -> ctypes._Pointer: 

5584 return _wasmtime_table_type(store, table) # type: ignore 

5585 

5586_wasmtime_table_get = dll.wasmtime_table_get 

5587_wasmtime_table_get.restype = ctypes.c_bool 

5588_wasmtime_table_get.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t), ctypes.c_uint64, ctypes.POINTER(wasmtime_val_t)] 

5589def wasmtime_table_get(store: Any, table: Any, index: Any, val: Any) -> bool: 

5590 return _wasmtime_table_get(store, table, index, val) # type: ignore 

5591 

5592_wasmtime_table_set = dll.wasmtime_table_set 

5593_wasmtime_table_set.restype = ctypes.POINTER(wasmtime_error_t) 

5594_wasmtime_table_set.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t), ctypes.c_uint64, ctypes.POINTER(wasmtime_val_t)] 

5595def wasmtime_table_set(store: Any, table: Any, index: Any, value: Any) -> ctypes._Pointer: 

5596 return _wasmtime_table_set(store, table, index, value) # type: ignore 

5597 

5598_wasmtime_table_size = dll.wasmtime_table_size 

5599_wasmtime_table_size.restype = ctypes.c_uint64 

5600_wasmtime_table_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t)] 

5601def wasmtime_table_size(store: Any, table: Any) -> int: 

5602 return _wasmtime_table_size(store, table) # type: ignore 

5603 

5604_wasmtime_table_grow = dll.wasmtime_table_grow 

5605_wasmtime_table_grow.restype = ctypes.POINTER(wasmtime_error_t) 

5606_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)] 

5607def wasmtime_table_grow(store: Any, table: Any, delta: Any, init: Any, prev_size: Any) -> ctypes._Pointer: 

5608 return _wasmtime_table_grow(store, table, delta, init, prev_size) # type: ignore 

5609 

5610wasmtime_trap_code_t = ctypes.c_uint8 

5611 

5612class wasmtime_trap_code_enum(Enum): 

5613 WASMTIME_TRAP_CODE_STACK_OVERFLOW = 0 

5614 WASMTIME_TRAP_CODE_MEMORY_OUT_OF_BOUNDS = 1 

5615 WASMTIME_TRAP_CODE_HEAP_MISALIGNED = 2 

5616 WASMTIME_TRAP_CODE_TABLE_OUT_OF_BOUNDS = 3 

5617 WASMTIME_TRAP_CODE_INDIRECT_CALL_TO_NULL = 4 

5618 WASMTIME_TRAP_CODE_BAD_SIGNATURE = 5 

5619 WASMTIME_TRAP_CODE_INTEGER_OVERFLOW = 6 

5620 WASMTIME_TRAP_CODE_INTEGER_DIVISION_BY_ZERO = 7 

5621 WASMTIME_TRAP_CODE_BAD_CONVERSION_TO_INTEGER = 8 

5622 WASMTIME_TRAP_CODE_UNREACHABLE_CODE_REACHED = 9 

5623 WASMTIME_TRAP_CODE_INTERRUPT = 10 

5624 WASMTIME_TRAP_CODE_OUT_OF_FUEL = 11 

5625 WASMTIME_TRAP_CODE_ATOMIC_WAIT_NON_SHARED_MEMORY = 12 

5626 WASMTIME_TRAP_CODE_NULL_REFERENCE = 13 

5627 WASMTIME_TRAP_CODE_ARRAY_OUT_OF_BOUNDS = 14 

5628 WASMTIME_TRAP_CODE_ALLOCATION_TOO_LARGE = 15 

5629 WASMTIME_TRAP_CODE_CAST_FAILURE = 16 

5630 WASMTIME_TRAP_CODE_CANNOT_ENTER_COMPONENT = 17 

5631 WASMTIME_TRAP_CODE_NO_ASYNC_RESULT = 18 

5632 WASMTIME_TRAP_CODE_UNHANDLED_TAG = 19 

5633 WASMTIME_TRAP_CODE_CONTINUATION_ALREADY_CONSUMED = 20 

5634 WASMTIME_TRAP_CODE_DISABLED_OPCODE = 21 

5635 WASMTIME_TRAP_CODE_ASYNC_DEADLOCK = 22 

5636 WASMTIME_TRAP_CODE_CANNOT_LEAVE_COMPONENT = 23 

5637 WASMTIME_TRAP_CODE_CANNOT_BLOCK_SYNC_TASK = 24 

5638 WASMTIME_TRAP_CODE_INVALID_CHAR = 25 

5639 WASMTIME_TRAP_CODE_DEBUG_ASSERT_STRING_ENCODING_FINISHED = 26 

5640 WASMTIME_TRAP_CODE_DEBUG_ASSERT_EQUAL_CODE_UNITS = 27 

5641 WASMTIME_TRAP_CODE_DEBUG_ASSERT_POINTER_ALIGNED = 28 

5642 WASMTIME_TRAP_CODE_DEBUG_ASSERT_UPPER_BITS_UNSET = 29 

5643 WASMTIME_TRAP_CODE_STRING_OUT_OF_BOUNDS = 30 

5644 WASMTIME_TRAP_CODE_LIST_OUT_OF_BOUNDS = 31 

5645 WASMTIME_TRAP_CODE_INVALID_DISCRIMINANT = 32 

5646 WASMTIME_TRAP_CODE_UNALIGNED_POINTER = 33 

5647 WASMTIME_TRAP_CODE_TASK_CANCEL_NOT_CANCELLED = 34 

5648 WASMTIME_TRAP_CODE_TASK_CANCEL_OR_RETURN_TWICE = 35 

5649 WASMTIME_TRAP_CODE_SUBTASK_CANCEL_AFTER_TERMINAL = 36 

5650 WASMTIME_TRAP_CODE_TASK_RETURN_INVALID = 37 

5651 WASMTIME_TRAP_CODE_WAITABLE_SET_DROP_HAS_WAITERS = 38 

5652 WASMTIME_TRAP_CODE_SUBTASK_DROP_NOT_RESOLVED = 39 

5653 WASMTIME_TRAP_CODE_THREAD_NEW_INDIRECT_INVALID_TYPE = 40 

5654 WASMTIME_TRAP_CODE_THREAD_NEW_INDIRECT_UNINITIALIZED = 41 

5655 WASMTIME_TRAP_CODE_BACKPRESSURE_OVERFLOW = 42 

5656 WASMTIME_TRAP_CODE_UNSUPPORTED_CALLBACK_CODE = 43 

5657 WASMTIME_TRAP_CODE_CANNOT_RESUME_THREAD = 44 

5658 WASMTIME_TRAP_CODE_CONCURRENT_FUTURE_STREAM_OP = 45 

5659 WASMTIME_TRAP_CODE_REFERENCE_COUNT_OVERFLOW = 46 

5660 WASMTIME_TRAP_CODE_STREAM_OP_TOO_BIG = 47 

5661 WASMTIME_TRAP_CODE_WAITABLE_SYNC_AND_ASYNC = 48 

5662 

5663_wasmtime_trap_new = dll.wasmtime_trap_new 

5664_wasmtime_trap_new.restype = ctypes.POINTER(wasm_trap_t) 

5665_wasmtime_trap_new.argtypes = [ctypes.POINTER(ctypes.c_char), ctypes.c_size_t] 

5666def wasmtime_trap_new(msg: Any, msg_len: Any) -> ctypes._Pointer: 

5667 return _wasmtime_trap_new(msg, msg_len) # type: ignore 

5668 

5669_wasmtime_trap_new_code = dll.wasmtime_trap_new_code 

5670_wasmtime_trap_new_code.restype = ctypes.POINTER(wasm_trap_t) 

5671_wasmtime_trap_new_code.argtypes = [wasmtime_trap_code_t] 

5672def wasmtime_trap_new_code(code: Any) -> ctypes._Pointer: 

5673 return _wasmtime_trap_new_code(code) # type: ignore 

5674 

5675_wasmtime_trap_code = dll.wasmtime_trap_code 

5676_wasmtime_trap_code.restype = ctypes.c_bool 

5677_wasmtime_trap_code.argtypes = [ctypes.POINTER(wasm_trap_t), ctypes.POINTER(wasmtime_trap_code_t)] 

5678def wasmtime_trap_code(arg0: Any, code: Any) -> bool: 

5679 return _wasmtime_trap_code(arg0, code) # type: ignore 

5680 

5681_wasmtime_frame_func_name = dll.wasmtime_frame_func_name 

5682_wasmtime_frame_func_name.restype = ctypes.POINTER(wasm_name_t) 

5683_wasmtime_frame_func_name.argtypes = [ctypes.POINTER(wasm_frame_t)] 

5684def wasmtime_frame_func_name(arg0: Any) -> ctypes._Pointer: 

5685 return _wasmtime_frame_func_name(arg0) # type: ignore 

5686 

5687_wasmtime_frame_module_name = dll.wasmtime_frame_module_name 

5688_wasmtime_frame_module_name.restype = ctypes.POINTER(wasm_name_t) 

5689_wasmtime_frame_module_name.argtypes = [ctypes.POINTER(wasm_frame_t)] 

5690def wasmtime_frame_module_name(arg0: Any) -> ctypes._Pointer: 

5691 return _wasmtime_frame_module_name(arg0) # type: ignore 

5692 

5693_wasmtime_wat2wasm = dll.wasmtime_wat2wasm 

5694_wasmtime_wat2wasm.restype = ctypes.POINTER(wasmtime_error_t) 

5695_wasmtime_wat2wasm.argtypes = [ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasm_byte_vec_t)] 

5696def wasmtime_wat2wasm(wat: Any, wat_len: Any, ret: Any) -> ctypes._Pointer: 

5697 return _wasmtime_wat2wasm(wat, wat_len, ret) # type: ignore