Coverage for wasmtime/_bindings.py: 89%

3992 statements  

« prev     ^ index     » next       coverage.py v7.11.3, created at 2026-05-07 14:30 +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_set_argv = dll.wasi_config_set_argv 

1969_wasi_config_set_argv.restype = ctypes.c_bool 

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

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

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

1973 

1974_wasi_config_inherit_argv = dll.wasi_config_inherit_argv 

1975_wasi_config_inherit_argv.restype = None 

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

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

1978 return _wasi_config_inherit_argv(config) # type: ignore 

1979 

1980_wasi_config_set_env = dll.wasi_config_set_env 

1981_wasi_config_set_env.restype = ctypes.c_bool 

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

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

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

1985 

1986_wasi_config_inherit_env = dll.wasi_config_inherit_env 

1987_wasi_config_inherit_env.restype = None 

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

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

1990 return _wasi_config_inherit_env(config) # type: ignore 

1991 

1992_wasi_config_set_stdin_file = dll.wasi_config_set_stdin_file 

1993_wasi_config_set_stdin_file.restype = ctypes.c_bool 

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

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

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

1997 

1998_wasi_config_set_stdin_bytes = dll.wasi_config_set_stdin_bytes 

1999_wasi_config_set_stdin_bytes.restype = None 

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

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

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

2003 

2004_wasi_config_inherit_stdin = dll.wasi_config_inherit_stdin 

2005_wasi_config_inherit_stdin.restype = None 

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

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

2008 return _wasi_config_inherit_stdin(config) # type: ignore 

2009 

2010_wasi_config_set_stdout_file = dll.wasi_config_set_stdout_file 

2011_wasi_config_set_stdout_file.restype = ctypes.c_bool 

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

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

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

2015 

2016_wasi_config_inherit_stdout = dll.wasi_config_inherit_stdout 

2017_wasi_config_inherit_stdout.restype = None 

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

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

2020 return _wasi_config_inherit_stdout(config) # type: ignore 

2021 

2022_wasi_config_set_stdout_custom = dll.wasi_config_set_stdout_custom 

2023_wasi_config_set_stdout_custom.restype = None 

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

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

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

2027 

2028_wasi_config_set_stderr_file = dll.wasi_config_set_stderr_file 

2029_wasi_config_set_stderr_file.restype = ctypes.c_bool 

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

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

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

2033 

2034_wasi_config_inherit_stderr = dll.wasi_config_inherit_stderr 

2035_wasi_config_inherit_stderr.restype = None 

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

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

2038 return _wasi_config_inherit_stderr(config) # type: ignore 

2039 

2040_wasi_config_set_stderr_custom = dll.wasi_config_set_stderr_custom 

2041_wasi_config_set_stderr_custom.restype = None 

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

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

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

2045 

2046class wasi_dir_perms_flags(Enum): 

2047 WASMTIME_WASI_DIR_PERMS_READ = 1 

2048 WASMTIME_WASI_DIR_PERMS_WRITE = 2 

2049 

2050wasi_dir_perms = ctypes.c_size_t 

2051 

2052class wasi_file_perms_flags(Enum): 

2053 WASMTIME_WASI_FILE_PERMS_READ = 1 

2054 WASMTIME_WASI_FILE_PERMS_WRITE = 2 

2055 

2056wasi_file_perms = ctypes.c_size_t 

2057 

2058_wasi_config_preopen_dir = dll.wasi_config_preopen_dir 

2059_wasi_config_preopen_dir.restype = ctypes.c_bool 

2060_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] 

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

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

2063 

2064class wasmtime_error(ctypes.Structure): 

2065 pass 

2066 

2067wasmtime_error_t = wasmtime_error 

2068 

2069_wasmtime_error_new = dll.wasmtime_error_new 

2070_wasmtime_error_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

2073 return _wasmtime_error_new(arg0) # type: ignore 

2074 

2075_wasmtime_error_delete = dll.wasmtime_error_delete 

2076_wasmtime_error_delete.restype = None 

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

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

2079 return _wasmtime_error_delete(error) # type: ignore 

2080 

2081_wasmtime_error_message = dll.wasmtime_error_message 

2082_wasmtime_error_message.restype = None 

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

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

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

2086 

2087_wasmtime_error_exit_status = dll.wasmtime_error_exit_status 

2088_wasmtime_error_exit_status.restype = ctypes.c_bool 

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

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

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

2092 

2093_wasmtime_error_wasm_trace = dll.wasmtime_error_wasm_trace 

2094_wasmtime_error_wasm_trace.restype = None 

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

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

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

2098 

2099wasmtime_strategy_t = ctypes.c_uint8 

2100 

2101class wasmtime_strategy_enum(Enum): 

2102 WASMTIME_STRATEGY_AUTO = auto() 

2103 WASMTIME_STRATEGY_CRANELIFT = auto() 

2104 

2105wasmtime_opt_level_t = ctypes.c_uint8 

2106 

2107class wasmtime_opt_level_enum(Enum): 

2108 WASMTIME_OPT_LEVEL_NONE = auto() 

2109 WASMTIME_OPT_LEVEL_SPEED = auto() 

2110 WASMTIME_OPT_LEVEL_SPEED_AND_SIZE = auto() 

2111 

2112wasmtime_profiling_strategy_t = ctypes.c_uint8 

2113 

2114class wasmtime_profiling_strategy_enum(Enum): 

2115 WASMTIME_PROFILING_STRATEGY_NONE = auto() 

2116 WASMTIME_PROFILING_STRATEGY_JITDUMP = auto() 

2117 WASMTIME_PROFILING_STRATEGY_VTUNE = auto() 

2118 WASMTIME_PROFILING_STRATEGY_PERFMAP = auto() 

2119 

2120_wasmtime_config_debug_info_set = dll.wasmtime_config_debug_info_set 

2121_wasmtime_config_debug_info_set.restype = None 

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

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

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

2125 

2126_wasmtime_config_consume_fuel_set = dll.wasmtime_config_consume_fuel_set 

2127_wasmtime_config_consume_fuel_set.restype = None 

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

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

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

2131 

2132_wasmtime_config_epoch_interruption_set = dll.wasmtime_config_epoch_interruption_set 

2133_wasmtime_config_epoch_interruption_set.restype = None 

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

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

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

2137 

2138_wasmtime_config_max_wasm_stack_set = dll.wasmtime_config_max_wasm_stack_set 

2139_wasmtime_config_max_wasm_stack_set.restype = None 

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

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

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

2143 

2144_wasmtime_config_wasm_threads_set = dll.wasmtime_config_wasm_threads_set 

2145_wasmtime_config_wasm_threads_set.restype = None 

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

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

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

2149 

2150_wasmtime_config_shared_memory_set = dll.wasmtime_config_shared_memory_set 

2151_wasmtime_config_shared_memory_set.restype = None 

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

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

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

2155 

2156_wasmtime_config_wasm_tail_call_set = dll.wasmtime_config_wasm_tail_call_set 

2157_wasmtime_config_wasm_tail_call_set.restype = None 

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

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

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

2161 

2162_wasmtime_config_wasm_reference_types_set = dll.wasmtime_config_wasm_reference_types_set 

2163_wasmtime_config_wasm_reference_types_set.restype = None 

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

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

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

2167 

2168_wasmtime_config_wasm_function_references_set = dll.wasmtime_config_wasm_function_references_set 

2169_wasmtime_config_wasm_function_references_set.restype = None 

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

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

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

2173 

2174_wasmtime_config_wasm_gc_set = dll.wasmtime_config_wasm_gc_set 

2175_wasmtime_config_wasm_gc_set.restype = None 

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

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

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

2179 

2180_wasmtime_config_gc_support_set = dll.wasmtime_config_gc_support_set 

2181_wasmtime_config_gc_support_set.restype = None 

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

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

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

2185 

2186_wasmtime_config_wasm_simd_set = dll.wasmtime_config_wasm_simd_set 

2187_wasmtime_config_wasm_simd_set.restype = None 

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

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

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

2191 

2192_wasmtime_config_wasm_relaxed_simd_set = dll.wasmtime_config_wasm_relaxed_simd_set 

2193_wasmtime_config_wasm_relaxed_simd_set.restype = None 

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

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

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

2197 

2198_wasmtime_config_wasm_relaxed_simd_deterministic_set = dll.wasmtime_config_wasm_relaxed_simd_deterministic_set 

2199_wasmtime_config_wasm_relaxed_simd_deterministic_set.restype = None 

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

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

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

2203 

2204_wasmtime_config_wasm_bulk_memory_set = dll.wasmtime_config_wasm_bulk_memory_set 

2205_wasmtime_config_wasm_bulk_memory_set.restype = None 

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

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

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

2209 

2210_wasmtime_config_wasm_multi_value_set = dll.wasmtime_config_wasm_multi_value_set 

2211_wasmtime_config_wasm_multi_value_set.restype = None 

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

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

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

2215 

2216_wasmtime_config_wasm_multi_memory_set = dll.wasmtime_config_wasm_multi_memory_set 

2217_wasmtime_config_wasm_multi_memory_set.restype = None 

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

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

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

2221 

2222_wasmtime_config_wasm_memory64_set = dll.wasmtime_config_wasm_memory64_set 

2223_wasmtime_config_wasm_memory64_set.restype = None 

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

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

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

2227 

2228_wasmtime_config_wasm_wide_arithmetic_set = dll.wasmtime_config_wasm_wide_arithmetic_set 

2229_wasmtime_config_wasm_wide_arithmetic_set.restype = None 

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

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

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

2233 

2234_wasmtime_config_wasm_exceptions_set = dll.wasmtime_config_wasm_exceptions_set 

2235_wasmtime_config_wasm_exceptions_set.restype = None 

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

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

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

2239 

2240_wasmtime_config_wasm_custom_page_sizes_set = dll.wasmtime_config_wasm_custom_page_sizes_set 

2241_wasmtime_config_wasm_custom_page_sizes_set.restype = None 

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

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

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

2245 

2246_wasmtime_config_wasm_stack_switching_set = dll.wasmtime_config_wasm_stack_switching_set 

2247_wasmtime_config_wasm_stack_switching_set.restype = None 

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

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

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

2251 

2252_wasmtime_config_strategy_set = dll.wasmtime_config_strategy_set 

2253_wasmtime_config_strategy_set.restype = None 

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

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

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

2257 

2258_wasmtime_config_parallel_compilation_set = dll.wasmtime_config_parallel_compilation_set 

2259_wasmtime_config_parallel_compilation_set.restype = None 

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

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

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

2263 

2264_wasmtime_config_cranelift_debug_verifier_set = dll.wasmtime_config_cranelift_debug_verifier_set 

2265_wasmtime_config_cranelift_debug_verifier_set.restype = None 

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

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

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

2269 

2270_wasmtime_config_cranelift_nan_canonicalization_set = dll.wasmtime_config_cranelift_nan_canonicalization_set 

2271_wasmtime_config_cranelift_nan_canonicalization_set.restype = None 

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

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

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

2275 

2276_wasmtime_config_cranelift_opt_level_set = dll.wasmtime_config_cranelift_opt_level_set 

2277_wasmtime_config_cranelift_opt_level_set.restype = None 

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

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

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

2281 

2282_wasmtime_config_profiler_set = dll.wasmtime_config_profiler_set 

2283_wasmtime_config_profiler_set.restype = None 

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

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

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

2287 

2288_wasmtime_config_memory_may_move_set = dll.wasmtime_config_memory_may_move_set 

2289_wasmtime_config_memory_may_move_set.restype = None 

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

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

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

2293 

2294_wasmtime_config_memory_reservation_set = dll.wasmtime_config_memory_reservation_set 

2295_wasmtime_config_memory_reservation_set.restype = None 

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

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

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

2299 

2300_wasmtime_config_memory_guard_size_set = dll.wasmtime_config_memory_guard_size_set 

2301_wasmtime_config_memory_guard_size_set.restype = None 

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

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

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

2305 

2306_wasmtime_config_memory_reservation_for_growth_set = dll.wasmtime_config_memory_reservation_for_growth_set 

2307_wasmtime_config_memory_reservation_for_growth_set.restype = None 

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

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

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

2311 

2312_wasmtime_config_native_unwind_info_set = dll.wasmtime_config_native_unwind_info_set 

2313_wasmtime_config_native_unwind_info_set.restype = None 

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

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

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

2317 

2318_wasmtime_config_cache_config_load = dll.wasmtime_config_cache_config_load 

2319_wasmtime_config_cache_config_load.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2323 

2324_wasmtime_config_target_set = dll.wasmtime_config_target_set 

2325_wasmtime_config_target_set.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2329 

2330_wasmtime_config_cranelift_flag_enable = dll.wasmtime_config_cranelift_flag_enable 

2331_wasmtime_config_cranelift_flag_enable.restype = None 

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

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

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

2335 

2336_wasmtime_config_cranelift_flag_set = dll.wasmtime_config_cranelift_flag_set 

2337_wasmtime_config_cranelift_flag_set.restype = None 

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

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

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

2341 

2342_wasmtime_config_macos_use_mach_ports_set = dll.wasmtime_config_macos_use_mach_ports_set 

2343_wasmtime_config_macos_use_mach_ports_set.restype = None 

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

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

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

2347 

2348_wasmtime_config_signals_based_traps_set = dll.wasmtime_config_signals_based_traps_set 

2349_wasmtime_config_signals_based_traps_set.restype = None 

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

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

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

2353 

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

2355 

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

2357 

2358class wasmtime_linear_memory(ctypes.Structure): 

2359 _fields_ = [ 

2360 ("env", ctypes.c_void_p), 

2361 ("get_memory", wasmtime_memory_get_callback_t), 

2362 ("grow_memory", wasmtime_memory_grow_callback_t), 

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

2364 ] 

2365 env: ctypes._Pointer 

2366 get_memory: ctypes._Pointer 

2367 grow_memory: ctypes._Pointer 

2368 finalizer: ctypes._Pointer 

2369 

2370wasmtime_linear_memory_t = wasmtime_linear_memory 

2371 

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

2373 

2374class wasmtime_memory_creator(ctypes.Structure): 

2375 _fields_ = [ 

2376 ("env", ctypes.c_void_p), 

2377 ("new_memory", wasmtime_new_memory_callback_t), 

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

2379 ] 

2380 env: ctypes._Pointer 

2381 new_memory: ctypes._Pointer 

2382 finalizer: ctypes._Pointer 

2383 

2384wasmtime_memory_creator_t = wasmtime_memory_creator 

2385 

2386_wasmtime_config_host_memory_creator_set = dll.wasmtime_config_host_memory_creator_set 

2387_wasmtime_config_host_memory_creator_set.restype = None 

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

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

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

2391 

2392_wasmtime_config_memory_init_cow_set = dll.wasmtime_config_memory_init_cow_set 

2393_wasmtime_config_memory_init_cow_set.restype = None 

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

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

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

2397 

2398class wasmtime_pooling_allocation_config_t(ctypes.Structure): 

2399 pass 

2400 

2401_wasmtime_pooling_allocation_config_new = dll.wasmtime_pooling_allocation_config_new 

2402_wasmtime_pooling_allocation_config_new.restype = ctypes.POINTER(wasmtime_pooling_allocation_config_t) 

2403_wasmtime_pooling_allocation_config_new.argtypes = [] 

2404def wasmtime_pooling_allocation_config_new() -> ctypes._Pointer: 

2405 return _wasmtime_pooling_allocation_config_new() # type: ignore 

2406 

2407_wasmtime_pooling_allocation_config_delete = dll.wasmtime_pooling_allocation_config_delete 

2408_wasmtime_pooling_allocation_config_delete.restype = None 

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

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

2411 return _wasmtime_pooling_allocation_config_delete(arg0) # type: ignore 

2412 

2413_wasmtime_pooling_allocation_config_max_unused_warm_slots_set = dll.wasmtime_pooling_allocation_config_max_unused_warm_slots_set 

2414_wasmtime_pooling_allocation_config_max_unused_warm_slots_set.restype = None 

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

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

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

2418 

2419_wasmtime_pooling_allocation_config_decommit_batch_size_set = dll.wasmtime_pooling_allocation_config_decommit_batch_size_set 

2420_wasmtime_pooling_allocation_config_decommit_batch_size_set.restype = None 

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

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

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

2424 

2425_wasmtime_pooling_allocation_config_async_stack_keep_resident_set = dll.wasmtime_pooling_allocation_config_async_stack_keep_resident_set 

2426_wasmtime_pooling_allocation_config_async_stack_keep_resident_set.restype = None 

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

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

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

2430 

2431_wasmtime_pooling_allocation_config_linear_memory_keep_resident_set = dll.wasmtime_pooling_allocation_config_linear_memory_keep_resident_set 

2432_wasmtime_pooling_allocation_config_linear_memory_keep_resident_set.restype = None 

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

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

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

2436 

2437_wasmtime_pooling_allocation_config_table_keep_resident_set = dll.wasmtime_pooling_allocation_config_table_keep_resident_set 

2438_wasmtime_pooling_allocation_config_table_keep_resident_set.restype = None 

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

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

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

2442 

2443_wasmtime_pooling_allocation_config_total_component_instances_set = dll.wasmtime_pooling_allocation_config_total_component_instances_set 

2444_wasmtime_pooling_allocation_config_total_component_instances_set.restype = None 

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

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

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

2448 

2449_wasmtime_pooling_allocation_config_max_component_instance_size_set = dll.wasmtime_pooling_allocation_config_max_component_instance_size_set 

2450_wasmtime_pooling_allocation_config_max_component_instance_size_set.restype = None 

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

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

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

2454 

2455_wasmtime_pooling_allocation_config_max_core_instances_per_component_set = dll.wasmtime_pooling_allocation_config_max_core_instances_per_component_set 

2456_wasmtime_pooling_allocation_config_max_core_instances_per_component_set.restype = None 

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

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

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

2460 

2461_wasmtime_pooling_allocation_config_max_memories_per_component_set = dll.wasmtime_pooling_allocation_config_max_memories_per_component_set 

2462_wasmtime_pooling_allocation_config_max_memories_per_component_set.restype = None 

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

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

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

2466 

2467_wasmtime_pooling_allocation_config_max_tables_per_component_set = dll.wasmtime_pooling_allocation_config_max_tables_per_component_set 

2468_wasmtime_pooling_allocation_config_max_tables_per_component_set.restype = None 

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

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

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

2472 

2473_wasmtime_pooling_allocation_config_total_memories_set = dll.wasmtime_pooling_allocation_config_total_memories_set 

2474_wasmtime_pooling_allocation_config_total_memories_set.restype = None 

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

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

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

2478 

2479_wasmtime_pooling_allocation_config_total_tables_set = dll.wasmtime_pooling_allocation_config_total_tables_set 

2480_wasmtime_pooling_allocation_config_total_tables_set.restype = None 

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

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

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

2484 

2485_wasmtime_pooling_allocation_config_total_stacks_set = dll.wasmtime_pooling_allocation_config_total_stacks_set 

2486_wasmtime_pooling_allocation_config_total_stacks_set.restype = None 

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

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

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

2490 

2491_wasmtime_pooling_allocation_config_total_core_instances_set = dll.wasmtime_pooling_allocation_config_total_core_instances_set 

2492_wasmtime_pooling_allocation_config_total_core_instances_set.restype = None 

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

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

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

2496 

2497_wasmtime_pooling_allocation_config_max_core_instance_size_set = dll.wasmtime_pooling_allocation_config_max_core_instance_size_set 

2498_wasmtime_pooling_allocation_config_max_core_instance_size_set.restype = None 

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

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

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

2502 

2503_wasmtime_pooling_allocation_config_max_tables_per_module_set = dll.wasmtime_pooling_allocation_config_max_tables_per_module_set 

2504_wasmtime_pooling_allocation_config_max_tables_per_module_set.restype = None 

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

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

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

2508 

2509_wasmtime_pooling_allocation_config_table_elements_set = dll.wasmtime_pooling_allocation_config_table_elements_set 

2510_wasmtime_pooling_allocation_config_table_elements_set.restype = None 

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

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

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

2514 

2515_wasmtime_pooling_allocation_config_max_memories_per_module_set = dll.wasmtime_pooling_allocation_config_max_memories_per_module_set 

2516_wasmtime_pooling_allocation_config_max_memories_per_module_set.restype = None 

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

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

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

2520 

2521_wasmtime_pooling_allocation_config_max_memory_size_set = dll.wasmtime_pooling_allocation_config_max_memory_size_set 

2522_wasmtime_pooling_allocation_config_max_memory_size_set.restype = None 

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

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

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

2526 

2527_wasmtime_pooling_allocation_config_total_gc_heaps_set = dll.wasmtime_pooling_allocation_config_total_gc_heaps_set 

2528_wasmtime_pooling_allocation_config_total_gc_heaps_set.restype = None 

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

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

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

2532 

2533_wasmtime_pooling_allocation_strategy_set = dll.wasmtime_pooling_allocation_strategy_set 

2534_wasmtime_pooling_allocation_strategy_set.restype = None 

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

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

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

2538 

2539_wasmtime_config_wasm_component_model_set = dll.wasmtime_config_wasm_component_model_set 

2540_wasmtime_config_wasm_component_model_set.restype = None 

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

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

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

2544 

2545_wasmtime_config_concurrency_support_set = dll.wasmtime_config_concurrency_support_set 

2546_wasmtime_config_concurrency_support_set.restype = None 

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

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

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

2550 

2551_wasmtime_config_wasm_component_model_map_set = dll.wasmtime_config_wasm_component_model_map_set 

2552_wasmtime_config_wasm_component_model_map_set.restype = None 

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

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

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

2556 

2557_wasmtime_engine_clone = dll.wasmtime_engine_clone 

2558_wasmtime_engine_clone.restype = ctypes.POINTER(wasm_engine_t) 

2559_wasmtime_engine_clone.argtypes = [ctypes.POINTER(wasm_engine_t)] 

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

2561 return _wasmtime_engine_clone(engine) # type: ignore 

2562 

2563_wasmtime_engine_increment_epoch = dll.wasmtime_engine_increment_epoch 

2564_wasmtime_engine_increment_epoch.restype = None 

2565_wasmtime_engine_increment_epoch.argtypes = [ctypes.POINTER(wasm_engine_t)] 

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

2567 return _wasmtime_engine_increment_epoch(engine) # type: ignore 

2568 

2569_wasmtime_engine_is_pulley = dll.wasmtime_engine_is_pulley 

2570_wasmtime_engine_is_pulley.restype = ctypes.c_bool 

2571_wasmtime_engine_is_pulley.argtypes = [ctypes.POINTER(wasm_engine_t)] 

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

2573 return _wasmtime_engine_is_pulley(engine) # type: ignore 

2574 

2575class wasmtime_store(ctypes.Structure): 

2576 pass 

2577 

2578wasmtime_store_t = wasmtime_store 

2579 

2580class wasmtime_context(ctypes.Structure): 

2581 pass 

2582 

2583wasmtime_context_t = wasmtime_context 

2584 

2585_wasmtime_store_new = dll.wasmtime_store_new 

2586_wasmtime_store_new.restype = ctypes.POINTER(wasmtime_store_t) 

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

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

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

2590 

2591_wasmtime_store_context = dll.wasmtime_store_context 

2592_wasmtime_store_context.restype = ctypes.POINTER(wasmtime_context_t) 

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

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

2595 return _wasmtime_store_context(store) # type: ignore 

2596 

2597_wasmtime_store_limiter = dll.wasmtime_store_limiter 

2598_wasmtime_store_limiter.restype = None 

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

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

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

2602 

2603_wasmtime_store_delete = dll.wasmtime_store_delete 

2604_wasmtime_store_delete.restype = None 

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

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

2607 return _wasmtime_store_delete(store) # type: ignore 

2608 

2609_wasmtime_context_get_data = dll.wasmtime_context_get_data 

2610_wasmtime_context_get_data.restype = ctypes.c_void_p 

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

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

2613 return _wasmtime_context_get_data(context) # type: ignore 

2614 

2615_wasmtime_context_set_data = dll.wasmtime_context_set_data 

2616_wasmtime_context_set_data.restype = None 

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

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

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

2620 

2621_wasmtime_context_gc = dll.wasmtime_context_gc 

2622_wasmtime_context_gc.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

2625 return _wasmtime_context_gc(context) # type: ignore 

2626 

2627_wasmtime_context_set_fuel = dll.wasmtime_context_set_fuel 

2628_wasmtime_context_set_fuel.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2632 

2633_wasmtime_context_get_fuel = dll.wasmtime_context_get_fuel 

2634_wasmtime_context_get_fuel.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2638 

2639_wasmtime_context_set_wasi = dll.wasmtime_context_set_wasi 

2640_wasmtime_context_set_wasi.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2644 

2645_wasmtime_context_set_wasi_http = dll.wasmtime_context_set_wasi_http 

2646_wasmtime_context_set_wasi_http.restype = None 

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

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

2649 return _wasmtime_context_set_wasi_http(context) # type: ignore 

2650 

2651_wasmtime_context_set_epoch_deadline = dll.wasmtime_context_set_epoch_deadline 

2652_wasmtime_context_set_epoch_deadline.restype = None 

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

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

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

2656 

2657wasmtime_update_deadline_kind_t = ctypes.c_uint8 

2658 

2659_wasmtime_store_epoch_deadline_callback = dll.wasmtime_store_epoch_deadline_callback 

2660_wasmtime_store_epoch_deadline_callback.restype = None 

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

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

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

2664 

2665 

2666class wasmtime_tag_anon_0(ctypes.Structure): 

2667 _fields_ = [ 

2668 ("store_id", ctypes.c_uint64), 

2669 ("__private1", ctypes.c_uint32), 

2670 ] 

2671 store_id: int 

2672 __private1: int 

2673class wasmtime_tag(ctypes.Structure): 

2674 _fields_ = [ 

2675 ("_anon_1", wasmtime_tag_anon_0), 

2676 ("__private2", ctypes.c_uint32), 

2677 ] 

2678 _anon_1: wasmtime_tag_anon_0 

2679 __private2: int 

2680 

2681wasmtime_tag_t = wasmtime_tag 

2682 

2683_wasmtime_tag_new = dll.wasmtime_tag_new 

2684_wasmtime_tag_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2688 

2689_wasmtime_tag_type = dll.wasmtime_tag_type 

2690_wasmtime_tag_type.restype = ctypes.POINTER(wasm_tagtype_t) 

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

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

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

2694 

2695_wasmtime_tag_eq = dll.wasmtime_tag_eq 

2696_wasmtime_tag_eq.restype = ctypes.c_bool 

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

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

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

2700 

2701class wasmtime_module(ctypes.Structure): 

2702 pass 

2703 

2704wasmtime_module_t = wasmtime_module 

2705 

2706_wasmtime_module_new = dll.wasmtime_module_new 

2707_wasmtime_module_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2711 

2712_wasmtime_module_delete = dll.wasmtime_module_delete 

2713_wasmtime_module_delete.restype = None 

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

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

2716 return _wasmtime_module_delete(m) # type: ignore 

2717 

2718_wasmtime_module_clone = dll.wasmtime_module_clone 

2719_wasmtime_module_clone.restype = ctypes.POINTER(wasmtime_module_t) 

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

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

2722 return _wasmtime_module_clone(m) # type: ignore 

2723 

2724_wasmtime_module_imports = dll.wasmtime_module_imports 

2725_wasmtime_module_imports.restype = None 

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

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

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

2729 

2730_wasmtime_module_exports = dll.wasmtime_module_exports 

2731_wasmtime_module_exports.restype = None 

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

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

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

2735 

2736_wasmtime_module_validate = dll.wasmtime_module_validate 

2737_wasmtime_module_validate.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2741 

2742_wasmtime_module_serialize = dll.wasmtime_module_serialize 

2743_wasmtime_module_serialize.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2747 

2748_wasmtime_module_deserialize = dll.wasmtime_module_deserialize 

2749_wasmtime_module_deserialize.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2753 

2754_wasmtime_module_deserialize_file = dll.wasmtime_module_deserialize_file 

2755_wasmtime_module_deserialize_file.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2759 

2760_wasmtime_module_image_range = dll.wasmtime_module_image_range 

2761_wasmtime_module_image_range.restype = None 

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

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

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

2765 

2766class wasmtime_sharedmemory(ctypes.Structure): 

2767 pass 

2768 

2769wasmtime_sharedmemory_t = wasmtime_sharedmemory 

2770 

2771_wasmtime_sharedmemory_new = dll.wasmtime_sharedmemory_new 

2772_wasmtime_sharedmemory_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2776 

2777_wasmtime_sharedmemory_delete = dll.wasmtime_sharedmemory_delete 

2778_wasmtime_sharedmemory_delete.restype = None 

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

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

2781 return _wasmtime_sharedmemory_delete(memory) # type: ignore 

2782 

2783_wasmtime_sharedmemory_clone = dll.wasmtime_sharedmemory_clone 

2784_wasmtime_sharedmemory_clone.restype = ctypes.POINTER(wasmtime_sharedmemory_t) 

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

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

2787 return _wasmtime_sharedmemory_clone(memory) # type: ignore 

2788 

2789_wasmtime_sharedmemory_type = dll.wasmtime_sharedmemory_type 

2790_wasmtime_sharedmemory_type.restype = ctypes.POINTER(wasm_memorytype_t) 

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

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

2793 return _wasmtime_sharedmemory_type(memory) # type: ignore 

2794 

2795_wasmtime_sharedmemory_data = dll.wasmtime_sharedmemory_data 

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

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

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

2799 return _wasmtime_sharedmemory_data(memory) # type: ignore 

2800 

2801_wasmtime_sharedmemory_data_size = dll.wasmtime_sharedmemory_data_size 

2802_wasmtime_sharedmemory_data_size.restype = ctypes.c_size_t 

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

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

2805 return _wasmtime_sharedmemory_data_size(memory) # type: ignore 

2806 

2807_wasmtime_sharedmemory_size = dll.wasmtime_sharedmemory_size 

2808_wasmtime_sharedmemory_size.restype = ctypes.c_uint64 

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

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

2811 return _wasmtime_sharedmemory_size(memory) # type: ignore 

2812 

2813_wasmtime_sharedmemory_grow = dll.wasmtime_sharedmemory_grow 

2814_wasmtime_sharedmemory_grow.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2818 

2819class wasmtime_func(ctypes.Structure): 

2820 _fields_ = [ 

2821 ("store_id", ctypes.c_uint64), 

2822 ("__private", ctypes.c_void_p), 

2823 ] 

2824 store_id: int 

2825 __private: ctypes._Pointer 

2826 

2827wasmtime_func_t = wasmtime_func 

2828 

2829 

2830class wasmtime_table_anon_0(ctypes.Structure): 

2831 _fields_ = [ 

2832 ("store_id", ctypes.c_uint64), 

2833 ("__private1", ctypes.c_uint32), 

2834 ] 

2835 store_id: int 

2836 __private1: int 

2837class wasmtime_table(ctypes.Structure): 

2838 _fields_ = [ 

2839 ("_anon_1", wasmtime_table_anon_0), 

2840 ("__private2", ctypes.c_uint32), 

2841 ] 

2842 _anon_1: wasmtime_table_anon_0 

2843 __private2: int 

2844 

2845wasmtime_table_t = wasmtime_table 

2846 

2847 

2848class wasmtime_memory_anon_0(ctypes.Structure): 

2849 _fields_ = [ 

2850 ("store_id", ctypes.c_uint64), 

2851 ("__private1", ctypes.c_uint32), 

2852 ] 

2853 store_id: int 

2854 __private1: int 

2855class wasmtime_memory(ctypes.Structure): 

2856 _fields_ = [ 

2857 ("_anon_1", wasmtime_memory_anon_0), 

2858 ("__private2", ctypes.c_uint32), 

2859 ] 

2860 _anon_1: wasmtime_memory_anon_0 

2861 __private2: int 

2862 

2863wasmtime_memory_t = wasmtime_memory 

2864 

2865class wasmtime_global(ctypes.Structure): 

2866 _fields_ = [ 

2867 ("store_id", ctypes.c_uint64), 

2868 ("__private1", ctypes.c_uint32), 

2869 ("__private2", ctypes.c_uint32), 

2870 ("__private3", ctypes.c_uint32), 

2871 ] 

2872 store_id: int 

2873 __private1: int 

2874 __private2: int 

2875 __private3: int 

2876 

2877wasmtime_global_t = wasmtime_global 

2878 

2879wasmtime_extern_kind_t = ctypes.c_uint8 

2880 

2881class wasmtime_extern_union(ctypes.Union): 

2882 _fields_ = [ 

2883 ("func", wasmtime_func_t), 

2884 ("global_", wasmtime_global_t), 

2885 ("table", wasmtime_table_t), 

2886 ("memory", wasmtime_memory_t), 

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

2888 ("tag", wasmtime_tag_t), 

2889 ] 

2890 func: wasmtime_func_t 

2891 global_: wasmtime_global_t 

2892 table: wasmtime_table_t 

2893 memory: wasmtime_memory_t 

2894 sharedmemory: ctypes._Pointer 

2895 tag: wasmtime_tag_t 

2896 

2897wasmtime_extern_union_t = wasmtime_extern_union 

2898 

2899class wasmtime_extern(ctypes.Structure): 

2900 _fields_ = [ 

2901 ("kind", wasmtime_extern_kind_t), 

2902 ("of", wasmtime_extern_union_t), 

2903 ] 

2904 kind: wasmtime_extern_kind_t 

2905 of: wasmtime_extern_union_t 

2906 

2907wasmtime_extern_t = wasmtime_extern 

2908 

2909_wasmtime_extern_delete = dll.wasmtime_extern_delete 

2910_wasmtime_extern_delete.restype = None 

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

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

2913 return _wasmtime_extern_delete(val) # type: ignore 

2914 

2915_wasmtime_extern_type = dll.wasmtime_extern_type 

2916_wasmtime_extern_type.restype = ctypes.POINTER(wasm_externtype_t) 

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

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

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

2920 

2921class wasmtime_eqref(ctypes.Structure): 

2922 pass 

2923 

2924 

2925wasmtime_eqref_t = wasmtime_eqref 

2926 

2927class wasmtime_anyref(ctypes.Structure): 

2928 _fields_ = [ 

2929 ("store_id", ctypes.c_uint64), 

2930 ("__private1", ctypes.c_uint32), 

2931 ("__private2", ctypes.c_uint32), 

2932 ("__private3", ctypes.c_void_p), 

2933 ] 

2934 store_id: int 

2935 __private1: int 

2936 __private2: int 

2937 __private3: ctypes._Pointer 

2938 

2939wasmtime_anyref_t = wasmtime_anyref 

2940 

2941_wasmtime_anyref_clone = dll.wasmtime_anyref_clone 

2942_wasmtime_anyref_clone.restype = None 

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

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

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

2946 

2947_wasmtime_anyref_unroot = dll.wasmtime_anyref_unroot 

2948_wasmtime_anyref_unroot.restype = None 

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

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

2951 return _wasmtime_anyref_unroot(ref) # type: ignore 

2952 

2953_wasmtime_anyref_from_raw = dll.wasmtime_anyref_from_raw 

2954_wasmtime_anyref_from_raw.restype = None 

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

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

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

2958 

2959_wasmtime_anyref_to_raw = dll.wasmtime_anyref_to_raw 

2960_wasmtime_anyref_to_raw.restype = ctypes.c_uint32 

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

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

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

2964 

2965_wasmtime_anyref_from_i31 = dll.wasmtime_anyref_from_i31 

2966_wasmtime_anyref_from_i31.restype = None 

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

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

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

2970 

2971_wasmtime_anyref_is_i31 = dll.wasmtime_anyref_is_i31 

2972_wasmtime_anyref_is_i31.restype = ctypes.c_bool 

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

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

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

2976 

2977_wasmtime_anyref_i31_get_u = dll.wasmtime_anyref_i31_get_u 

2978_wasmtime_anyref_i31_get_u.restype = ctypes.c_bool 

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

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

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

2982 

2983_wasmtime_anyref_i31_get_s = dll.wasmtime_anyref_i31_get_s 

2984_wasmtime_anyref_i31_get_s.restype = ctypes.c_bool 

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

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

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

2988 

2989class wasmtime_externref(ctypes.Structure): 

2990 _fields_ = [ 

2991 ("store_id", ctypes.c_uint64), 

2992 ("__private1", ctypes.c_uint32), 

2993 ("__private2", ctypes.c_uint32), 

2994 ("__private3", ctypes.c_void_p), 

2995 ] 

2996 store_id: int 

2997 __private1: int 

2998 __private2: int 

2999 __private3: ctypes._Pointer 

3000 

3001wasmtime_externref_t = wasmtime_externref 

3002 

3003_wasmtime_externref_new = dll.wasmtime_externref_new 

3004_wasmtime_externref_new.restype = ctypes.c_bool 

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

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

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

3008 

3009_wasmtime_externref_data = dll.wasmtime_externref_data 

3010_wasmtime_externref_data.restype = ctypes.c_void_p 

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

3012def wasmtime_externref_data(context: Any, data: Any) -> ctypes._Pointer: 

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

3014 

3015_wasmtime_externref_clone = dll.wasmtime_externref_clone 

3016_wasmtime_externref_clone.restype = None 

3017_wasmtime_externref_clone.argtypes = [ctypes.POINTER(wasmtime_externref_t), ctypes.POINTER(wasmtime_externref_t)] 

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

3019 return _wasmtime_externref_clone(ref, out) # type: ignore 

3020 

3021_wasmtime_externref_unroot = dll.wasmtime_externref_unroot 

3022_wasmtime_externref_unroot.restype = None 

3023_wasmtime_externref_unroot.argtypes = [ctypes.POINTER(wasmtime_externref_t)] 

3024def wasmtime_externref_unroot(ref: Any) -> None: 

3025 return _wasmtime_externref_unroot(ref) # type: ignore 

3026 

3027_wasmtime_externref_from_raw = dll.wasmtime_externref_from_raw 

3028_wasmtime_externref_from_raw.restype = None 

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

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

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

3032 

3033_wasmtime_externref_to_raw = dll.wasmtime_externref_to_raw 

3034_wasmtime_externref_to_raw.restype = ctypes.c_uint32 

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

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

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

3038 

3039class wasmtime_exnref(ctypes.Structure): 

3040 _fields_ = [ 

3041 ("store_id", ctypes.c_uint64), 

3042 ("__private1", ctypes.c_uint32), 

3043 ("__private2", ctypes.c_uint32), 

3044 ("__private3", ctypes.c_void_p), 

3045 ] 

3046 store_id: int 

3047 __private1: int 

3048 __private2: int 

3049 __private3: ctypes._Pointer 

3050 

3051wasmtime_exnref_t = wasmtime_exnref 

3052 

3053_wasmtime_exnref_clone = dll.wasmtime_exnref_clone 

3054_wasmtime_exnref_clone.restype = None 

3055_wasmtime_exnref_clone.argtypes = [ctypes.POINTER(wasmtime_exnref_t), ctypes.POINTER(wasmtime_exnref_t)] 

3056def wasmtime_exnref_clone(ref: Any, out: Any) -> None: 

3057 return _wasmtime_exnref_clone(ref, out) # type: ignore 

3058 

3059_wasmtime_exnref_unroot = dll.wasmtime_exnref_unroot 

3060_wasmtime_exnref_unroot.restype = None 

3061_wasmtime_exnref_unroot.argtypes = [ctypes.POINTER(wasmtime_exnref_t)] 

3062def wasmtime_exnref_unroot(ref: Any) -> None: 

3063 return _wasmtime_exnref_unroot(ref) # type: ignore 

3064 

3065wasmtime_valkind_t = ctypes.c_uint8 

3066 

3067wasmtime_v128 = ctypes.c_uint8 * 16 

3068 

3069class wasmtime_valunion(ctypes.Union): 

3070 _fields_ = [ 

3071 ("i32", ctypes.c_int32), 

3072 ("i64", ctypes.c_int64), 

3073 ("f32", ctypes.c_float), 

3074 ("f64", ctypes.c_double), 

3075 ("anyref", wasmtime_anyref_t), 

3076 ("externref", wasmtime_externref_t), 

3077 ("exnref", wasmtime_exnref_t), 

3078 ("funcref", wasmtime_func_t), 

3079 ("v128", wasmtime_v128), 

3080 ] 

3081 i32: int 

3082 i64: int 

3083 f32: float 

3084 f64: float 

3085 anyref: wasmtime_anyref_t 

3086 externref: wasmtime_externref_t 

3087 exnref: wasmtime_exnref_t 

3088 funcref: wasmtime_func_t 

3089 v128: wasmtime_v128 # type: ignore 

3090 

3091wasmtime_valunion_t = wasmtime_valunion 

3092 

3093class wasmtime_val_raw(ctypes.Union): 

3094 _fields_ = [ 

3095 ("i32", ctypes.c_int32), 

3096 ("i64", ctypes.c_int64), 

3097 ("f32", ctypes.c_float), 

3098 ("f64", ctypes.c_double), 

3099 ("v128", wasmtime_v128), 

3100 ("anyref", ctypes.c_uint32), 

3101 ("externref", ctypes.c_uint32), 

3102 ("funcref", ctypes.c_void_p), 

3103 ] 

3104 i32: int 

3105 i64: int 

3106 f32: float 

3107 f64: float 

3108 v128: wasmtime_v128 # type: ignore 

3109 anyref: int 

3110 externref: int 

3111 funcref: ctypes._Pointer 

3112 

3113wasmtime_val_raw_t = wasmtime_val_raw 

3114 

3115class wasmtime_val(ctypes.Structure): 

3116 _fields_ = [ 

3117 ("kind", wasmtime_valkind_t), 

3118 ("of", wasmtime_valunion_t), 

3119 ] 

3120 kind: wasmtime_valkind_t 

3121 of: wasmtime_valunion_t 

3122 

3123wasmtime_val_t = wasmtime_val 

3124 

3125_wasmtime_val_unroot = dll.wasmtime_val_unroot 

3126_wasmtime_val_unroot.restype = None 

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

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

3129 return _wasmtime_val_unroot(val) # type: ignore 

3130 

3131_wasmtime_val_clone = dll.wasmtime_val_clone 

3132_wasmtime_val_clone.restype = None 

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

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

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

3136 

3137class wasmtime_exn(ctypes.Structure): 

3138 pass 

3139 

3140wasmtime_exn_t = wasmtime_exn 

3141 

3142_wasmtime_exn_delete = dll.wasmtime_exn_delete 

3143_wasmtime_exn_delete.restype = None 

3144_wasmtime_exn_delete.argtypes = [ctypes.POINTER(wasmtime_exn_t)] 

3145def wasmtime_exn_delete(exn: Any) -> None: 

3146 return _wasmtime_exn_delete(exn) # type: ignore 

3147 

3148_wasmtime_exn_new = dll.wasmtime_exn_new 

3149_wasmtime_exn_new.restype = ctypes.POINTER(wasmtime_error_t) 

3150_wasmtime_exn_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_tag_t), ctypes.POINTER(wasmtime_val_t), ctypes.c_size_t, ctypes.POINTER(ctypes.POINTER(wasmtime_exn_t))] 

3151def wasmtime_exn_new(store: Any, tag: Any, fields: Any, nfields: Any, exn_ret: Any) -> ctypes._Pointer: 

3152 return _wasmtime_exn_new(store, tag, fields, nfields, exn_ret) # type: ignore 

3153 

3154_wasmtime_exn_tag = dll.wasmtime_exn_tag 

3155_wasmtime_exn_tag.restype = ctypes.POINTER(wasmtime_error_t) 

3156_wasmtime_exn_tag.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exn_t), ctypes.POINTER(wasmtime_tag_t)] 

3157def wasmtime_exn_tag(store: Any, exn: Any, tag_ret: Any) -> ctypes._Pointer: 

3158 return _wasmtime_exn_tag(store, exn, tag_ret) # type: ignore 

3159 

3160_wasmtime_exn_field_count = dll.wasmtime_exn_field_count 

3161_wasmtime_exn_field_count.restype = ctypes.c_size_t 

3162_wasmtime_exn_field_count.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exn_t)] 

3163def wasmtime_exn_field_count(store: Any, exn: Any) -> int: 

3164 return _wasmtime_exn_field_count(store, exn) # type: ignore 

3165 

3166_wasmtime_exn_field = dll.wasmtime_exn_field 

3167_wasmtime_exn_field.restype = ctypes.POINTER(wasmtime_error_t) 

3168_wasmtime_exn_field.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exn_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_val_t)] 

3169def wasmtime_exn_field(store: Any, exn: Any, index: Any, val_ret: Any) -> ctypes._Pointer: 

3170 return _wasmtime_exn_field(store, exn, index, val_ret) # type: ignore 

3171 

3172_wasmtime_context_set_exception = dll.wasmtime_context_set_exception 

3173_wasmtime_context_set_exception.restype = ctypes.POINTER(wasm_trap_t) 

3174_wasmtime_context_set_exception.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_exn_t)] 

3175def wasmtime_context_set_exception(store: Any, exn: Any) -> ctypes._Pointer: 

3176 return _wasmtime_context_set_exception(store, exn) # type: ignore 

3177 

3178_wasmtime_context_take_exception = dll.wasmtime_context_take_exception 

3179_wasmtime_context_take_exception.restype = ctypes.c_bool 

3180_wasmtime_context_take_exception.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(ctypes.POINTER(wasmtime_exn_t))] 

3181def wasmtime_context_take_exception(store: Any, exn_ret: Any) -> bool: 

3182 return _wasmtime_context_take_exception(store, exn_ret) # type: ignore 

3183 

3184_wasmtime_context_has_exception = dll.wasmtime_context_has_exception 

3185_wasmtime_context_has_exception.restype = ctypes.c_bool 

3186_wasmtime_context_has_exception.argtypes = [ctypes.POINTER(wasmtime_context_t)] 

3187def wasmtime_context_has_exception(store: Any) -> bool: 

3188 return _wasmtime_context_has_exception(store) # type: ignore 

3189 

3190class wasmtime_caller(ctypes.Structure): 

3191 pass 

3192 

3193wasmtime_caller_t = wasmtime_caller 

3194 

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

3196 

3197_wasmtime_func_new = dll.wasmtime_func_new 

3198_wasmtime_func_new.restype = None 

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

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

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

3202 

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

3204 

3205_wasmtime_func_new_unchecked = dll.wasmtime_func_new_unchecked 

3206_wasmtime_func_new_unchecked.restype = None 

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

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

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

3210 

3211_wasmtime_func_type = dll.wasmtime_func_type 

3212_wasmtime_func_type.restype = ctypes.POINTER(wasm_functype_t) 

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

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

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

3216 

3217_wasmtime_func_call = dll.wasmtime_func_call 

3218_wasmtime_func_call.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3222 

3223_wasmtime_func_call_unchecked = dll.wasmtime_func_call_unchecked 

3224_wasmtime_func_call_unchecked.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3228 

3229_wasmtime_caller_export_get = dll.wasmtime_caller_export_get 

3230_wasmtime_caller_export_get.restype = ctypes.c_bool 

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

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

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

3234 

3235_wasmtime_caller_context = dll.wasmtime_caller_context 

3236_wasmtime_caller_context.restype = ctypes.POINTER(wasmtime_context_t) 

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

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

3239 return _wasmtime_caller_context(caller) # type: ignore 

3240 

3241_wasmtime_func_from_raw = dll.wasmtime_func_from_raw 

3242_wasmtime_func_from_raw.restype = None 

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

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

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

3246 

3247_wasmtime_func_to_raw = dll.wasmtime_func_to_raw 

3248_wasmtime_func_to_raw.restype = ctypes.c_void_p 

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

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

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

3252 

3253_wasmtime_global_new = dll.wasmtime_global_new 

3254_wasmtime_global_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3258 

3259_wasmtime_global_type = dll.wasmtime_global_type 

3260_wasmtime_global_type.restype = ctypes.POINTER(wasm_globaltype_t) 

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

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

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

3264 

3265_wasmtime_global_get = dll.wasmtime_global_get 

3266_wasmtime_global_get.restype = None 

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

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

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

3270 

3271_wasmtime_global_set = dll.wasmtime_global_set 

3272_wasmtime_global_set.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3276 

3277class wasmtime_instance(ctypes.Structure): 

3278 _fields_ = [ 

3279 ("store_id", ctypes.c_uint64), 

3280 ("__private", ctypes.c_size_t), 

3281 ] 

3282 store_id: int 

3283 __private: int 

3284 

3285wasmtime_instance_t = wasmtime_instance 

3286 

3287_wasmtime_instance_new = dll.wasmtime_instance_new 

3288_wasmtime_instance_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3292 

3293_wasmtime_instance_export_get = dll.wasmtime_instance_export_get 

3294_wasmtime_instance_export_get.restype = ctypes.c_bool 

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

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

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

3298 

3299_wasmtime_instance_export_nth = dll.wasmtime_instance_export_nth 

3300_wasmtime_instance_export_nth.restype = ctypes.c_bool 

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

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

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

3304 

3305class wasmtime_instance_pre(ctypes.Structure): 

3306 pass 

3307 

3308wasmtime_instance_pre_t = wasmtime_instance_pre 

3309 

3310_wasmtime_instance_pre_delete = dll.wasmtime_instance_pre_delete 

3311_wasmtime_instance_pre_delete.restype = None 

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

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

3314 return _wasmtime_instance_pre_delete(instance_pre) # type: ignore 

3315 

3316_wasmtime_instance_pre_instantiate = dll.wasmtime_instance_pre_instantiate 

3317_wasmtime_instance_pre_instantiate.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3321 

3322_wasmtime_instance_pre_module = dll.wasmtime_instance_pre_module 

3323_wasmtime_instance_pre_module.restype = ctypes.POINTER(wasmtime_module_t) 

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

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

3326 return _wasmtime_instance_pre_module(instance_pre) # type: ignore 

3327 

3328class wasmtime_linker(ctypes.Structure): 

3329 pass 

3330 

3331wasmtime_linker_t = wasmtime_linker 

3332 

3333_wasmtime_linker_new = dll.wasmtime_linker_new 

3334_wasmtime_linker_new.restype = ctypes.POINTER(wasmtime_linker_t) 

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

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

3337 return _wasmtime_linker_new(engine) # type: ignore 

3338 

3339_wasmtime_linker_clone = dll.wasmtime_linker_clone 

3340_wasmtime_linker_clone.restype = ctypes.POINTER(wasmtime_linker_t) 

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

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

3343 return _wasmtime_linker_clone(linker) # type: ignore 

3344 

3345_wasmtime_linker_delete = dll.wasmtime_linker_delete 

3346_wasmtime_linker_delete.restype = None 

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

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

3349 return _wasmtime_linker_delete(linker) # type: ignore 

3350 

3351_wasmtime_linker_allow_shadowing = dll.wasmtime_linker_allow_shadowing 

3352_wasmtime_linker_allow_shadowing.restype = None 

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

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

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

3356 

3357_wasmtime_linker_define_unknown_imports_as_traps = dll.wasmtime_linker_define_unknown_imports_as_traps 

3358_wasmtime_linker_define_unknown_imports_as_traps.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3362 

3363_wasmtime_linker_define_unknown_imports_as_default_values = dll.wasmtime_linker_define_unknown_imports_as_default_values 

3364_wasmtime_linker_define_unknown_imports_as_default_values.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3368 

3369_wasmtime_linker_define = dll.wasmtime_linker_define 

3370_wasmtime_linker_define.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3374 

3375_wasmtime_linker_define_func = dll.wasmtime_linker_define_func 

3376_wasmtime_linker_define_func.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3380 

3381_wasmtime_linker_define_func_unchecked = dll.wasmtime_linker_define_func_unchecked 

3382_wasmtime_linker_define_func_unchecked.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3386 

3387_wasmtime_linker_define_wasi = dll.wasmtime_linker_define_wasi 

3388_wasmtime_linker_define_wasi.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

3391 return _wasmtime_linker_define_wasi(linker) # type: ignore 

3392 

3393_wasmtime_linker_define_instance = dll.wasmtime_linker_define_instance 

3394_wasmtime_linker_define_instance.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3398 

3399_wasmtime_linker_instantiate = dll.wasmtime_linker_instantiate 

3400_wasmtime_linker_instantiate.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3404 

3405_wasmtime_linker_module = dll.wasmtime_linker_module 

3406_wasmtime_linker_module.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3410 

3411_wasmtime_linker_get_default = dll.wasmtime_linker_get_default 

3412_wasmtime_linker_get_default.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3416 

3417_wasmtime_linker_get = dll.wasmtime_linker_get 

3418_wasmtime_linker_get.restype = ctypes.c_bool 

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

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

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

3422 

3423_wasmtime_linker_instantiate_pre = dll.wasmtime_linker_instantiate_pre 

3424_wasmtime_linker_instantiate_pre.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3428 

3429_wasmtime_memorytype_new = dll.wasmtime_memorytype_new 

3430_wasmtime_memorytype_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

3432def wasmtime_memorytype_new(min: Any, max_present: Any, max: Any, is_64: Any, shared: Any, page_size_log2: Any, ret: Any) -> ctypes._Pointer: 

3433 return _wasmtime_memorytype_new(min, max_present, max, is_64, shared, page_size_log2, ret) # type: ignore 

3434 

3435_wasmtime_memorytype_minimum = dll.wasmtime_memorytype_minimum 

3436_wasmtime_memorytype_minimum.restype = ctypes.c_uint64 

3437_wasmtime_memorytype_minimum.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

3438def wasmtime_memorytype_minimum(ty: Any) -> int: 

3439 return _wasmtime_memorytype_minimum(ty) # type: ignore 

3440 

3441_wasmtime_memorytype_maximum = dll.wasmtime_memorytype_maximum 

3442_wasmtime_memorytype_maximum.restype = ctypes.c_bool 

3443_wasmtime_memorytype_maximum.argtypes = [ctypes.POINTER(wasm_memorytype_t), ctypes.POINTER(ctypes.c_uint64)] 

3444def wasmtime_memorytype_maximum(ty: Any, max: Any) -> bool: 

3445 return _wasmtime_memorytype_maximum(ty, max) # type: ignore 

3446 

3447_wasmtime_memorytype_is64 = dll.wasmtime_memorytype_is64 

3448_wasmtime_memorytype_is64.restype = ctypes.c_bool 

3449_wasmtime_memorytype_is64.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

3450def wasmtime_memorytype_is64(ty: Any) -> bool: 

3451 return _wasmtime_memorytype_is64(ty) # type: ignore 

3452 

3453_wasmtime_memorytype_isshared = dll.wasmtime_memorytype_isshared 

3454_wasmtime_memorytype_isshared.restype = ctypes.c_bool 

3455_wasmtime_memorytype_isshared.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

3456def wasmtime_memorytype_isshared(ty: Any) -> bool: 

3457 return _wasmtime_memorytype_isshared(ty) # type: ignore 

3458 

3459_wasmtime_memorytype_page_size = dll.wasmtime_memorytype_page_size 

3460_wasmtime_memorytype_page_size.restype = ctypes.c_uint64 

3461_wasmtime_memorytype_page_size.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

3462def wasmtime_memorytype_page_size(ty: Any) -> int: 

3463 return _wasmtime_memorytype_page_size(ty) # type: ignore 

3464 

3465_wasmtime_memorytype_page_size_log2 = dll.wasmtime_memorytype_page_size_log2 

3466_wasmtime_memorytype_page_size_log2.restype = ctypes.c_uint8 

3467_wasmtime_memorytype_page_size_log2.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

3468def wasmtime_memorytype_page_size_log2(ty: Any) -> ctypes.c_uint8: 

3469 return _wasmtime_memorytype_page_size_log2(ty) # type: ignore 

3470 

3471_wasmtime_memory_new = dll.wasmtime_memory_new 

3472_wasmtime_memory_new.restype = ctypes.POINTER(wasmtime_error_t) 

3473_wasmtime_memory_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasm_memorytype_t), ctypes.POINTER(wasmtime_memory_t)] 

3474def wasmtime_memory_new(store: Any, ty: Any, ret: Any) -> ctypes._Pointer: 

3475 return _wasmtime_memory_new(store, ty, ret) # type: ignore 

3476 

3477_wasmtime_memory_type = dll.wasmtime_memory_type 

3478_wasmtime_memory_type.restype = ctypes.POINTER(wasm_memorytype_t) 

3479_wasmtime_memory_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

3480def wasmtime_memory_type(store: Any, memory: Any) -> ctypes._Pointer: 

3481 return _wasmtime_memory_type(store, memory) # type: ignore 

3482 

3483_wasmtime_memory_data = dll.wasmtime_memory_data 

3484_wasmtime_memory_data.restype = ctypes.POINTER(ctypes.c_uint8) 

3485_wasmtime_memory_data.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

3486def wasmtime_memory_data(store: Any, memory: Any) -> ctypes._Pointer: 

3487 return _wasmtime_memory_data(store, memory) # type: ignore 

3488 

3489_wasmtime_memory_data_size = dll.wasmtime_memory_data_size 

3490_wasmtime_memory_data_size.restype = ctypes.c_size_t 

3491_wasmtime_memory_data_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

3492def wasmtime_memory_data_size(store: Any, memory: Any) -> int: 

3493 return _wasmtime_memory_data_size(store, memory) # type: ignore 

3494 

3495_wasmtime_memory_size = dll.wasmtime_memory_size 

3496_wasmtime_memory_size.restype = ctypes.c_uint64 

3497_wasmtime_memory_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

3498def wasmtime_memory_size(store: Any, memory: Any) -> int: 

3499 return _wasmtime_memory_size(store, memory) # type: ignore 

3500 

3501_wasmtime_memory_grow = dll.wasmtime_memory_grow 

3502_wasmtime_memory_grow.restype = ctypes.POINTER(wasmtime_error_t) 

3503_wasmtime_memory_grow.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64)] 

3504def wasmtime_memory_grow(store: Any, memory: Any, delta: Any, prev_size: Any) -> ctypes._Pointer: 

3505 return _wasmtime_memory_grow(store, memory, delta, prev_size) # type: ignore 

3506 

3507_wasmtime_memory_page_size = dll.wasmtime_memory_page_size 

3508_wasmtime_memory_page_size.restype = ctypes.c_uint64 

3509_wasmtime_memory_page_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

3510def wasmtime_memory_page_size(store: Any, memory: Any) -> int: 

3511 return _wasmtime_memory_page_size(store, memory) # type: ignore 

3512 

3513_wasmtime_memory_page_size_log2 = dll.wasmtime_memory_page_size_log2 

3514_wasmtime_memory_page_size_log2.restype = ctypes.c_uint8 

3515_wasmtime_memory_page_size_log2.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

3516def wasmtime_memory_page_size_log2(store: Any, memory: Any) -> ctypes.c_uint8: 

3517 return _wasmtime_memory_page_size_log2(store, memory) # type: ignore 

3518 

3519class wasmtime_guestprofiler(ctypes.Structure): 

3520 pass 

3521 

3522wasmtime_guestprofiler_t = wasmtime_guestprofiler 

3523 

3524_wasmtime_guestprofiler_delete = dll.wasmtime_guestprofiler_delete 

3525_wasmtime_guestprofiler_delete.restype = None 

3526_wasmtime_guestprofiler_delete.argtypes = [ctypes.POINTER(wasmtime_guestprofiler_t)] 

3527def wasmtime_guestprofiler_delete(guestprofiler: Any) -> None: 

3528 return _wasmtime_guestprofiler_delete(guestprofiler) # type: ignore 

3529 

3530class wasmtime_guestprofiler_modules(ctypes.Structure): 

3531 _fields_ = [ 

3532 ("name", ctypes.POINTER(wasm_name_t)), 

3533 ("mod", ctypes.POINTER(wasmtime_module_t)), 

3534 ] 

3535 name: ctypes._Pointer 

3536 mod: ctypes._Pointer 

3537 

3538wasmtime_guestprofiler_modules_t = wasmtime_guestprofiler_modules 

3539 

3540_wasmtime_guestprofiler_new = dll.wasmtime_guestprofiler_new 

3541_wasmtime_guestprofiler_new.restype = ctypes.POINTER(wasmtime_guestprofiler_t) 

3542_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] 

3543def wasmtime_guestprofiler_new(engine: Any, module_name: Any, interval_nanos: Any, modules: Any, modules_len: Any) -> ctypes._Pointer: 

3544 return _wasmtime_guestprofiler_new(engine, module_name, interval_nanos, modules, modules_len) # type: ignore 

3545 

3546_wasmtime_guestprofiler_sample = dll.wasmtime_guestprofiler_sample 

3547_wasmtime_guestprofiler_sample.restype = None 

3548_wasmtime_guestprofiler_sample.argtypes = [ctypes.POINTER(wasmtime_guestprofiler_t), ctypes.POINTER(wasmtime_store_t), ctypes.c_uint64] 

3549def wasmtime_guestprofiler_sample(guestprofiler: Any, store: Any, delta_nanos: Any) -> None: 

3550 return _wasmtime_guestprofiler_sample(guestprofiler, store, delta_nanos) # type: ignore 

3551 

3552_wasmtime_guestprofiler_finish = dll.wasmtime_guestprofiler_finish 

3553_wasmtime_guestprofiler_finish.restype = ctypes.POINTER(wasmtime_error_t) 

3554_wasmtime_guestprofiler_finish.argtypes = [ctypes.POINTER(wasmtime_guestprofiler_t), ctypes.POINTER(wasm_byte_vec_t)] 

3555def wasmtime_guestprofiler_finish(guestprofiler: Any, out: Any) -> ctypes._Pointer: 

3556 return _wasmtime_guestprofiler_finish(guestprofiler, out) # type: ignore 

3557 

3558_wasmtime_table_new = dll.wasmtime_table_new 

3559_wasmtime_table_new.restype = ctypes.POINTER(wasmtime_error_t) 

3560_wasmtime_table_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasm_tabletype_t), ctypes.POINTER(wasmtime_val_t), ctypes.POINTER(wasmtime_table_t)] 

3561def wasmtime_table_new(store: Any, ty: Any, init: Any, table: Any) -> ctypes._Pointer: 

3562 return _wasmtime_table_new(store, ty, init, table) # type: ignore 

3563 

3564_wasmtime_table_type = dll.wasmtime_table_type 

3565_wasmtime_table_type.restype = ctypes.POINTER(wasm_tabletype_t) 

3566_wasmtime_table_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t)] 

3567def wasmtime_table_type(store: Any, table: Any) -> ctypes._Pointer: 

3568 return _wasmtime_table_type(store, table) # type: ignore 

3569 

3570_wasmtime_table_get = dll.wasmtime_table_get 

3571_wasmtime_table_get.restype = ctypes.c_bool 

3572_wasmtime_table_get.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t), ctypes.c_uint64, ctypes.POINTER(wasmtime_val_t)] 

3573def wasmtime_table_get(store: Any, table: Any, index: Any, val: Any) -> bool: 

3574 return _wasmtime_table_get(store, table, index, val) # type: ignore 

3575 

3576_wasmtime_table_set = dll.wasmtime_table_set 

3577_wasmtime_table_set.restype = ctypes.POINTER(wasmtime_error_t) 

3578_wasmtime_table_set.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t), ctypes.c_uint64, ctypes.POINTER(wasmtime_val_t)] 

3579def wasmtime_table_set(store: Any, table: Any, index: Any, value: Any) -> ctypes._Pointer: 

3580 return _wasmtime_table_set(store, table, index, value) # type: ignore 

3581 

3582_wasmtime_table_size = dll.wasmtime_table_size 

3583_wasmtime_table_size.restype = ctypes.c_uint64 

3584_wasmtime_table_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t)] 

3585def wasmtime_table_size(store: Any, table: Any) -> int: 

3586 return _wasmtime_table_size(store, table) # type: ignore 

3587 

3588_wasmtime_table_grow = dll.wasmtime_table_grow 

3589_wasmtime_table_grow.restype = ctypes.POINTER(wasmtime_error_t) 

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

3591def wasmtime_table_grow(store: Any, table: Any, delta: Any, init: Any, prev_size: Any) -> ctypes._Pointer: 

3592 return _wasmtime_table_grow(store, table, delta, init, prev_size) # type: ignore 

3593 

3594wasmtime_trap_code_t = ctypes.c_uint8 

3595 

3596class wasmtime_trap_code_enum(Enum): 

3597 WASMTIME_TRAP_CODE_STACK_OVERFLOW = 0 

3598 WASMTIME_TRAP_CODE_MEMORY_OUT_OF_BOUNDS = 1 

3599 WASMTIME_TRAP_CODE_HEAP_MISALIGNED = 2 

3600 WASMTIME_TRAP_CODE_TABLE_OUT_OF_BOUNDS = 3 

3601 WASMTIME_TRAP_CODE_INDIRECT_CALL_TO_NULL = 4 

3602 WASMTIME_TRAP_CODE_BAD_SIGNATURE = 5 

3603 WASMTIME_TRAP_CODE_INTEGER_OVERFLOW = 6 

3604 WASMTIME_TRAP_CODE_INTEGER_DIVISION_BY_ZERO = 7 

3605 WASMTIME_TRAP_CODE_BAD_CONVERSION_TO_INTEGER = 8 

3606 WASMTIME_TRAP_CODE_UNREACHABLE_CODE_REACHED = 9 

3607 WASMTIME_TRAP_CODE_INTERRUPT = 10 

3608 WASMTIME_TRAP_CODE_OUT_OF_FUEL = 11 

3609 WASMTIME_TRAP_CODE_ATOMIC_WAIT_NON_SHARED_MEMORY = 12 

3610 WASMTIME_TRAP_CODE_NULL_REFERENCE = 13 

3611 WASMTIME_TRAP_CODE_ARRAY_OUT_OF_BOUNDS = 14 

3612 WASMTIME_TRAP_CODE_ALLOCATION_TOO_LARGE = 15 

3613 WASMTIME_TRAP_CODE_CAST_FAILURE = 16 

3614 WASMTIME_TRAP_CODE_CANNOT_ENTER_COMPONENT = 17 

3615 WASMTIME_TRAP_CODE_NO_ASYNC_RESULT = 18 

3616 WASMTIME_TRAP_CODE_UNHANDLED_TAG = 19 

3617 WASMTIME_TRAP_CODE_CONTINUATION_ALREADY_CONSUMED = 20 

3618 WASMTIME_TRAP_CODE_DISABLED_OPCODE = 21 

3619 WASMTIME_TRAP_CODE_ASYNC_DEADLOCK = 22 

3620 WASMTIME_TRAP_CODE_CANNOT_LEAVE_COMPONENT = 23 

3621 WASMTIME_TRAP_CODE_CANNOT_BLOCK_SYNC_TASK = 24 

3622 WASMTIME_TRAP_CODE_INVALID_CHAR = 25 

3623 WASMTIME_TRAP_CODE_DEBUG_ASSERT_STRING_ENCODING_FINISHED = 26 

3624 WASMTIME_TRAP_CODE_DEBUG_ASSERT_EQUAL_CODE_UNITS = 27 

3625 WASMTIME_TRAP_CODE_DEBUG_ASSERT_POINTER_ALIGNED = 28 

3626 WASMTIME_TRAP_CODE_DEBUG_ASSERT_UPPER_BITS_UNSET = 29 

3627 WASMTIME_TRAP_CODE_STRING_OUT_OF_BOUNDS = 30 

3628 WASMTIME_TRAP_CODE_LIST_OUT_OF_BOUNDS = 31 

3629 WASMTIME_TRAP_CODE_INVALID_DISCRIMINANT = 32 

3630 WASMTIME_TRAP_CODE_UNALIGNED_POINTER = 33 

3631 WASMTIME_TRAP_CODE_TASK_CANCEL_NOT_CANCELLED = 34 

3632 WASMTIME_TRAP_CODE_TASK_CANCEL_OR_RETURN_TWICE = 35 

3633 WASMTIME_TRAP_CODE_SUBTASK_CANCEL_AFTER_TERMINAL = 36 

3634 WASMTIME_TRAP_CODE_TASK_RETURN_INVALID = 37 

3635 WASMTIME_TRAP_CODE_WAITABLE_SET_DROP_HAS_WAITERS = 38 

3636 WASMTIME_TRAP_CODE_SUBTASK_DROP_NOT_RESOLVED = 39 

3637 WASMTIME_TRAP_CODE_THREAD_NEW_INDIRECT_INVALID_TYPE = 40 

3638 WASMTIME_TRAP_CODE_THREAD_NEW_INDIRECT_UNINITIALIZED = 41 

3639 WASMTIME_TRAP_CODE_BACKPRESSURE_OVERFLOW = 42 

3640 WASMTIME_TRAP_CODE_UNSUPPORTED_CALLBACK_CODE = 43 

3641 WASMTIME_TRAP_CODE_CANNOT_RESUME_THREAD = 44 

3642 WASMTIME_TRAP_CODE_CONCURRENT_FUTURE_STREAM_OP = 45 

3643 

3644_wasmtime_trap_new = dll.wasmtime_trap_new 

3645_wasmtime_trap_new.restype = ctypes.POINTER(wasm_trap_t) 

3646_wasmtime_trap_new.argtypes = [ctypes.POINTER(ctypes.c_char), ctypes.c_size_t] 

3647def wasmtime_trap_new(msg: Any, msg_len: Any) -> ctypes._Pointer: 

3648 return _wasmtime_trap_new(msg, msg_len) # type: ignore 

3649 

3650_wasmtime_trap_new_code = dll.wasmtime_trap_new_code 

3651_wasmtime_trap_new_code.restype = ctypes.POINTER(wasm_trap_t) 

3652_wasmtime_trap_new_code.argtypes = [wasmtime_trap_code_t] 

3653def wasmtime_trap_new_code(code: Any) -> ctypes._Pointer: 

3654 return _wasmtime_trap_new_code(code) # type: ignore 

3655 

3656_wasmtime_trap_code = dll.wasmtime_trap_code 

3657_wasmtime_trap_code.restype = ctypes.c_bool 

3658_wasmtime_trap_code.argtypes = [ctypes.POINTER(wasm_trap_t), ctypes.POINTER(wasmtime_trap_code_t)] 

3659def wasmtime_trap_code(arg0: Any, code: Any) -> bool: 

3660 return _wasmtime_trap_code(arg0, code) # type: ignore 

3661 

3662_wasmtime_frame_func_name = dll.wasmtime_frame_func_name 

3663_wasmtime_frame_func_name.restype = ctypes.POINTER(wasm_name_t) 

3664_wasmtime_frame_func_name.argtypes = [ctypes.POINTER(wasm_frame_t)] 

3665def wasmtime_frame_func_name(arg0: Any) -> ctypes._Pointer: 

3666 return _wasmtime_frame_func_name(arg0) # type: ignore 

3667 

3668_wasmtime_frame_module_name = dll.wasmtime_frame_module_name 

3669_wasmtime_frame_module_name.restype = ctypes.POINTER(wasm_name_t) 

3670_wasmtime_frame_module_name.argtypes = [ctypes.POINTER(wasm_frame_t)] 

3671def wasmtime_frame_module_name(arg0: Any) -> ctypes._Pointer: 

3672 return _wasmtime_frame_module_name(arg0) # type: ignore 

3673 

3674wasmtime_eqref._fields_ = [ 

3675 ("store_id", ctypes.c_uint64), 

3676 ("__private1", ctypes.c_uint32), 

3677 ("__private2", ctypes.c_uint32), 

3678 ("__private3", ctypes.c_void_p), 

3679 ] 

3680 

3681 

3682_wasmtime_eqref_clone = dll.wasmtime_eqref_clone 

3683_wasmtime_eqref_clone.restype = None 

3684_wasmtime_eqref_clone.argtypes = [ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(wasmtime_eqref_t)] 

3685def wasmtime_eqref_clone(eqref: Any, out: Any) -> None: 

3686 return _wasmtime_eqref_clone(eqref, out) # type: ignore 

3687 

3688_wasmtime_eqref_unroot = dll.wasmtime_eqref_unroot 

3689_wasmtime_eqref_unroot.restype = None 

3690_wasmtime_eqref_unroot.argtypes = [ctypes.POINTER(wasmtime_eqref_t)] 

3691def wasmtime_eqref_unroot(ref: Any) -> None: 

3692 return _wasmtime_eqref_unroot(ref) # type: ignore 

3693 

3694_wasmtime_eqref_to_anyref = dll.wasmtime_eqref_to_anyref 

3695_wasmtime_eqref_to_anyref.restype = None 

3696_wasmtime_eqref_to_anyref.argtypes = [ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(wasmtime_anyref_t)] 

3697def wasmtime_eqref_to_anyref(eqref: Any, out: Any) -> None: 

3698 return _wasmtime_eqref_to_anyref(eqref, out) # type: ignore 

3699 

3700_wasmtime_eqref_from_i31 = dll.wasmtime_eqref_from_i31 

3701_wasmtime_eqref_from_i31.restype = None 

3702_wasmtime_eqref_from_i31.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint32, ctypes.POINTER(wasmtime_eqref_t)] 

3703def wasmtime_eqref_from_i31(context: Any, i31val: Any, out: Any) -> None: 

3704 return _wasmtime_eqref_from_i31(context, i31val, out) # type: ignore 

3705 

3706_wasmtime_eqref_is_i31 = dll.wasmtime_eqref_is_i31 

3707_wasmtime_eqref_is_i31.restype = ctypes.c_bool 

3708_wasmtime_eqref_is_i31.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t)] 

3709def wasmtime_eqref_is_i31(context: Any, eqref: Any) -> bool: 

3710 return _wasmtime_eqref_is_i31(context, eqref) # type: ignore 

3711 

3712_wasmtime_eqref_i31_get_u = dll.wasmtime_eqref_i31_get_u 

3713_wasmtime_eqref_i31_get_u.restype = ctypes.c_bool 

3714_wasmtime_eqref_i31_get_u.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(ctypes.c_uint32)] 

3715def wasmtime_eqref_i31_get_u(context: Any, eqref: Any, dst: Any) -> bool: 

3716 return _wasmtime_eqref_i31_get_u(context, eqref, dst) # type: ignore 

3717 

3718_wasmtime_eqref_i31_get_s = dll.wasmtime_eqref_i31_get_s 

3719_wasmtime_eqref_i31_get_s.restype = ctypes.c_bool 

3720_wasmtime_eqref_i31_get_s.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(ctypes.c_int32)] 

3721def wasmtime_eqref_i31_get_s(context: Any, eqref: Any, dst: Any) -> bool: 

3722 return _wasmtime_eqref_i31_get_s(context, eqref, dst) # type: ignore 

3723 

3724wasmtime_storage_kind_t = ctypes.c_uint8 

3725 

3726class wasmtime_field_type(ctypes.Structure): 

3727 _fields_ = [ 

3728 ("kind", wasmtime_storage_kind_t), 

3729 ("mutable_", ctypes.c_bool), 

3730 ] 

3731 kind: wasmtime_storage_kind_t 

3732 mutable_: bool 

3733 

3734wasmtime_field_type_t = wasmtime_field_type 

3735 

3736class wasmtime_struct_type(ctypes.Structure): 

3737 pass 

3738 

3739wasmtime_struct_type_t = wasmtime_struct_type 

3740 

3741_wasmtime_struct_type_new = dll.wasmtime_struct_type_new 

3742_wasmtime_struct_type_new.restype = ctypes.POINTER(wasmtime_struct_type_t) 

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

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

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

3746 

3747_wasmtime_struct_type_delete = dll.wasmtime_struct_type_delete 

3748_wasmtime_struct_type_delete.restype = None 

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

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

3751 return _wasmtime_struct_type_delete(ty) # type: ignore 

3752 

3753class wasmtime_struct_ref_pre(ctypes.Structure): 

3754 pass 

3755 

3756wasmtime_struct_ref_pre_t = wasmtime_struct_ref_pre 

3757 

3758_wasmtime_struct_ref_pre_new = dll.wasmtime_struct_ref_pre_new 

3759_wasmtime_struct_ref_pre_new.restype = ctypes.POINTER(wasmtime_struct_ref_pre_t) 

3760_wasmtime_struct_ref_pre_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_struct_type_t)] 

3761def wasmtime_struct_ref_pre_new(context: Any, ty: Any) -> ctypes._Pointer: 

3762 return _wasmtime_struct_ref_pre_new(context, ty) # type: ignore 

3763 

3764_wasmtime_struct_ref_pre_delete = dll.wasmtime_struct_ref_pre_delete 

3765_wasmtime_struct_ref_pre_delete.restype = None 

3766_wasmtime_struct_ref_pre_delete.argtypes = [ctypes.POINTER(wasmtime_struct_ref_pre_t)] 

3767def wasmtime_struct_ref_pre_delete(pre: Any) -> None: 

3768 return _wasmtime_struct_ref_pre_delete(pre) # type: ignore 

3769 

3770class wasmtime_structref(ctypes.Structure): 

3771 _fields_ = [ 

3772 ("store_id", ctypes.c_uint64), 

3773 ("__private1", ctypes.c_uint32), 

3774 ("__private2", ctypes.c_uint32), 

3775 ("__private3", ctypes.c_void_p), 

3776 ] 

3777 store_id: int 

3778 __private1: int 

3779 __private2: int 

3780 __private3: ctypes._Pointer 

3781 

3782wasmtime_structref_t = wasmtime_structref 

3783 

3784_wasmtime_structref_new = dll.wasmtime_structref_new 

3785_wasmtime_structref_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

3787def wasmtime_structref_new(context: Any, pre: Any, fields: Any, nfields: Any, out: Any) -> ctypes._Pointer: 

3788 return _wasmtime_structref_new(context, pre, fields, nfields, out) # type: ignore 

3789 

3790_wasmtime_structref_clone = dll.wasmtime_structref_clone 

3791_wasmtime_structref_clone.restype = None 

3792_wasmtime_structref_clone.argtypes = [ctypes.POINTER(wasmtime_structref_t), ctypes.POINTER(wasmtime_structref_t)] 

3793def wasmtime_structref_clone(structref: Any, out: Any) -> None: 

3794 return _wasmtime_structref_clone(structref, out) # type: ignore 

3795 

3796_wasmtime_structref_unroot = dll.wasmtime_structref_unroot 

3797_wasmtime_structref_unroot.restype = None 

3798_wasmtime_structref_unroot.argtypes = [ctypes.POINTER(wasmtime_structref_t)] 

3799def wasmtime_structref_unroot(ref: Any) -> None: 

3800 return _wasmtime_structref_unroot(ref) # type: ignore 

3801 

3802_wasmtime_structref_to_anyref = dll.wasmtime_structref_to_anyref 

3803_wasmtime_structref_to_anyref.restype = None 

3804_wasmtime_structref_to_anyref.argtypes = [ctypes.POINTER(wasmtime_structref_t), ctypes.POINTER(wasmtime_anyref_t)] 

3805def wasmtime_structref_to_anyref(structref: Any, out: Any) -> None: 

3806 return _wasmtime_structref_to_anyref(structref, out) # type: ignore 

3807 

3808_wasmtime_structref_to_eqref = dll.wasmtime_structref_to_eqref 

3809_wasmtime_structref_to_eqref.restype = None 

3810_wasmtime_structref_to_eqref.argtypes = [ctypes.POINTER(wasmtime_structref_t), ctypes.POINTER(wasmtime_eqref_t)] 

3811def wasmtime_structref_to_eqref(structref: Any, out: Any) -> None: 

3812 return _wasmtime_structref_to_eqref(structref, out) # type: ignore 

3813 

3814_wasmtime_structref_field = dll.wasmtime_structref_field 

3815_wasmtime_structref_field.restype = ctypes.POINTER(wasmtime_error_t) 

3816_wasmtime_structref_field.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_structref_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_val_t)] 

3817def wasmtime_structref_field(context: Any, structref: Any, index: Any, out: Any) -> ctypes._Pointer: 

3818 return _wasmtime_structref_field(context, structref, index, out) # type: ignore 

3819 

3820_wasmtime_structref_set_field = dll.wasmtime_structref_set_field 

3821_wasmtime_structref_set_field.restype = ctypes.POINTER(wasmtime_error_t) 

3822_wasmtime_structref_set_field.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_structref_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_val_t)] 

3823def wasmtime_structref_set_field(context: Any, structref: Any, index: Any, val: Any) -> ctypes._Pointer: 

3824 return _wasmtime_structref_set_field(context, structref, index, val) # type: ignore 

3825 

3826_wasmtime_eqref_is_struct = dll.wasmtime_eqref_is_struct 

3827_wasmtime_eqref_is_struct.restype = ctypes.c_bool 

3828_wasmtime_eqref_is_struct.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t)] 

3829def wasmtime_eqref_is_struct(context: Any, eqref: Any) -> bool: 

3830 return _wasmtime_eqref_is_struct(context, eqref) # type: ignore 

3831 

3832_wasmtime_eqref_as_struct = dll.wasmtime_eqref_as_struct 

3833_wasmtime_eqref_as_struct.restype = ctypes.c_bool 

3834_wasmtime_eqref_as_struct.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(wasmtime_structref_t)] 

3835def wasmtime_eqref_as_struct(context: Any, eqref: Any, out: Any) -> bool: 

3836 return _wasmtime_eqref_as_struct(context, eqref, out) # type: ignore 

3837 

3838class wasmtime_array_type(ctypes.Structure): 

3839 pass 

3840 

3841wasmtime_array_type_t = wasmtime_array_type 

3842 

3843_wasmtime_array_type_new = dll.wasmtime_array_type_new 

3844_wasmtime_array_type_new.restype = ctypes.POINTER(wasmtime_array_type_t) 

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

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

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

3848 

3849_wasmtime_array_type_delete = dll.wasmtime_array_type_delete 

3850_wasmtime_array_type_delete.restype = None 

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

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

3853 return _wasmtime_array_type_delete(ty) # type: ignore 

3854 

3855class wasmtime_array_ref_pre(ctypes.Structure): 

3856 pass 

3857 

3858wasmtime_array_ref_pre_t = wasmtime_array_ref_pre 

3859 

3860_wasmtime_array_ref_pre_new = dll.wasmtime_array_ref_pre_new 

3861_wasmtime_array_ref_pre_new.restype = ctypes.POINTER(wasmtime_array_ref_pre_t) 

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

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

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

3865 

3866_wasmtime_array_ref_pre_delete = dll.wasmtime_array_ref_pre_delete 

3867_wasmtime_array_ref_pre_delete.restype = None 

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

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

3870 return _wasmtime_array_ref_pre_delete(pre) # type: ignore 

3871 

3872class wasmtime_arrayref(ctypes.Structure): 

3873 _fields_ = [ 

3874 ("store_id", ctypes.c_uint64), 

3875 ("__private1", ctypes.c_uint32), 

3876 ("__private2", ctypes.c_uint32), 

3877 ("__private3", ctypes.c_void_p), 

3878 ] 

3879 store_id: int 

3880 __private1: int 

3881 __private2: int 

3882 __private3: ctypes._Pointer 

3883 

3884wasmtime_arrayref_t = wasmtime_arrayref 

3885 

3886_wasmtime_arrayref_new = dll.wasmtime_arrayref_new 

3887_wasmtime_arrayref_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3891 

3892_wasmtime_arrayref_clone = dll.wasmtime_arrayref_clone 

3893_wasmtime_arrayref_clone.restype = None 

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

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

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

3897 

3898_wasmtime_arrayref_unroot = dll.wasmtime_arrayref_unroot 

3899_wasmtime_arrayref_unroot.restype = None 

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

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

3902 return _wasmtime_arrayref_unroot(ref) # type: ignore 

3903 

3904_wasmtime_arrayref_to_anyref = dll.wasmtime_arrayref_to_anyref 

3905_wasmtime_arrayref_to_anyref.restype = None 

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

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

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

3909 

3910_wasmtime_arrayref_to_eqref = dll.wasmtime_arrayref_to_eqref 

3911_wasmtime_arrayref_to_eqref.restype = None 

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

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

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

3915 

3916_wasmtime_arrayref_len = dll.wasmtime_arrayref_len 

3917_wasmtime_arrayref_len.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3921 

3922_wasmtime_arrayref_get = dll.wasmtime_arrayref_get 

3923_wasmtime_arrayref_get.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3927 

3928_wasmtime_arrayref_set = dll.wasmtime_arrayref_set 

3929_wasmtime_arrayref_set.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3933 

3934_wasmtime_eqref_is_array = dll.wasmtime_eqref_is_array 

3935_wasmtime_eqref_is_array.restype = ctypes.c_bool 

3936_wasmtime_eqref_is_array.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t)] 

3937def wasmtime_eqref_is_array(context: Any, eqref: Any) -> bool: 

3938 return _wasmtime_eqref_is_array(context, eqref) # type: ignore 

3939 

3940_wasmtime_eqref_as_array = dll.wasmtime_eqref_as_array 

3941_wasmtime_eqref_as_array.restype = ctypes.c_bool 

3942_wasmtime_eqref_as_array.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_eqref_t), ctypes.POINTER(wasmtime_arrayref_t)] 

3943def wasmtime_eqref_as_array(context: Any, eqref: Any, out: Any) -> bool: 

3944 return _wasmtime_eqref_as_array(context, eqref, out) # type: ignore 

3945 

3946_wasmtime_anyref_is_eqref = dll.wasmtime_anyref_is_eqref 

3947_wasmtime_anyref_is_eqref.restype = ctypes.c_bool 

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

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

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

3951 

3952_wasmtime_anyref_as_eqref = dll.wasmtime_anyref_as_eqref 

3953_wasmtime_anyref_as_eqref.restype = ctypes.c_bool 

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

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

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

3957 

3958_wasmtime_anyref_is_struct = dll.wasmtime_anyref_is_struct 

3959_wasmtime_anyref_is_struct.restype = ctypes.c_bool 

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

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

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

3963 

3964_wasmtime_anyref_as_struct = dll.wasmtime_anyref_as_struct 

3965_wasmtime_anyref_as_struct.restype = ctypes.c_bool 

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

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

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

3969 

3970_wasmtime_anyref_is_array = dll.wasmtime_anyref_is_array 

3971_wasmtime_anyref_is_array.restype = ctypes.c_bool 

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

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

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

3975 

3976_wasmtime_anyref_as_array = dll.wasmtime_anyref_as_array 

3977_wasmtime_anyref_as_array.restype = ctypes.c_bool 

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

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

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

3981 

3982_wasmtime_config_async_stack_size_set = dll.wasmtime_config_async_stack_size_set 

3983_wasmtime_config_async_stack_size_set.restype = None 

3984_wasmtime_config_async_stack_size_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_uint64] 

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

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

3987 

3988_wasmtime_context_fuel_async_yield_interval = dll.wasmtime_context_fuel_async_yield_interval 

3989_wasmtime_context_fuel_async_yield_interval.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3993 

3994_wasmtime_context_epoch_deadline_async_yield_and_update = dll.wasmtime_context_epoch_deadline_async_yield_and_update 

3995_wasmtime_context_epoch_deadline_async_yield_and_update.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

3999 

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

4001 

4002class wasmtime_async_continuation_t(ctypes.Structure): 

4003 _fields_ = [ 

4004 ("callback", wasmtime_func_async_continuation_callback_t), 

4005 ("env", ctypes.c_void_p), 

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

4007 ] 

4008 callback: ctypes._Pointer 

4009 env: ctypes._Pointer 

4010 finalizer: ctypes._Pointer 

4011 

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

4013 

4014class wasmtime_call_future(ctypes.Structure): 

4015 pass 

4016 

4017wasmtime_call_future_t = wasmtime_call_future 

4018 

4019_wasmtime_call_future_poll = dll.wasmtime_call_future_poll 

4020_wasmtime_call_future_poll.restype = ctypes.c_bool 

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

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

4023 return _wasmtime_call_future_poll(future) # type: ignore 

4024 

4025_wasmtime_call_future_delete = dll.wasmtime_call_future_delete 

4026_wasmtime_call_future_delete.restype = None 

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

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

4029 return _wasmtime_call_future_delete(future) # type: ignore 

4030 

4031_wasmtime_func_call_async = dll.wasmtime_func_call_async 

4032_wasmtime_func_call_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

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

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

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

4036 

4037_wasmtime_linker_define_async_func = dll.wasmtime_linker_define_async_func 

4038_wasmtime_linker_define_async_func.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

4042 

4043_wasmtime_linker_instantiate_async = dll.wasmtime_linker_instantiate_async 

4044_wasmtime_linker_instantiate_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

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

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

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

4048 

4049_wasmtime_instance_pre_instantiate_async = dll.wasmtime_instance_pre_instantiate_async 

4050_wasmtime_instance_pre_instantiate_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

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

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

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

4054 

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

4056 

4057class wasmtime_stack_memory(ctypes.Structure): 

4058 _fields_ = [ 

4059 ("env", ctypes.c_void_p), 

4060 ("get_stack_memory", wasmtime_stack_memory_get_callback_t), 

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

4062 ] 

4063 env: ctypes._Pointer 

4064 get_stack_memory: ctypes._Pointer 

4065 finalizer: ctypes._Pointer 

4066 

4067wasmtime_stack_memory_t = wasmtime_stack_memory 

4068 

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

4070 

4071class wasmtime_stack_creator(ctypes.Structure): 

4072 _fields_ = [ 

4073 ("env", ctypes.c_void_p), 

4074 ("new_stack", wasmtime_new_stack_memory_callback_t), 

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

4076 ] 

4077 env: ctypes._Pointer 

4078 new_stack: ctypes._Pointer 

4079 finalizer: ctypes._Pointer 

4080 

4081wasmtime_stack_creator_t = wasmtime_stack_creator 

4082 

4083_wasmtime_config_host_stack_creator_set = dll.wasmtime_config_host_stack_creator_set 

4084_wasmtime_config_host_stack_creator_set.restype = None 

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

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

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

4088 

4089class wasmtime_component_resource_type(ctypes.Structure): 

4090 pass 

4091 

4092wasmtime_component_resource_type_t = wasmtime_component_resource_type 

4093 

4094_wasmtime_component_resource_type_new_host = dll.wasmtime_component_resource_type_new_host 

4095_wasmtime_component_resource_type_new_host.restype = ctypes.POINTER(wasmtime_component_resource_type_t) 

4096_wasmtime_component_resource_type_new_host.argtypes = [ctypes.c_uint32] 

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

4098 return _wasmtime_component_resource_type_new_host(ty) # type: ignore 

4099 

4100_wasmtime_component_resource_type_clone = dll.wasmtime_component_resource_type_clone 

4101_wasmtime_component_resource_type_clone.restype = ctypes.POINTER(wasmtime_component_resource_type_t) 

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

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

4104 return _wasmtime_component_resource_type_clone(ty) # type: ignore 

4105 

4106_wasmtime_component_resource_type_equal = dll.wasmtime_component_resource_type_equal 

4107_wasmtime_component_resource_type_equal.restype = ctypes.c_bool 

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

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

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

4111 

4112_wasmtime_component_resource_type_delete = dll.wasmtime_component_resource_type_delete 

4113_wasmtime_component_resource_type_delete.restype = None 

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

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

4116 return _wasmtime_component_resource_type_delete(resource) # type: ignore 

4117 

4118class wasmtime_component_valtype_t(ctypes.Structure): 

4119 pass 

4120 

4121class wasmtime_component_list_type(ctypes.Structure): 

4122 pass 

4123 

4124wasmtime_component_list_type_t = wasmtime_component_list_type 

4125 

4126_wasmtime_component_list_type_clone = dll.wasmtime_component_list_type_clone 

4127_wasmtime_component_list_type_clone.restype = ctypes.POINTER(wasmtime_component_list_type_t) 

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

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

4130 return _wasmtime_component_list_type_clone(ty) # type: ignore 

4131 

4132_wasmtime_component_list_type_equal = dll.wasmtime_component_list_type_equal 

4133_wasmtime_component_list_type_equal.restype = ctypes.c_bool 

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

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

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

4137 

4138_wasmtime_component_list_type_delete = dll.wasmtime_component_list_type_delete 

4139_wasmtime_component_list_type_delete.restype = None 

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

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

4142 return _wasmtime_component_list_type_delete(ptr) # type: ignore 

4143 

4144_wasmtime_component_list_type_element = dll.wasmtime_component_list_type_element 

4145_wasmtime_component_list_type_element.restype = None 

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

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

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

4149 

4150class wasmtime_component_record_type(ctypes.Structure): 

4151 pass 

4152 

4153wasmtime_component_record_type_t = wasmtime_component_record_type 

4154 

4155_wasmtime_component_record_type_clone = dll.wasmtime_component_record_type_clone 

4156_wasmtime_component_record_type_clone.restype = ctypes.POINTER(wasmtime_component_record_type_t) 

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

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

4159 return _wasmtime_component_record_type_clone(ty) # type: ignore 

4160 

4161_wasmtime_component_record_type_equal = dll.wasmtime_component_record_type_equal 

4162_wasmtime_component_record_type_equal.restype = ctypes.c_bool 

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

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

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

4166 

4167_wasmtime_component_record_type_delete = dll.wasmtime_component_record_type_delete 

4168_wasmtime_component_record_type_delete.restype = None 

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

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

4171 return _wasmtime_component_record_type_delete(ptr) # type: ignore 

4172 

4173_wasmtime_component_record_type_field_count = dll.wasmtime_component_record_type_field_count 

4174_wasmtime_component_record_type_field_count.restype = ctypes.c_size_t 

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

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

4177 return _wasmtime_component_record_type_field_count(ty) # type: ignore 

4178 

4179_wasmtime_component_record_type_field_nth = dll.wasmtime_component_record_type_field_nth 

4180_wasmtime_component_record_type_field_nth.restype = ctypes.c_bool 

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

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

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

4184 

4185class wasmtime_component_tuple_type(ctypes.Structure): 

4186 pass 

4187 

4188wasmtime_component_tuple_type_t = wasmtime_component_tuple_type 

4189 

4190_wasmtime_component_tuple_type_clone = dll.wasmtime_component_tuple_type_clone 

4191_wasmtime_component_tuple_type_clone.restype = ctypes.POINTER(wasmtime_component_tuple_type_t) 

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

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

4194 return _wasmtime_component_tuple_type_clone(ty) # type: ignore 

4195 

4196_wasmtime_component_tuple_type_equal = dll.wasmtime_component_tuple_type_equal 

4197_wasmtime_component_tuple_type_equal.restype = ctypes.c_bool 

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

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

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

4201 

4202_wasmtime_component_tuple_type_delete = dll.wasmtime_component_tuple_type_delete 

4203_wasmtime_component_tuple_type_delete.restype = None 

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

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

4206 return _wasmtime_component_tuple_type_delete(ptr) # type: ignore 

4207 

4208_wasmtime_component_tuple_type_types_count = dll.wasmtime_component_tuple_type_types_count 

4209_wasmtime_component_tuple_type_types_count.restype = ctypes.c_size_t 

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

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

4212 return _wasmtime_component_tuple_type_types_count(ty) # type: ignore 

4213 

4214_wasmtime_component_tuple_type_types_nth = dll.wasmtime_component_tuple_type_types_nth 

4215_wasmtime_component_tuple_type_types_nth.restype = ctypes.c_bool 

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

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

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

4219 

4220class wasmtime_component_variant_type(ctypes.Structure): 

4221 pass 

4222 

4223wasmtime_component_variant_type_t = wasmtime_component_variant_type 

4224 

4225_wasmtime_component_variant_type_clone = dll.wasmtime_component_variant_type_clone 

4226_wasmtime_component_variant_type_clone.restype = ctypes.POINTER(wasmtime_component_variant_type_t) 

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

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

4229 return _wasmtime_component_variant_type_clone(ty) # type: ignore 

4230 

4231_wasmtime_component_variant_type_equal = dll.wasmtime_component_variant_type_equal 

4232_wasmtime_component_variant_type_equal.restype = ctypes.c_bool 

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

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

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

4236 

4237_wasmtime_component_variant_type_delete = dll.wasmtime_component_variant_type_delete 

4238_wasmtime_component_variant_type_delete.restype = None 

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

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

4241 return _wasmtime_component_variant_type_delete(ptr) # type: ignore 

4242 

4243_wasmtime_component_variant_type_case_count = dll.wasmtime_component_variant_type_case_count 

4244_wasmtime_component_variant_type_case_count.restype = ctypes.c_size_t 

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

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

4247 return _wasmtime_component_variant_type_case_count(ty) # type: ignore 

4248 

4249_wasmtime_component_variant_type_case_nth = dll.wasmtime_component_variant_type_case_nth 

4250_wasmtime_component_variant_type_case_nth.restype = ctypes.c_bool 

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

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

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

4254 

4255class wasmtime_component_enum_type(ctypes.Structure): 

4256 pass 

4257 

4258wasmtime_component_enum_type_t = wasmtime_component_enum_type 

4259 

4260_wasmtime_component_enum_type_clone = dll.wasmtime_component_enum_type_clone 

4261_wasmtime_component_enum_type_clone.restype = ctypes.POINTER(wasmtime_component_enum_type_t) 

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

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

4264 return _wasmtime_component_enum_type_clone(ty) # type: ignore 

4265 

4266_wasmtime_component_enum_type_equal = dll.wasmtime_component_enum_type_equal 

4267_wasmtime_component_enum_type_equal.restype = ctypes.c_bool 

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

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

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

4271 

4272_wasmtime_component_enum_type_delete = dll.wasmtime_component_enum_type_delete 

4273_wasmtime_component_enum_type_delete.restype = None 

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

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

4276 return _wasmtime_component_enum_type_delete(ptr) # type: ignore 

4277 

4278_wasmtime_component_enum_type_names_count = dll.wasmtime_component_enum_type_names_count 

4279_wasmtime_component_enum_type_names_count.restype = ctypes.c_size_t 

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

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

4282 return _wasmtime_component_enum_type_names_count(ty) # type: ignore 

4283 

4284_wasmtime_component_enum_type_names_nth = dll.wasmtime_component_enum_type_names_nth 

4285_wasmtime_component_enum_type_names_nth.restype = ctypes.c_bool 

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

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

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

4289 

4290class wasmtime_component_option_type(ctypes.Structure): 

4291 pass 

4292 

4293wasmtime_component_option_type_t = wasmtime_component_option_type 

4294 

4295_wasmtime_component_option_type_clone = dll.wasmtime_component_option_type_clone 

4296_wasmtime_component_option_type_clone.restype = ctypes.POINTER(wasmtime_component_option_type_t) 

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

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

4299 return _wasmtime_component_option_type_clone(ty) # type: ignore 

4300 

4301_wasmtime_component_option_type_equal = dll.wasmtime_component_option_type_equal 

4302_wasmtime_component_option_type_equal.restype = ctypes.c_bool 

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

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

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

4306 

4307_wasmtime_component_option_type_delete = dll.wasmtime_component_option_type_delete 

4308_wasmtime_component_option_type_delete.restype = None 

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

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

4311 return _wasmtime_component_option_type_delete(ptr) # type: ignore 

4312 

4313_wasmtime_component_option_type_ty = dll.wasmtime_component_option_type_ty 

4314_wasmtime_component_option_type_ty.restype = None 

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

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

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

4318 

4319class wasmtime_component_result_type(ctypes.Structure): 

4320 pass 

4321 

4322wasmtime_component_result_type_t = wasmtime_component_result_type 

4323 

4324_wasmtime_component_result_type_clone = dll.wasmtime_component_result_type_clone 

4325_wasmtime_component_result_type_clone.restype = ctypes.POINTER(wasmtime_component_result_type_t) 

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

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

4328 return _wasmtime_component_result_type_clone(ty) # type: ignore 

4329 

4330_wasmtime_component_result_type_equal = dll.wasmtime_component_result_type_equal 

4331_wasmtime_component_result_type_equal.restype = ctypes.c_bool 

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

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

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

4335 

4336_wasmtime_component_result_type_delete = dll.wasmtime_component_result_type_delete 

4337_wasmtime_component_result_type_delete.restype = None 

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

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

4340 return _wasmtime_component_result_type_delete(ptr) # type: ignore 

4341 

4342_wasmtime_component_result_type_ok = dll.wasmtime_component_result_type_ok 

4343_wasmtime_component_result_type_ok.restype = ctypes.c_bool 

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

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

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

4347 

4348_wasmtime_component_result_type_err = dll.wasmtime_component_result_type_err 

4349_wasmtime_component_result_type_err.restype = ctypes.c_bool 

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

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

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

4353 

4354class wasmtime_component_flags_type(ctypes.Structure): 

4355 pass 

4356 

4357wasmtime_component_flags_type_t = wasmtime_component_flags_type 

4358 

4359_wasmtime_component_flags_type_clone = dll.wasmtime_component_flags_type_clone 

4360_wasmtime_component_flags_type_clone.restype = ctypes.POINTER(wasmtime_component_flags_type_t) 

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

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

4363 return _wasmtime_component_flags_type_clone(ty) # type: ignore 

4364 

4365_wasmtime_component_flags_type_equal = dll.wasmtime_component_flags_type_equal 

4366_wasmtime_component_flags_type_equal.restype = ctypes.c_bool 

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

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

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

4370 

4371_wasmtime_component_flags_type_delete = dll.wasmtime_component_flags_type_delete 

4372_wasmtime_component_flags_type_delete.restype = None 

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

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

4375 return _wasmtime_component_flags_type_delete(ptr) # type: ignore 

4376 

4377_wasmtime_component_flags_type_names_count = dll.wasmtime_component_flags_type_names_count 

4378_wasmtime_component_flags_type_names_count.restype = ctypes.c_size_t 

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

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

4381 return _wasmtime_component_flags_type_names_count(ty) # type: ignore 

4382 

4383_wasmtime_component_flags_type_names_nth = dll.wasmtime_component_flags_type_names_nth 

4384_wasmtime_component_flags_type_names_nth.restype = ctypes.c_bool 

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

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

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

4388 

4389class wasmtime_component_future_type(ctypes.Structure): 

4390 pass 

4391 

4392wasmtime_component_future_type_t = wasmtime_component_future_type 

4393 

4394_wasmtime_component_future_type_clone = dll.wasmtime_component_future_type_clone 

4395_wasmtime_component_future_type_clone.restype = ctypes.POINTER(wasmtime_component_future_type_t) 

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

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

4398 return _wasmtime_component_future_type_clone(ty) # type: ignore 

4399 

4400_wasmtime_component_future_type_equal = dll.wasmtime_component_future_type_equal 

4401_wasmtime_component_future_type_equal.restype = ctypes.c_bool 

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

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

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

4405 

4406_wasmtime_component_future_type_delete = dll.wasmtime_component_future_type_delete 

4407_wasmtime_component_future_type_delete.restype = None 

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

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

4410 return _wasmtime_component_future_type_delete(ptr) # type: ignore 

4411 

4412_wasmtime_component_future_type_ty = dll.wasmtime_component_future_type_ty 

4413_wasmtime_component_future_type_ty.restype = ctypes.c_bool 

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

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

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

4417 

4418class wasmtime_component_stream_type(ctypes.Structure): 

4419 pass 

4420 

4421wasmtime_component_stream_type_t = wasmtime_component_stream_type 

4422 

4423_wasmtime_component_stream_type_clone = dll.wasmtime_component_stream_type_clone 

4424_wasmtime_component_stream_type_clone.restype = ctypes.POINTER(wasmtime_component_stream_type_t) 

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

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

4427 return _wasmtime_component_stream_type_clone(ty) # type: ignore 

4428 

4429_wasmtime_component_stream_type_equal = dll.wasmtime_component_stream_type_equal 

4430_wasmtime_component_stream_type_equal.restype = ctypes.c_bool 

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

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

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

4434 

4435_wasmtime_component_stream_type_delete = dll.wasmtime_component_stream_type_delete 

4436_wasmtime_component_stream_type_delete.restype = None 

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

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

4439 return _wasmtime_component_stream_type_delete(ptr) # type: ignore 

4440 

4441_wasmtime_component_stream_type_ty = dll.wasmtime_component_stream_type_ty 

4442_wasmtime_component_stream_type_ty.restype = ctypes.c_bool 

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

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

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

4446 

4447class wasmtime_component_map_type(ctypes.Structure): 

4448 pass 

4449 

4450wasmtime_component_map_type_t = wasmtime_component_map_type 

4451 

4452_wasmtime_component_map_type_clone = dll.wasmtime_component_map_type_clone 

4453_wasmtime_component_map_type_clone.restype = ctypes.POINTER(wasmtime_component_map_type_t) 

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

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

4456 return _wasmtime_component_map_type_clone(ty) # type: ignore 

4457 

4458_wasmtime_component_map_type_equal = dll.wasmtime_component_map_type_equal 

4459_wasmtime_component_map_type_equal.restype = ctypes.c_bool 

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

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

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

4463 

4464_wasmtime_component_map_type_delete = dll.wasmtime_component_map_type_delete 

4465_wasmtime_component_map_type_delete.restype = None 

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

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

4468 return _wasmtime_component_map_type_delete(ptr) # type: ignore 

4469 

4470_wasmtime_component_map_type_key = dll.wasmtime_component_map_type_key 

4471_wasmtime_component_map_type_key.restype = None 

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

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

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

4475 

4476_wasmtime_component_map_type_value = dll.wasmtime_component_map_type_value 

4477_wasmtime_component_map_type_value.restype = None 

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

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

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

4481 

4482wasmtime_component_valtype_kind_t = ctypes.c_uint8 

4483 

4484class wasmtime_component_valtype_union(ctypes.Union): 

4485 _fields_ = [ 

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

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

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

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

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

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

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

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

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

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

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

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

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

4499 ] 

4500 list: ctypes._Pointer 

4501 record: ctypes._Pointer 

4502 tuple: ctypes._Pointer 

4503 variant: ctypes._Pointer 

4504 enum_: ctypes._Pointer 

4505 option: ctypes._Pointer 

4506 result: ctypes._Pointer 

4507 flags: ctypes._Pointer 

4508 own: ctypes._Pointer 

4509 borrow: ctypes._Pointer 

4510 future: ctypes._Pointer 

4511 stream: ctypes._Pointer 

4512 map: ctypes._Pointer 

4513 

4514wasmtime_component_valtype_union_t = wasmtime_component_valtype_union 

4515 

4516wasmtime_component_valtype_t._fields_ = [ 

4517 ("kind", wasmtime_component_valtype_kind_t), 

4518 ("of", wasmtime_component_valtype_union_t), 

4519 ] 

4520 

4521_wasmtime_component_valtype_clone = dll.wasmtime_component_valtype_clone 

4522_wasmtime_component_valtype_clone.restype = None 

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

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

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

4526 

4527_wasmtime_component_valtype_equal = dll.wasmtime_component_valtype_equal 

4528_wasmtime_component_valtype_equal.restype = ctypes.c_bool 

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

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

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

4532 

4533_wasmtime_component_valtype_delete = dll.wasmtime_component_valtype_delete 

4534_wasmtime_component_valtype_delete.restype = None 

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

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

4537 return _wasmtime_component_valtype_delete(ptr) # type: ignore 

4538 

4539class wasmtime_component_func_type_t(ctypes.Structure): 

4540 pass 

4541 

4542_wasmtime_component_func_type_clone = dll.wasmtime_component_func_type_clone 

4543_wasmtime_component_func_type_clone.restype = ctypes.POINTER(wasmtime_component_func_type_t) 

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

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

4546 return _wasmtime_component_func_type_clone(ty) # type: ignore 

4547 

4548_wasmtime_component_func_type_delete = dll.wasmtime_component_func_type_delete 

4549_wasmtime_component_func_type_delete.restype = None 

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

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

4552 return _wasmtime_component_func_type_delete(ty) # type: ignore 

4553 

4554_wasmtime_component_func_type_async = dll.wasmtime_component_func_type_async 

4555_wasmtime_component_func_type_async.restype = ctypes.c_bool 

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

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

4558 return _wasmtime_component_func_type_async(ty) # type: ignore 

4559 

4560_wasmtime_component_func_type_param_count = dll.wasmtime_component_func_type_param_count 

4561_wasmtime_component_func_type_param_count.restype = ctypes.c_size_t 

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

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

4564 return _wasmtime_component_func_type_param_count(ty) # type: ignore 

4565 

4566_wasmtime_component_func_type_param_nth = dll.wasmtime_component_func_type_param_nth 

4567_wasmtime_component_func_type_param_nth.restype = ctypes.c_bool 

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

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

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

4571 

4572_wasmtime_component_func_type_result = dll.wasmtime_component_func_type_result 

4573_wasmtime_component_func_type_result.restype = ctypes.c_bool 

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

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

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

4577 

4578class wasmtime_component_item_t(ctypes.Structure): 

4579 pass 

4580 

4581class wasmtime_component_instance_type(ctypes.Structure): 

4582 pass 

4583 

4584wasmtime_component_instance_type_t = wasmtime_component_instance_type 

4585 

4586_wasmtime_component_instance_type_clone = dll.wasmtime_component_instance_type_clone 

4587_wasmtime_component_instance_type_clone.restype = ctypes.POINTER(wasmtime_component_instance_type_t) 

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

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

4590 return _wasmtime_component_instance_type_clone(ty) # type: ignore 

4591 

4592_wasmtime_component_instance_type_delete = dll.wasmtime_component_instance_type_delete 

4593_wasmtime_component_instance_type_delete.restype = None 

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

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

4596 return _wasmtime_component_instance_type_delete(ty) # type: ignore 

4597 

4598_wasmtime_component_instance_type_export_count = dll.wasmtime_component_instance_type_export_count 

4599_wasmtime_component_instance_type_export_count.restype = ctypes.c_size_t 

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

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

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

4603 

4604_wasmtime_component_instance_type_export_get = dll.wasmtime_component_instance_type_export_get 

4605_wasmtime_component_instance_type_export_get.restype = ctypes.c_bool 

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

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

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

4609 

4610_wasmtime_component_instance_type_export_nth = dll.wasmtime_component_instance_type_export_nth 

4611_wasmtime_component_instance_type_export_nth.restype = ctypes.c_bool 

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

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

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

4615 

4616class wasmtime_module_type(ctypes.Structure): 

4617 pass 

4618 

4619wasmtime_module_type_t = wasmtime_module_type 

4620 

4621_wasmtime_module_type_clone = dll.wasmtime_module_type_clone 

4622_wasmtime_module_type_clone.restype = ctypes.POINTER(wasmtime_module_type_t) 

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

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

4625 return _wasmtime_module_type_clone(ty) # type: ignore 

4626 

4627_wasmtime_module_type_delete = dll.wasmtime_module_type_delete 

4628_wasmtime_module_type_delete.restype = None 

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

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

4631 return _wasmtime_module_type_delete(ty) # type: ignore 

4632 

4633_wasmtime_module_type_import_count = dll.wasmtime_module_type_import_count 

4634_wasmtime_module_type_import_count.restype = ctypes.c_size_t 

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

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

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

4638 

4639_wasmtime_module_type_import_nth = dll.wasmtime_module_type_import_nth 

4640_wasmtime_module_type_import_nth.restype = ctypes.POINTER(wasm_importtype_t) 

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

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

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

4644 

4645_wasmtime_module_type_export_count = dll.wasmtime_module_type_export_count 

4646_wasmtime_module_type_export_count.restype = ctypes.c_size_t 

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

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

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

4650 

4651_wasmtime_module_type_export_nth = dll.wasmtime_module_type_export_nth 

4652_wasmtime_module_type_export_nth.restype = ctypes.POINTER(wasm_exporttype_t) 

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

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

4655 return _wasmtime_module_type_export_nth(ty, engine, nth) # type: ignore 

4656 

4657class wasmtime_component_type_t(ctypes.Structure): 

4658 pass 

4659 

4660_wasmtime_component_type_clone = dll.wasmtime_component_type_clone 

4661_wasmtime_component_type_clone.restype = ctypes.POINTER(wasmtime_component_type_t) 

4662_wasmtime_component_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_type_t)] 

4663def wasmtime_component_type_clone(ty: Any) -> ctypes._Pointer: 

4664 return _wasmtime_component_type_clone(ty) # type: ignore 

4665 

4666_wasmtime_component_type_delete = dll.wasmtime_component_type_delete 

4667_wasmtime_component_type_delete.restype = None 

4668_wasmtime_component_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_type_t)] 

4669def wasmtime_component_type_delete(ty: Any) -> None: 

4670 return _wasmtime_component_type_delete(ty) # type: ignore 

4671 

4672_wasmtime_component_type_import_count = dll.wasmtime_component_type_import_count 

4673_wasmtime_component_type_import_count.restype = ctypes.c_size_t 

4674_wasmtime_component_type_import_count.argtypes = [ctypes.POINTER(wasmtime_component_type_t), ctypes.POINTER(wasm_engine_t)] 

4675def wasmtime_component_type_import_count(ty: Any, engine: Any) -> int: 

4676 return _wasmtime_component_type_import_count(ty, engine) # type: ignore 

4677 

4678_wasmtime_component_type_import_get = dll.wasmtime_component_type_import_get 

4679_wasmtime_component_type_import_get.restype = ctypes.c_bool 

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

4681def wasmtime_component_type_import_get(ty: Any, engine: Any, name: Any, name_len: Any, ret: Any) -> bool: 

4682 return _wasmtime_component_type_import_get(ty, engine, name, name_len, ret) # type: ignore 

4683 

4684_wasmtime_component_type_import_nth = dll.wasmtime_component_type_import_nth 

4685_wasmtime_component_type_import_nth.restype = ctypes.c_bool 

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

4687def wasmtime_component_type_import_nth(ty: Any, engine: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

4688 return _wasmtime_component_type_import_nth(ty, engine, nth, name_ret, name_len_ret, type_ret) # type: ignore 

4689 

4690_wasmtime_component_type_export_count = dll.wasmtime_component_type_export_count 

4691_wasmtime_component_type_export_count.restype = ctypes.c_size_t 

4692_wasmtime_component_type_export_count.argtypes = [ctypes.POINTER(wasmtime_component_type_t), ctypes.POINTER(wasm_engine_t)] 

4693def wasmtime_component_type_export_count(ty: Any, engine: Any) -> int: 

4694 return _wasmtime_component_type_export_count(ty, engine) # type: ignore 

4695 

4696_wasmtime_component_type_export_get = dll.wasmtime_component_type_export_get 

4697_wasmtime_component_type_export_get.restype = ctypes.c_bool 

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

4699def wasmtime_component_type_export_get(ty: Any, engine: Any, name: Any, name_len: Any, ret: Any) -> bool: 

4700 return _wasmtime_component_type_export_get(ty, engine, name, name_len, ret) # type: ignore 

4701 

4702_wasmtime_component_type_export_nth = dll.wasmtime_component_type_export_nth 

4703_wasmtime_component_type_export_nth.restype = ctypes.c_bool 

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

4705def wasmtime_component_type_export_nth(ty: Any, engine: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

4706 return _wasmtime_component_type_export_nth(ty, engine, nth, name_ret, name_len_ret, type_ret) # type: ignore 

4707 

4708wasmtime_component_item_kind_t = ctypes.c_uint8 

4709 

4710class wasmtime_component_item_union(ctypes.Union): 

4711 _fields_ = [ 

4712 ("component", ctypes.POINTER(wasmtime_component_type_t)), 

4713 ("component_instance", ctypes.POINTER(wasmtime_component_instance_type_t)), 

4714 ("module", ctypes.POINTER(wasmtime_module_type_t)), 

4715 ("component_func", ctypes.POINTER(wasmtime_component_func_type_t)), 

4716 ("resource", ctypes.POINTER(wasmtime_component_resource_type_t)), 

4717 ("core_func", ctypes.POINTER(wasm_functype_t)), 

4718 ("type", wasmtime_component_valtype_t), 

4719 ] 

4720 component: ctypes._Pointer 

4721 component_instance: ctypes._Pointer 

4722 module: ctypes._Pointer 

4723 component_func: ctypes._Pointer 

4724 resource: ctypes._Pointer 

4725 core_func: ctypes._Pointer 

4726 type: wasmtime_component_valtype_t 

4727 

4728wasmtime_component_item_union_t = wasmtime_component_item_union 

4729 

4730wasmtime_component_item_t._fields_ = [ 

4731 ("kind", wasmtime_component_item_kind_t), 

4732 ("of", wasmtime_component_item_union_t), 

4733 ] 

4734 

4735_wasmtime_component_item_clone = dll.wasmtime_component_item_clone 

4736_wasmtime_component_item_clone.restype = None 

4737_wasmtime_component_item_clone.argtypes = [ctypes.POINTER(wasmtime_component_item_t), ctypes.POINTER(wasmtime_component_item_t)] 

4738def wasmtime_component_item_clone(item: Any, out: Any) -> None: 

4739 return _wasmtime_component_item_clone(item, out) # type: ignore 

4740 

4741_wasmtime_component_item_delete = dll.wasmtime_component_item_delete 

4742_wasmtime_component_item_delete.restype = None 

4743_wasmtime_component_item_delete.argtypes = [ctypes.POINTER(wasmtime_component_item_t)] 

4744def wasmtime_component_item_delete(ptr: Any) -> None: 

4745 return _wasmtime_component_item_delete(ptr) # type: ignore 

4746 

4747class wasmtime_component_t(ctypes.Structure): 

4748 pass 

4749 

4750_wasmtime_component_new = dll.wasmtime_component_new 

4751_wasmtime_component_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

4753def wasmtime_component_new(engine: Any, buf: Any, len: Any, component_out: Any) -> ctypes._Pointer: 

4754 return _wasmtime_component_new(engine, buf, len, component_out) # type: ignore 

4755 

4756_wasmtime_component_serialize = dll.wasmtime_component_serialize 

4757_wasmtime_component_serialize.restype = ctypes.POINTER(wasmtime_error_t) 

4758_wasmtime_component_serialize.argtypes = [ctypes.POINTER(wasmtime_component_t), ctypes.POINTER(wasm_byte_vec_t)] 

4759def wasmtime_component_serialize(component: Any, ret: Any) -> ctypes._Pointer: 

4760 return _wasmtime_component_serialize(component, ret) # type: ignore 

4761 

4762_wasmtime_component_deserialize = dll.wasmtime_component_deserialize 

4763_wasmtime_component_deserialize.restype = ctypes.POINTER(wasmtime_error_t) 

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

4765def wasmtime_component_deserialize(engine: Any, buf: Any, len: Any, component_out: Any) -> ctypes._Pointer: 

4766 return _wasmtime_component_deserialize(engine, buf, len, component_out) # type: ignore 

4767 

4768_wasmtime_component_deserialize_file = dll.wasmtime_component_deserialize_file 

4769_wasmtime_component_deserialize_file.restype = ctypes.POINTER(wasmtime_error_t) 

4770_wasmtime_component_deserialize_file.argtypes = [ctypes.POINTER(wasm_engine_t), ctypes.POINTER(ctypes.c_char), ctypes.POINTER(ctypes.POINTER(wasmtime_component_t))] 

4771def wasmtime_component_deserialize_file(engine: Any, path: Any, component_out: Any) -> ctypes._Pointer: 

4772 return _wasmtime_component_deserialize_file(engine, path, component_out) # type: ignore 

4773 

4774_wasmtime_component_clone = dll.wasmtime_component_clone 

4775_wasmtime_component_clone.restype = ctypes.POINTER(wasmtime_component_t) 

4776_wasmtime_component_clone.argtypes = [ctypes.POINTER(wasmtime_component_t)] 

4777def wasmtime_component_clone(component: Any) -> ctypes._Pointer: 

4778 return _wasmtime_component_clone(component) # type: ignore 

4779 

4780_wasmtime_component_type = dll.wasmtime_component_type 

4781_wasmtime_component_type.restype = ctypes.POINTER(wasmtime_component_type_t) 

4782_wasmtime_component_type.argtypes = [ctypes.POINTER(wasmtime_component_t)] 

4783def wasmtime_component_type(component: Any) -> ctypes._Pointer: 

4784 return _wasmtime_component_type(component) # type: ignore 

4785 

4786_wasmtime_component_delete = dll.wasmtime_component_delete 

4787_wasmtime_component_delete.restype = None 

4788_wasmtime_component_delete.argtypes = [ctypes.POINTER(wasmtime_component_t)] 

4789def wasmtime_component_delete(component: Any) -> None: 

4790 return _wasmtime_component_delete(component) # type: ignore 

4791 

4792class wasmtime_component_export_index_t(ctypes.Structure): 

4793 pass 

4794 

4795_wasmtime_component_get_export_index = dll.wasmtime_component_get_export_index 

4796_wasmtime_component_get_export_index.restype = ctypes.POINTER(wasmtime_component_export_index_t) 

4797_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] 

4798def wasmtime_component_get_export_index(component: Any, instance_export_index: Any, name: Any, name_len: Any) -> ctypes._Pointer: 

4799 return _wasmtime_component_get_export_index(component, instance_export_index, name, name_len) # type: ignore 

4800 

4801_wasmtime_component_export_index_clone = dll.wasmtime_component_export_index_clone 

4802_wasmtime_component_export_index_clone.restype = ctypes.POINTER(wasmtime_component_export_index_t) 

4803_wasmtime_component_export_index_clone.argtypes = [ctypes.POINTER(wasmtime_component_export_index_t)] 

4804def wasmtime_component_export_index_clone(index: Any) -> ctypes._Pointer: 

4805 return _wasmtime_component_export_index_clone(index) # type: ignore 

4806 

4807_wasmtime_component_export_index_delete = dll.wasmtime_component_export_index_delete 

4808_wasmtime_component_export_index_delete.restype = None 

4809_wasmtime_component_export_index_delete.argtypes = [ctypes.POINTER(wasmtime_component_export_index_t)] 

4810def wasmtime_component_export_index_delete(export_index: Any) -> None: 

4811 return _wasmtime_component_export_index_delete(export_index) # type: ignore 

4812 

4813class wasmtime_component_resource_any(ctypes.Structure): 

4814 pass 

4815 

4816wasmtime_component_resource_any_t = wasmtime_component_resource_any 

4817 

4818_wasmtime_component_resource_any_type = dll.wasmtime_component_resource_any_type 

4819_wasmtime_component_resource_any_type.restype = ctypes.POINTER(wasmtime_component_resource_type_t) 

4820_wasmtime_component_resource_any_type.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4821def wasmtime_component_resource_any_type(resource: Any) -> ctypes._Pointer: 

4822 return _wasmtime_component_resource_any_type(resource) # type: ignore 

4823 

4824_wasmtime_component_resource_any_clone = dll.wasmtime_component_resource_any_clone 

4825_wasmtime_component_resource_any_clone.restype = ctypes.POINTER(wasmtime_component_resource_any_t) 

4826_wasmtime_component_resource_any_clone.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4827def wasmtime_component_resource_any_clone(resource: Any) -> ctypes._Pointer: 

4828 return _wasmtime_component_resource_any_clone(resource) # type: ignore 

4829 

4830_wasmtime_component_resource_any_owned = dll.wasmtime_component_resource_any_owned 

4831_wasmtime_component_resource_any_owned.restype = ctypes.c_bool 

4832_wasmtime_component_resource_any_owned.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4833def wasmtime_component_resource_any_owned(resource: Any) -> bool: 

4834 return _wasmtime_component_resource_any_owned(resource) # type: ignore 

4835 

4836_wasmtime_component_resource_any_drop = dll.wasmtime_component_resource_any_drop 

4837_wasmtime_component_resource_any_drop.restype = ctypes.POINTER(wasmtime_error_t) 

4838_wasmtime_component_resource_any_drop.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_component_resource_any_t)] 

4839def wasmtime_component_resource_any_drop(ctx: Any, resource: Any) -> ctypes._Pointer: 

4840 return _wasmtime_component_resource_any_drop(ctx, resource) # type: ignore 

4841 

4842_wasmtime_component_resource_any_delete = dll.wasmtime_component_resource_any_delete 

4843_wasmtime_component_resource_any_delete.restype = None 

4844_wasmtime_component_resource_any_delete.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4845def wasmtime_component_resource_any_delete(resource: Any) -> None: 

4846 return _wasmtime_component_resource_any_delete(resource) # type: ignore 

4847 

4848class wasmtime_component_resource_host(ctypes.Structure): 

4849 pass 

4850 

4851wasmtime_component_resource_host_t = wasmtime_component_resource_host 

4852 

4853_wasmtime_component_resource_host_new = dll.wasmtime_component_resource_host_new 

4854_wasmtime_component_resource_host_new.restype = ctypes.POINTER(wasmtime_component_resource_host_t) 

4855_wasmtime_component_resource_host_new.argtypes = [ctypes.c_bool, ctypes.c_uint32, ctypes.c_uint32] 

4856def wasmtime_component_resource_host_new(owned: Any, rep: Any, ty: Any) -> ctypes._Pointer: 

4857 return _wasmtime_component_resource_host_new(owned, rep, ty) # type: ignore 

4858 

4859_wasmtime_component_resource_host_clone = dll.wasmtime_component_resource_host_clone 

4860_wasmtime_component_resource_host_clone.restype = ctypes.POINTER(wasmtime_component_resource_host_t) 

4861_wasmtime_component_resource_host_clone.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4862def wasmtime_component_resource_host_clone(resource: Any) -> ctypes._Pointer: 

4863 return _wasmtime_component_resource_host_clone(resource) # type: ignore 

4864 

4865_wasmtime_component_resource_host_rep = dll.wasmtime_component_resource_host_rep 

4866_wasmtime_component_resource_host_rep.restype = ctypes.c_uint32 

4867_wasmtime_component_resource_host_rep.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4868def wasmtime_component_resource_host_rep(resource: Any) -> int: 

4869 return _wasmtime_component_resource_host_rep(resource) # type: ignore 

4870 

4871_wasmtime_component_resource_host_type = dll.wasmtime_component_resource_host_type 

4872_wasmtime_component_resource_host_type.restype = ctypes.c_uint32 

4873_wasmtime_component_resource_host_type.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4874def wasmtime_component_resource_host_type(resource: Any) -> int: 

4875 return _wasmtime_component_resource_host_type(resource) # type: ignore 

4876 

4877_wasmtime_component_resource_host_owned = dll.wasmtime_component_resource_host_owned 

4878_wasmtime_component_resource_host_owned.restype = ctypes.c_bool 

4879_wasmtime_component_resource_host_owned.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4880def wasmtime_component_resource_host_owned(resource: Any) -> bool: 

4881 return _wasmtime_component_resource_host_owned(resource) # type: ignore 

4882 

4883_wasmtime_component_resource_host_delete = dll.wasmtime_component_resource_host_delete 

4884_wasmtime_component_resource_host_delete.restype = None 

4885_wasmtime_component_resource_host_delete.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4886def wasmtime_component_resource_host_delete(resource: Any) -> None: 

4887 return _wasmtime_component_resource_host_delete(resource) # type: ignore 

4888 

4889_wasmtime_component_resource_any_to_host = dll.wasmtime_component_resource_any_to_host 

4890_wasmtime_component_resource_any_to_host.restype = ctypes.POINTER(wasmtime_error_t) 

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

4892def wasmtime_component_resource_any_to_host(ctx: Any, resource: Any, ret: Any) -> ctypes._Pointer: 

4893 return _wasmtime_component_resource_any_to_host(ctx, resource, ret) # type: ignore 

4894 

4895_wasmtime_component_resource_host_to_any = dll.wasmtime_component_resource_host_to_any 

4896_wasmtime_component_resource_host_to_any.restype = ctypes.POINTER(wasmtime_error_t) 

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

4898def wasmtime_component_resource_host_to_any(ctx: Any, resource: Any, ret: Any) -> ctypes._Pointer: 

4899 return _wasmtime_component_resource_host_to_any(ctx, resource, ret) # type: ignore 

4900 

4901wasmtime_component_valkind_t = ctypes.c_uint8 

4902 

4903class wasmtime_component_val(ctypes.Structure): 

4904 pass 

4905 

4906class wasmtime_component_valrecord_entry(ctypes.Structure): 

4907 pass 

4908 

4909class wasmtime_component_valmap_entry(ctypes.Structure): 

4910 pass 

4911 

4912class wasmtime_component_vallist(ctypes.Structure): 

4913 _fields_ = [ 

4914 ("size", ctypes.c_size_t), 

4915 ("data", ctypes.POINTER(wasmtime_component_val)), 

4916 ] 

4917 size: int 

4918 data: ctypes._Pointer 

4919 

4920wasmtime_component_vallist_t = wasmtime_component_vallist 

4921 

4922_wasmtime_component_vallist_new = dll.wasmtime_component_vallist_new 

4923_wasmtime_component_vallist_new.restype = None 

4924_wasmtime_component_vallist_new.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_val)] 

4925def wasmtime_component_vallist_new(out: Any, size: Any, ptr: Any) -> None: 

4926 return _wasmtime_component_vallist_new(out, size, ptr) # type: ignore 

4927 

4928_wasmtime_component_vallist_new_empty = dll.wasmtime_component_vallist_new_empty 

4929_wasmtime_component_vallist_new_empty.restype = None 

4930_wasmtime_component_vallist_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t)] 

4931def wasmtime_component_vallist_new_empty(out: Any) -> None: 

4932 return _wasmtime_component_vallist_new_empty(out) # type: ignore 

4933 

4934_wasmtime_component_vallist_new_uninit = dll.wasmtime_component_vallist_new_uninit 

4935_wasmtime_component_vallist_new_uninit.restype = None 

4936_wasmtime_component_vallist_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t), ctypes.c_size_t] 

4937def wasmtime_component_vallist_new_uninit(out: Any, size: Any) -> None: 

4938 return _wasmtime_component_vallist_new_uninit(out, size) # type: ignore 

4939 

4940_wasmtime_component_vallist_copy = dll.wasmtime_component_vallist_copy 

4941_wasmtime_component_vallist_copy.restype = None 

4942_wasmtime_component_vallist_copy.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t), ctypes.POINTER(wasmtime_component_vallist_t)] 

4943def wasmtime_component_vallist_copy(dst: Any, src: Any) -> None: 

4944 return _wasmtime_component_vallist_copy(dst, src) # type: ignore 

4945 

4946_wasmtime_component_vallist_delete = dll.wasmtime_component_vallist_delete 

4947_wasmtime_component_vallist_delete.restype = None 

4948_wasmtime_component_vallist_delete.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t)] 

4949def wasmtime_component_vallist_delete(value: Any) -> None: 

4950 return _wasmtime_component_vallist_delete(value) # type: ignore 

4951 

4952class wasmtime_component_valrecord(ctypes.Structure): 

4953 _fields_ = [ 

4954 ("size", ctypes.c_size_t), 

4955 ("data", ctypes.POINTER(wasmtime_component_valrecord_entry)), 

4956 ] 

4957 size: int 

4958 data: ctypes._Pointer 

4959 

4960wasmtime_component_valrecord_t = wasmtime_component_valrecord 

4961 

4962_wasmtime_component_valrecord_new = dll.wasmtime_component_valrecord_new 

4963_wasmtime_component_valrecord_new.restype = None 

4964_wasmtime_component_valrecord_new.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_valrecord_entry)] 

4965def wasmtime_component_valrecord_new(out: Any, size: Any, ptr: Any) -> None: 

4966 return _wasmtime_component_valrecord_new(out, size, ptr) # type: ignore 

4967 

4968_wasmtime_component_valrecord_new_empty = dll.wasmtime_component_valrecord_new_empty 

4969_wasmtime_component_valrecord_new_empty.restype = None 

4970_wasmtime_component_valrecord_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t)] 

4971def wasmtime_component_valrecord_new_empty(out: Any) -> None: 

4972 return _wasmtime_component_valrecord_new_empty(out) # type: ignore 

4973 

4974_wasmtime_component_valrecord_new_uninit = dll.wasmtime_component_valrecord_new_uninit 

4975_wasmtime_component_valrecord_new_uninit.restype = None 

4976_wasmtime_component_valrecord_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t), ctypes.c_size_t] 

4977def wasmtime_component_valrecord_new_uninit(out: Any, size: Any) -> None: 

4978 return _wasmtime_component_valrecord_new_uninit(out, size) # type: ignore 

4979 

4980_wasmtime_component_valrecord_copy = dll.wasmtime_component_valrecord_copy 

4981_wasmtime_component_valrecord_copy.restype = None 

4982_wasmtime_component_valrecord_copy.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t), ctypes.POINTER(wasmtime_component_valrecord_t)] 

4983def wasmtime_component_valrecord_copy(dst: Any, src: Any) -> None: 

4984 return _wasmtime_component_valrecord_copy(dst, src) # type: ignore 

4985 

4986_wasmtime_component_valrecord_delete = dll.wasmtime_component_valrecord_delete 

4987_wasmtime_component_valrecord_delete.restype = None 

4988_wasmtime_component_valrecord_delete.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t)] 

4989def wasmtime_component_valrecord_delete(value: Any) -> None: 

4990 return _wasmtime_component_valrecord_delete(value) # type: ignore 

4991 

4992class wasmtime_component_valtuple(ctypes.Structure): 

4993 _fields_ = [ 

4994 ("size", ctypes.c_size_t), 

4995 ("data", ctypes.POINTER(wasmtime_component_val)), 

4996 ] 

4997 size: int 

4998 data: ctypes._Pointer 

4999 

5000wasmtime_component_valtuple_t = wasmtime_component_valtuple 

5001 

5002_wasmtime_component_valtuple_new = dll.wasmtime_component_valtuple_new 

5003_wasmtime_component_valtuple_new.restype = None 

5004_wasmtime_component_valtuple_new.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_val)] 

5005def wasmtime_component_valtuple_new(out: Any, size: Any, ptr: Any) -> None: 

5006 return _wasmtime_component_valtuple_new(out, size, ptr) # type: ignore 

5007 

5008_wasmtime_component_valtuple_new_empty = dll.wasmtime_component_valtuple_new_empty 

5009_wasmtime_component_valtuple_new_empty.restype = None 

5010_wasmtime_component_valtuple_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t)] 

5011def wasmtime_component_valtuple_new_empty(out: Any) -> None: 

5012 return _wasmtime_component_valtuple_new_empty(out) # type: ignore 

5013 

5014_wasmtime_component_valtuple_new_uninit = dll.wasmtime_component_valtuple_new_uninit 

5015_wasmtime_component_valtuple_new_uninit.restype = None 

5016_wasmtime_component_valtuple_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t), ctypes.c_size_t] 

5017def wasmtime_component_valtuple_new_uninit(out: Any, size: Any) -> None: 

5018 return _wasmtime_component_valtuple_new_uninit(out, size) # type: ignore 

5019 

5020_wasmtime_component_valtuple_copy = dll.wasmtime_component_valtuple_copy 

5021_wasmtime_component_valtuple_copy.restype = None 

5022_wasmtime_component_valtuple_copy.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t), ctypes.POINTER(wasmtime_component_valtuple_t)] 

5023def wasmtime_component_valtuple_copy(dst: Any, src: Any) -> None: 

5024 return _wasmtime_component_valtuple_copy(dst, src) # type: ignore 

5025 

5026_wasmtime_component_valtuple_delete = dll.wasmtime_component_valtuple_delete 

5027_wasmtime_component_valtuple_delete.restype = None 

5028_wasmtime_component_valtuple_delete.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t)] 

5029def wasmtime_component_valtuple_delete(value: Any) -> None: 

5030 return _wasmtime_component_valtuple_delete(value) # type: ignore 

5031 

5032class wasmtime_component_valflags(ctypes.Structure): 

5033 _fields_ = [ 

5034 ("size", ctypes.c_size_t), 

5035 ("data", ctypes.POINTER(wasm_name_t)), 

5036 ] 

5037 size: int 

5038 data: ctypes._Pointer 

5039 

5040wasmtime_component_valflags_t = wasmtime_component_valflags 

5041 

5042_wasmtime_component_valflags_new = dll.wasmtime_component_valflags_new 

5043_wasmtime_component_valflags_new.restype = None 

5044_wasmtime_component_valflags_new.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t), ctypes.c_size_t, ctypes.POINTER(wasm_name_t)] 

5045def wasmtime_component_valflags_new(out: Any, size: Any, ptr: Any) -> None: 

5046 return _wasmtime_component_valflags_new(out, size, ptr) # type: ignore 

5047 

5048_wasmtime_component_valflags_new_empty = dll.wasmtime_component_valflags_new_empty 

5049_wasmtime_component_valflags_new_empty.restype = None 

5050_wasmtime_component_valflags_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t)] 

5051def wasmtime_component_valflags_new_empty(out: Any) -> None: 

5052 return _wasmtime_component_valflags_new_empty(out) # type: ignore 

5053 

5054_wasmtime_component_valflags_new_uninit = dll.wasmtime_component_valflags_new_uninit 

5055_wasmtime_component_valflags_new_uninit.restype = None 

5056_wasmtime_component_valflags_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t), ctypes.c_size_t] 

5057def wasmtime_component_valflags_new_uninit(out: Any, size: Any) -> None: 

5058 return _wasmtime_component_valflags_new_uninit(out, size) # type: ignore 

5059 

5060_wasmtime_component_valflags_copy = dll.wasmtime_component_valflags_copy 

5061_wasmtime_component_valflags_copy.restype = None 

5062_wasmtime_component_valflags_copy.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t), ctypes.POINTER(wasmtime_component_valflags_t)] 

5063def wasmtime_component_valflags_copy(dst: Any, src: Any) -> None: 

5064 return _wasmtime_component_valflags_copy(dst, src) # type: ignore 

5065 

5066_wasmtime_component_valflags_delete = dll.wasmtime_component_valflags_delete 

5067_wasmtime_component_valflags_delete.restype = None 

5068_wasmtime_component_valflags_delete.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t)] 

5069def wasmtime_component_valflags_delete(value: Any) -> None: 

5070 return _wasmtime_component_valflags_delete(value) # type: ignore 

5071 

5072class wasmtime_component_valmap(ctypes.Structure): 

5073 _fields_ = [ 

5074 ("size", ctypes.c_size_t), 

5075 ("data", ctypes.POINTER(wasmtime_component_valmap_entry)), 

5076 ] 

5077 size: int 

5078 data: ctypes._Pointer 

5079 

5080wasmtime_component_valmap_t = wasmtime_component_valmap 

5081 

5082_wasmtime_component_valmap_new = dll.wasmtime_component_valmap_new 

5083_wasmtime_component_valmap_new.restype = None 

5084_wasmtime_component_valmap_new.argtypes = [ctypes.POINTER(wasmtime_component_valmap_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_valmap_entry)] 

5085def wasmtime_component_valmap_new(out: Any, size: Any, ptr: Any) -> None: 

5086 return _wasmtime_component_valmap_new(out, size, ptr) # type: ignore 

5087 

5088_wasmtime_component_valmap_new_empty = dll.wasmtime_component_valmap_new_empty 

5089_wasmtime_component_valmap_new_empty.restype = None 

5090_wasmtime_component_valmap_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_valmap_t)] 

5091def wasmtime_component_valmap_new_empty(out: Any) -> None: 

5092 return _wasmtime_component_valmap_new_empty(out) # type: ignore 

5093 

5094_wasmtime_component_valmap_new_uninit = dll.wasmtime_component_valmap_new_uninit 

5095_wasmtime_component_valmap_new_uninit.restype = None 

5096_wasmtime_component_valmap_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_valmap_t), ctypes.c_size_t] 

5097def wasmtime_component_valmap_new_uninit(out: Any, size: Any) -> None: 

5098 return _wasmtime_component_valmap_new_uninit(out, size) # type: ignore 

5099 

5100_wasmtime_component_valmap_copy = dll.wasmtime_component_valmap_copy 

5101_wasmtime_component_valmap_copy.restype = None 

5102_wasmtime_component_valmap_copy.argtypes = [ctypes.POINTER(wasmtime_component_valmap_t), ctypes.POINTER(wasmtime_component_valmap_t)] 

5103def wasmtime_component_valmap_copy(dst: Any, src: Any) -> None: 

5104 return _wasmtime_component_valmap_copy(dst, src) # type: ignore 

5105 

5106_wasmtime_component_valmap_delete = dll.wasmtime_component_valmap_delete 

5107_wasmtime_component_valmap_delete.restype = None 

5108_wasmtime_component_valmap_delete.argtypes = [ctypes.POINTER(wasmtime_component_valmap_t)] 

5109def wasmtime_component_valmap_delete(value: Any) -> None: 

5110 return _wasmtime_component_valmap_delete(value) # type: ignore 

5111 

5112class wasmtime_component_valvariant(ctypes.Structure): 

5113 _fields_ = [ 

5114 ("discriminant", wasm_name_t), 

5115 ("val", ctypes.POINTER(wasmtime_component_val)), 

5116 ] 

5117 discriminant: wasm_name_t 

5118 val: ctypes._Pointer 

5119 

5120wasmtime_component_valvariant_t = wasmtime_component_valvariant 

5121 

5122class wasmtime_component_valresult(ctypes.Structure): 

5123 _fields_ = [ 

5124 ("is_ok", ctypes.c_bool), 

5125 ("val", ctypes.POINTER(wasmtime_component_val)), 

5126 ] 

5127 is_ok: bool 

5128 val: ctypes._Pointer 

5129 

5130wasmtime_component_valresult_t = wasmtime_component_valresult 

5131 

5132class wasmtime_component_valunion(ctypes.Union): 

5133 _fields_ = [ 

5134 ("boolean", ctypes.c_bool), 

5135 ("s8", ctypes.c_int8), 

5136 ("u8", ctypes.c_uint8), 

5137 ("s16", ctypes.c_int16), 

5138 ("u16", ctypes.c_uint16), 

5139 ("s32", ctypes.c_int32), 

5140 ("u32", ctypes.c_uint32), 

5141 ("s64", ctypes.c_int64), 

5142 ("u64", ctypes.c_uint64), 

5143 ("f32", ctypes.c_float), 

5144 ("f64", ctypes.c_double), 

5145 ("character", ctypes.c_uint32), 

5146 ("string", wasm_name_t), 

5147 ("list", wasmtime_component_vallist_t), 

5148 ("record", wasmtime_component_valrecord_t), 

5149 ("tuple", wasmtime_component_valtuple_t), 

5150 ("variant", wasmtime_component_valvariant_t), 

5151 ("enumeration", wasm_name_t), 

5152 ("option", ctypes.POINTER(wasmtime_component_val)), 

5153 ("result", wasmtime_component_valresult_t), 

5154 ("flags", wasmtime_component_valflags_t), 

5155 ("map", wasmtime_component_valmap_t), 

5156 ("resource", ctypes.POINTER(wasmtime_component_resource_any_t)), 

5157 ] 

5158 boolean: bool 

5159 s8: ctypes.c_int8 

5160 u8: ctypes.c_uint8 

5161 s16: ctypes.c_int16 

5162 u16: ctypes.c_uint16 

5163 s32: int 

5164 u32: int 

5165 s64: int 

5166 u64: int 

5167 f32: float 

5168 f64: float 

5169 character: int 

5170 string: wasm_name_t 

5171 list: wasmtime_component_vallist_t 

5172 record: wasmtime_component_valrecord_t 

5173 tuple: wasmtime_component_valtuple_t 

5174 variant: wasmtime_component_valvariant_t 

5175 enumeration: wasm_name_t 

5176 option: ctypes._Pointer 

5177 result: wasmtime_component_valresult_t 

5178 flags: wasmtime_component_valflags_t 

5179 map: wasmtime_component_valmap_t 

5180 resource: ctypes._Pointer 

5181 

5182wasmtime_component_valunion_t = wasmtime_component_valunion 

5183 

5184wasmtime_component_val._fields_ = [ 

5185 ("kind", wasmtime_component_valkind_t), 

5186 ("of", wasmtime_component_valunion_t), 

5187 ] 

5188 

5189wasmtime_component_val_t = wasmtime_component_val 

5190 

5191wasmtime_component_valrecord_entry._fields_ = [ 

5192 ("name", wasm_name_t), 

5193 ("val", wasmtime_component_val_t), 

5194 ] 

5195 

5196wasmtime_component_valrecord_entry_t = wasmtime_component_valrecord_entry 

5197 

5198wasmtime_component_valmap_entry._fields_ = [ 

5199 ("key", wasmtime_component_val_t), 

5200 ("value", wasmtime_component_val_t), 

5201 ] 

5202 

5203wasmtime_component_valmap_entry_t = wasmtime_component_valmap_entry 

5204 

5205_wasmtime_component_val_new = dll.wasmtime_component_val_new 

5206_wasmtime_component_val_new.restype = ctypes.POINTER(wasmtime_component_val_t) 

5207_wasmtime_component_val_new.argtypes = [ctypes.POINTER(wasmtime_component_val_t)] 

5208def wasmtime_component_val_new(val: Any) -> ctypes._Pointer: 

5209 return _wasmtime_component_val_new(val) # type: ignore 

5210 

5211_wasmtime_component_val_free = dll.wasmtime_component_val_free 

5212_wasmtime_component_val_free.restype = None 

5213_wasmtime_component_val_free.argtypes = [ctypes.POINTER(wasmtime_component_val_t)] 

5214def wasmtime_component_val_free(ptr: Any) -> None: 

5215 return _wasmtime_component_val_free(ptr) # type: ignore 

5216 

5217_wasmtime_component_val_clone = dll.wasmtime_component_val_clone 

5218_wasmtime_component_val_clone.restype = None 

5219_wasmtime_component_val_clone.argtypes = [ctypes.POINTER(wasmtime_component_val_t), ctypes.POINTER(wasmtime_component_val_t)] 

5220def wasmtime_component_val_clone(src: Any, dst: Any) -> None: 

5221 return _wasmtime_component_val_clone(src, dst) # type: ignore 

5222 

5223_wasmtime_component_val_delete = dll.wasmtime_component_val_delete 

5224_wasmtime_component_val_delete.restype = None 

5225_wasmtime_component_val_delete.argtypes = [ctypes.POINTER(wasmtime_component_val_t)] 

5226def wasmtime_component_val_delete(value: Any) -> None: 

5227 return _wasmtime_component_val_delete(value) # type: ignore 

5228 

5229 

5230class wasmtime_component_func_anon_0(ctypes.Structure): 

5231 _fields_ = [ 

5232 ("store_id", ctypes.c_uint64), 

5233 ("__private1", ctypes.c_uint32), 

5234 ] 

5235 store_id: int 

5236 __private1: int 

5237class wasmtime_component_func(ctypes.Structure): 

5238 _fields_ = [ 

5239 ("_anon_1", wasmtime_component_func_anon_0), 

5240 ("__private2", ctypes.c_uint32), 

5241 ] 

5242 _anon_1: wasmtime_component_func_anon_0 

5243 __private2: int 

5244 

5245wasmtime_component_func_t = wasmtime_component_func 

5246 

5247_wasmtime_component_func_type = dll.wasmtime_component_func_type 

5248_wasmtime_component_func_type.restype = ctypes.POINTER(wasmtime_component_func_type_t) 

5249_wasmtime_component_func_type.argtypes = [ctypes.POINTER(wasmtime_component_func_t), ctypes.POINTER(wasmtime_context_t)] 

5250def wasmtime_component_func_type(func: Any, context: Any) -> ctypes._Pointer: 

5251 return _wasmtime_component_func_type(func, context) # type: ignore 

5252 

5253_wasmtime_component_func_call = dll.wasmtime_component_func_call 

5254_wasmtime_component_func_call.restype = ctypes.POINTER(wasmtime_error_t) 

5255_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] 

5256def wasmtime_component_func_call(func: Any, context: Any, args: Any, args_size: Any, results: Any, results_size: Any) -> ctypes._Pointer: 

5257 return _wasmtime_component_func_call(func, context, args, args_size, results, results_size) # type: ignore 

5258 

5259_wasmtime_component_func_post_return = dll.wasmtime_component_func_post_return 

5260_wasmtime_component_func_post_return.restype = ctypes.POINTER(wasmtime_error_t) 

5261_wasmtime_component_func_post_return.argtypes = [ctypes.POINTER(wasmtime_component_func_t), ctypes.POINTER(wasmtime_context_t)] 

5262def wasmtime_component_func_post_return(func: Any, context: Any) -> ctypes._Pointer: 

5263 return _wasmtime_component_func_post_return(func, context) # type: ignore 

5264 

5265class wasmtime_component_instance(ctypes.Structure): 

5266 _fields_ = [ 

5267 ("store_id", ctypes.c_uint64), 

5268 ("__private", ctypes.c_uint32), 

5269 ] 

5270 store_id: int 

5271 __private: int 

5272 

5273wasmtime_component_instance_t = wasmtime_component_instance 

5274 

5275_wasmtime_component_instance_get_export_index = dll.wasmtime_component_instance_get_export_index 

5276_wasmtime_component_instance_get_export_index.restype = ctypes.POINTER(wasmtime_component_export_index_t) 

5277_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] 

5278def wasmtime_component_instance_get_export_index(instance: Any, context: Any, instance_export_index: Any, name: Any, name_len: Any) -> ctypes._Pointer: 

5279 return _wasmtime_component_instance_get_export_index(instance, context, instance_export_index, name, name_len) # type: ignore 

5280 

5281_wasmtime_component_instance_get_func = dll.wasmtime_component_instance_get_func 

5282_wasmtime_component_instance_get_func.restype = ctypes.c_bool 

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

5284def wasmtime_component_instance_get_func(instance: Any, context: Any, export_index: Any, func_out: Any) -> bool: 

5285 return _wasmtime_component_instance_get_func(instance, context, export_index, func_out) # type: ignore 

5286 

5287class wasmtime_component_linker_t(ctypes.Structure): 

5288 pass 

5289 

5290class wasmtime_component_linker_instance_t(ctypes.Structure): 

5291 pass 

5292 

5293_wasmtime_component_linker_new = dll.wasmtime_component_linker_new 

5294_wasmtime_component_linker_new.restype = ctypes.POINTER(wasmtime_component_linker_t) 

5295_wasmtime_component_linker_new.argtypes = [ctypes.POINTER(wasm_engine_t)] 

5296def wasmtime_component_linker_new(engine: Any) -> ctypes._Pointer: 

5297 return _wasmtime_component_linker_new(engine) # type: ignore 

5298 

5299_wasmtime_component_linker_allow_shadowing = dll.wasmtime_component_linker_allow_shadowing 

5300_wasmtime_component_linker_allow_shadowing.restype = None 

5301_wasmtime_component_linker_allow_shadowing.argtypes = [ctypes.POINTER(wasmtime_component_linker_t), ctypes.c_bool] 

5302def wasmtime_component_linker_allow_shadowing(linker: Any, allow: Any) -> None: 

5303 return _wasmtime_component_linker_allow_shadowing(linker, allow) # type: ignore 

5304 

5305_wasmtime_component_linker_root = dll.wasmtime_component_linker_root 

5306_wasmtime_component_linker_root.restype = ctypes.POINTER(wasmtime_component_linker_instance_t) 

5307_wasmtime_component_linker_root.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5308def wasmtime_component_linker_root(linker: Any) -> ctypes._Pointer: 

5309 return _wasmtime_component_linker_root(linker) # type: ignore 

5310 

5311_wasmtime_component_linker_instantiate = dll.wasmtime_component_linker_instantiate 

5312_wasmtime_component_linker_instantiate.restype = ctypes.POINTER(wasmtime_error_t) 

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

5314def wasmtime_component_linker_instantiate(linker: Any, context: Any, component: Any, instance_out: Any) -> ctypes._Pointer: 

5315 return _wasmtime_component_linker_instantiate(linker, context, component, instance_out) # type: ignore 

5316 

5317_wasmtime_component_linker_define_unknown_imports_as_traps = dll.wasmtime_component_linker_define_unknown_imports_as_traps 

5318_wasmtime_component_linker_define_unknown_imports_as_traps.restype = ctypes.POINTER(wasmtime_error_t) 

5319_wasmtime_component_linker_define_unknown_imports_as_traps.argtypes = [ctypes.POINTER(wasmtime_component_linker_t), ctypes.POINTER(wasmtime_component_t)] 

5320def wasmtime_component_linker_define_unknown_imports_as_traps(linker: Any, component: Any) -> ctypes._Pointer: 

5321 return _wasmtime_component_linker_define_unknown_imports_as_traps(linker, component) # type: ignore 

5322 

5323_wasmtime_component_linker_delete = dll.wasmtime_component_linker_delete 

5324_wasmtime_component_linker_delete.restype = None 

5325_wasmtime_component_linker_delete.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5326def wasmtime_component_linker_delete(linker: Any) -> None: 

5327 return _wasmtime_component_linker_delete(linker) # type: ignore 

5328 

5329_wasmtime_component_linker_instance_add_instance = dll.wasmtime_component_linker_instance_add_instance 

5330_wasmtime_component_linker_instance_add_instance.restype = ctypes.POINTER(wasmtime_error_t) 

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

5332def wasmtime_component_linker_instance_add_instance(linker_instance: Any, name: Any, name_len: Any, linker_instance_out: Any) -> ctypes._Pointer: 

5333 return _wasmtime_component_linker_instance_add_instance(linker_instance, name, name_len, linker_instance_out) # type: ignore 

5334 

5335_wasmtime_component_linker_instance_add_module = dll.wasmtime_component_linker_instance_add_module 

5336_wasmtime_component_linker_instance_add_module.restype = ctypes.POINTER(wasmtime_error_t) 

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

5338def wasmtime_component_linker_instance_add_module(linker_instance: Any, name: Any, name_len: Any, module: Any) -> ctypes._Pointer: 

5339 return _wasmtime_component_linker_instance_add_module(linker_instance, name, name_len, module) # type: ignore 

5340 

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

5342 

5343_wasmtime_component_linker_instance_add_func = dll.wasmtime_component_linker_instance_add_func 

5344_wasmtime_component_linker_instance_add_func.restype = ctypes.POINTER(wasmtime_error_t) 

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

5346def wasmtime_component_linker_instance_add_func(linker_instance: Any, name: Any, name_len: Any, callback: Any, data: Any, finalizer: Any) -> ctypes._Pointer: 

5347 return _wasmtime_component_linker_instance_add_func(linker_instance, name, name_len, callback, data, finalizer) # type: ignore 

5348 

5349_wasmtime_component_linker_add_wasip2 = dll.wasmtime_component_linker_add_wasip2 

5350_wasmtime_component_linker_add_wasip2.restype = ctypes.POINTER(wasmtime_error_t) 

5351_wasmtime_component_linker_add_wasip2.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5352def wasmtime_component_linker_add_wasip2(linker: Any) -> ctypes._Pointer: 

5353 return _wasmtime_component_linker_add_wasip2(linker) # type: ignore 

5354 

5355_wasmtime_component_linker_add_wasi_http = dll.wasmtime_component_linker_add_wasi_http 

5356_wasmtime_component_linker_add_wasi_http.restype = ctypes.POINTER(wasmtime_error_t) 

5357_wasmtime_component_linker_add_wasi_http.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

5358def wasmtime_component_linker_add_wasi_http(linker: Any) -> ctypes._Pointer: 

5359 return _wasmtime_component_linker_add_wasi_http(linker) # type: ignore 

5360 

5361wasmtime_component_resource_destructor_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.POINTER(wasmtime_context_t), ctypes.c_uint32) 

5362 

5363_wasmtime_component_linker_instance_add_resource = dll.wasmtime_component_linker_instance_add_resource 

5364_wasmtime_component_linker_instance_add_resource.restype = ctypes.POINTER(wasmtime_error_t) 

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

5366def wasmtime_component_linker_instance_add_resource(linker_instance: Any, name: Any, name_len: Any, resource: Any, destructor: Any, data: Any, finalizer: Any) -> ctypes._Pointer: 

5367 return _wasmtime_component_linker_instance_add_resource(linker_instance, name, name_len, resource, destructor, data, finalizer) # type: ignore 

5368 

5369_wasmtime_component_linker_instance_delete = dll.wasmtime_component_linker_instance_delete 

5370_wasmtime_component_linker_instance_delete.restype = None 

5371_wasmtime_component_linker_instance_delete.argtypes = [ctypes.POINTER(wasmtime_component_linker_instance_t)] 

5372def wasmtime_component_linker_instance_delete(linker_instance: Any) -> None: 

5373 return _wasmtime_component_linker_instance_delete(linker_instance) # type: ignore 

5374 

5375_wasmtime_wat2wasm = dll.wasmtime_wat2wasm 

5376_wasmtime_wat2wasm.restype = ctypes.POINTER(wasmtime_error_t) 

5377_wasmtime_wat2wasm.argtypes = [ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasm_byte_vec_t)] 

5378def wasmtime_wat2wasm(wat: Any, wat_len: Any, ret: Any) -> ctypes._Pointer: 

5379 return _wasmtime_wat2wasm(wat, wat_len, ret) # type: ignore