Coverage for wasmtime/_bindings.py: 89%

3525 statements  

« prev     ^ index     » next       coverage.py v7.11.3, created at 2025-12-01 19:40 +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_externtype_t(ctypes.Structure): 

472 pass 

473 

474_wasm_externtype_delete = dll.wasm_externtype_delete 

475_wasm_externtype_delete.restype = None 

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

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

478 return _wasm_externtype_delete(arg0) # type: ignore 

479 

480class wasm_externtype_vec_t(ctypes.Structure): 

481 _fields_ = [ 

482 ("size", ctypes.c_size_t), 

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

484 ] 

485 size: int 

486 data: ctypes._Pointer 

487 

488_wasm_externtype_vec_new_empty = dll.wasm_externtype_vec_new_empty 

489_wasm_externtype_vec_new_empty.restype = None 

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

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

492 return _wasm_externtype_vec_new_empty(out) # type: ignore 

493 

494_wasm_externtype_vec_new_uninitialized = dll.wasm_externtype_vec_new_uninitialized 

495_wasm_externtype_vec_new_uninitialized.restype = None 

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

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

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

499 

500_wasm_externtype_vec_new = dll.wasm_externtype_vec_new 

501_wasm_externtype_vec_new.restype = None 

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

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

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

505 

506_wasm_externtype_vec_copy = dll.wasm_externtype_vec_copy 

507_wasm_externtype_vec_copy.restype = None 

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

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

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

511 

512_wasm_externtype_vec_delete = dll.wasm_externtype_vec_delete 

513_wasm_externtype_vec_delete.restype = None 

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

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

516 return _wasm_externtype_vec_delete(arg0) # type: ignore 

517 

518_wasm_externtype_copy = dll.wasm_externtype_copy 

519_wasm_externtype_copy.restype = ctypes.POINTER(wasm_externtype_t) 

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

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

522 return _wasm_externtype_copy(arg0) # type: ignore 

523 

524wasm_externkind_t = ctypes.c_uint8 

525 

526class wasm_externkind_enum(Enum): 

527 WASM_EXTERN_FUNC = auto() 

528 WASM_EXTERN_GLOBAL = auto() 

529 WASM_EXTERN_TABLE = auto() 

530 WASM_EXTERN_MEMORY = auto() 

531 

532_wasm_externtype_kind = dll.wasm_externtype_kind 

533_wasm_externtype_kind.restype = wasm_externkind_t 

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

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

536 return _wasm_externtype_kind(arg0) # type: ignore 

537 

538_wasm_functype_as_externtype = dll.wasm_functype_as_externtype 

539_wasm_functype_as_externtype.restype = ctypes.POINTER(wasm_externtype_t) 

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

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

542 return _wasm_functype_as_externtype(arg0) # type: ignore 

543 

544_wasm_globaltype_as_externtype = dll.wasm_globaltype_as_externtype 

545_wasm_globaltype_as_externtype.restype = ctypes.POINTER(wasm_externtype_t) 

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

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

548 return _wasm_globaltype_as_externtype(arg0) # type: ignore 

549 

550_wasm_tabletype_as_externtype = dll.wasm_tabletype_as_externtype 

551_wasm_tabletype_as_externtype.restype = ctypes.POINTER(wasm_externtype_t) 

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

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

554 return _wasm_tabletype_as_externtype(arg0) # type: ignore 

555 

556_wasm_memorytype_as_externtype = dll.wasm_memorytype_as_externtype 

557_wasm_memorytype_as_externtype.restype = ctypes.POINTER(wasm_externtype_t) 

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

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

560 return _wasm_memorytype_as_externtype(arg0) # type: ignore 

561 

562_wasm_externtype_as_functype = dll.wasm_externtype_as_functype 

563_wasm_externtype_as_functype.restype = ctypes.POINTER(wasm_functype_t) 

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

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

566 return _wasm_externtype_as_functype(arg0) # type: ignore 

567 

568_wasm_externtype_as_globaltype = dll.wasm_externtype_as_globaltype 

569_wasm_externtype_as_globaltype.restype = ctypes.POINTER(wasm_globaltype_t) 

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

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

572 return _wasm_externtype_as_globaltype(arg0) # type: ignore 

573 

574_wasm_externtype_as_tabletype = dll.wasm_externtype_as_tabletype 

575_wasm_externtype_as_tabletype.restype = ctypes.POINTER(wasm_tabletype_t) 

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

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

578 return _wasm_externtype_as_tabletype(arg0) # type: ignore 

579 

580_wasm_externtype_as_memorytype = dll.wasm_externtype_as_memorytype 

581_wasm_externtype_as_memorytype.restype = ctypes.POINTER(wasm_memorytype_t) 

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

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

584 return _wasm_externtype_as_memorytype(arg0) # type: ignore 

585 

586_wasm_functype_as_externtype_const = dll.wasm_functype_as_externtype_const 

587_wasm_functype_as_externtype_const.restype = ctypes.POINTER(wasm_externtype_t) 

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

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

590 return _wasm_functype_as_externtype_const(arg0) # type: ignore 

591 

592_wasm_globaltype_as_externtype_const = dll.wasm_globaltype_as_externtype_const 

593_wasm_globaltype_as_externtype_const.restype = ctypes.POINTER(wasm_externtype_t) 

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

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

596 return _wasm_globaltype_as_externtype_const(arg0) # type: ignore 

597 

598_wasm_tabletype_as_externtype_const = dll.wasm_tabletype_as_externtype_const 

599_wasm_tabletype_as_externtype_const.restype = ctypes.POINTER(wasm_externtype_t) 

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

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

602 return _wasm_tabletype_as_externtype_const(arg0) # type: ignore 

603 

604_wasm_memorytype_as_externtype_const = dll.wasm_memorytype_as_externtype_const 

605_wasm_memorytype_as_externtype_const.restype = ctypes.POINTER(wasm_externtype_t) 

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

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

608 return _wasm_memorytype_as_externtype_const(arg0) # type: ignore 

609 

610_wasm_externtype_as_functype_const = dll.wasm_externtype_as_functype_const 

611_wasm_externtype_as_functype_const.restype = ctypes.POINTER(wasm_functype_t) 

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

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

614 return _wasm_externtype_as_functype_const(arg0) # type: ignore 

615 

616_wasm_externtype_as_globaltype_const = dll.wasm_externtype_as_globaltype_const 

617_wasm_externtype_as_globaltype_const.restype = ctypes.POINTER(wasm_globaltype_t) 

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

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

620 return _wasm_externtype_as_globaltype_const(arg0) # type: ignore 

621 

622_wasm_externtype_as_tabletype_const = dll.wasm_externtype_as_tabletype_const 

623_wasm_externtype_as_tabletype_const.restype = ctypes.POINTER(wasm_tabletype_t) 

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

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

626 return _wasm_externtype_as_tabletype_const(arg0) # type: ignore 

627 

628_wasm_externtype_as_memorytype_const = dll.wasm_externtype_as_memorytype_const 

629_wasm_externtype_as_memorytype_const.restype = ctypes.POINTER(wasm_memorytype_t) 

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

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

632 return _wasm_externtype_as_memorytype_const(arg0) # type: ignore 

633 

634class wasm_importtype_t(ctypes.Structure): 

635 pass 

636 

637_wasm_importtype_delete = dll.wasm_importtype_delete 

638_wasm_importtype_delete.restype = None 

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

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

641 return _wasm_importtype_delete(arg0) # type: ignore 

642 

643class wasm_importtype_vec_t(ctypes.Structure): 

644 _fields_ = [ 

645 ("size", ctypes.c_size_t), 

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

647 ] 

648 size: int 

649 data: ctypes._Pointer 

650 

651_wasm_importtype_vec_new_empty = dll.wasm_importtype_vec_new_empty 

652_wasm_importtype_vec_new_empty.restype = None 

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

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

655 return _wasm_importtype_vec_new_empty(out) # type: ignore 

656 

657_wasm_importtype_vec_new_uninitialized = dll.wasm_importtype_vec_new_uninitialized 

658_wasm_importtype_vec_new_uninitialized.restype = None 

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

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

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

662 

663_wasm_importtype_vec_new = dll.wasm_importtype_vec_new 

664_wasm_importtype_vec_new.restype = None 

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

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

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

668 

669_wasm_importtype_vec_copy = dll.wasm_importtype_vec_copy 

670_wasm_importtype_vec_copy.restype = None 

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

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

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

674 

675_wasm_importtype_vec_delete = dll.wasm_importtype_vec_delete 

676_wasm_importtype_vec_delete.restype = None 

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

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

679 return _wasm_importtype_vec_delete(arg0) # type: ignore 

680 

681_wasm_importtype_copy = dll.wasm_importtype_copy 

682_wasm_importtype_copy.restype = ctypes.POINTER(wasm_importtype_t) 

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

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

685 return _wasm_importtype_copy(arg0) # type: ignore 

686 

687_wasm_importtype_new = dll.wasm_importtype_new 

688_wasm_importtype_new.restype = ctypes.POINTER(wasm_importtype_t) 

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

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

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

692 

693_wasm_importtype_module = dll.wasm_importtype_module 

694_wasm_importtype_module.restype = ctypes.POINTER(wasm_name_t) 

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

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

697 return _wasm_importtype_module(arg0) # type: ignore 

698 

699_wasm_importtype_name = dll.wasm_importtype_name 

700_wasm_importtype_name.restype = ctypes.POINTER(wasm_name_t) 

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

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

703 return _wasm_importtype_name(arg0) # type: ignore 

704 

705_wasm_importtype_type = dll.wasm_importtype_type 

706_wasm_importtype_type.restype = ctypes.POINTER(wasm_externtype_t) 

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

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

709 return _wasm_importtype_type(arg0) # type: ignore 

710 

711class wasm_exporttype_t(ctypes.Structure): 

712 pass 

713 

714_wasm_exporttype_delete = dll.wasm_exporttype_delete 

715_wasm_exporttype_delete.restype = None 

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

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

718 return _wasm_exporttype_delete(arg0) # type: ignore 

719 

720class wasm_exporttype_vec_t(ctypes.Structure): 

721 _fields_ = [ 

722 ("size", ctypes.c_size_t), 

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

724 ] 

725 size: int 

726 data: ctypes._Pointer 

727 

728_wasm_exporttype_vec_new_empty = dll.wasm_exporttype_vec_new_empty 

729_wasm_exporttype_vec_new_empty.restype = None 

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

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

732 return _wasm_exporttype_vec_new_empty(out) # type: ignore 

733 

734_wasm_exporttype_vec_new_uninitialized = dll.wasm_exporttype_vec_new_uninitialized 

735_wasm_exporttype_vec_new_uninitialized.restype = None 

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

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

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

739 

740_wasm_exporttype_vec_new = dll.wasm_exporttype_vec_new 

741_wasm_exporttype_vec_new.restype = None 

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

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

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

745 

746_wasm_exporttype_vec_copy = dll.wasm_exporttype_vec_copy 

747_wasm_exporttype_vec_copy.restype = None 

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

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

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

751 

752_wasm_exporttype_vec_delete = dll.wasm_exporttype_vec_delete 

753_wasm_exporttype_vec_delete.restype = None 

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

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

756 return _wasm_exporttype_vec_delete(arg0) # type: ignore 

757 

758_wasm_exporttype_copy = dll.wasm_exporttype_copy 

759_wasm_exporttype_copy.restype = ctypes.POINTER(wasm_exporttype_t) 

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

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

762 return _wasm_exporttype_copy(arg0) # type: ignore 

763 

764_wasm_exporttype_new = dll.wasm_exporttype_new 

765_wasm_exporttype_new.restype = ctypes.POINTER(wasm_exporttype_t) 

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

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

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

769 

770_wasm_exporttype_name = dll.wasm_exporttype_name 

771_wasm_exporttype_name.restype = ctypes.POINTER(wasm_name_t) 

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

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

774 return _wasm_exporttype_name(arg0) # type: ignore 

775 

776_wasm_exporttype_type = dll.wasm_exporttype_type 

777_wasm_exporttype_type.restype = ctypes.POINTER(wasm_externtype_t) 

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

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

780 return _wasm_exporttype_type(arg0) # type: ignore 

781 

782_wasm_val_delete = dll.wasm_val_delete 

783_wasm_val_delete.restype = None 

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

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

786 return _wasm_val_delete(v) # type: ignore 

787 

788_wasm_val_copy = dll.wasm_val_copy 

789_wasm_val_copy.restype = None 

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

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

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

793 

794class wasm_val_vec_t(ctypes.Structure): 

795 _fields_ = [ 

796 ("size", ctypes.c_size_t), 

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

798 ] 

799 size: int 

800 data: ctypes._Pointer 

801 

802_wasm_val_vec_new_empty = dll.wasm_val_vec_new_empty 

803_wasm_val_vec_new_empty.restype = None 

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

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

806 return _wasm_val_vec_new_empty(out) # type: ignore 

807 

808_wasm_val_vec_new_uninitialized = dll.wasm_val_vec_new_uninitialized 

809_wasm_val_vec_new_uninitialized.restype = None 

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

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

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

813 

814_wasm_val_vec_new = dll.wasm_val_vec_new 

815_wasm_val_vec_new.restype = None 

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

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

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

819 

820_wasm_val_vec_copy = dll.wasm_val_vec_copy 

821_wasm_val_vec_copy.restype = None 

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

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

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

825 

826_wasm_val_vec_delete = dll.wasm_val_vec_delete 

827_wasm_val_vec_delete.restype = None 

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

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

830 return _wasm_val_vec_delete(arg0) # type: ignore 

831 

832_wasm_ref_delete = dll.wasm_ref_delete 

833_wasm_ref_delete.restype = None 

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

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

836 return _wasm_ref_delete(arg0) # type: ignore 

837 

838_wasm_ref_copy = dll.wasm_ref_copy 

839_wasm_ref_copy.restype = ctypes.POINTER(wasm_ref_t) 

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

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

842 return _wasm_ref_copy(arg0) # type: ignore 

843 

844_wasm_ref_same = dll.wasm_ref_same 

845_wasm_ref_same.restype = ctypes.c_bool 

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

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

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

849 

850_wasm_ref_get_host_info = dll.wasm_ref_get_host_info 

851_wasm_ref_get_host_info.restype = ctypes.c_void_p 

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

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

854 return _wasm_ref_get_host_info(arg0) # type: ignore 

855 

856_wasm_ref_set_host_info = dll.wasm_ref_set_host_info 

857_wasm_ref_set_host_info.restype = None 

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

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

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

861 

862_wasm_ref_set_host_info_with_finalizer = dll.wasm_ref_set_host_info_with_finalizer 

863_wasm_ref_set_host_info_with_finalizer.restype = None 

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

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

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

867 

868class wasm_frame_t(ctypes.Structure): 

869 pass 

870 

871_wasm_frame_delete = dll.wasm_frame_delete 

872_wasm_frame_delete.restype = None 

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

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

875 return _wasm_frame_delete(arg0) # type: ignore 

876 

877class wasm_frame_vec_t(ctypes.Structure): 

878 _fields_ = [ 

879 ("size", ctypes.c_size_t), 

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

881 ] 

882 size: int 

883 data: ctypes._Pointer 

884 

885_wasm_frame_vec_new_empty = dll.wasm_frame_vec_new_empty 

886_wasm_frame_vec_new_empty.restype = None 

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

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

889 return _wasm_frame_vec_new_empty(out) # type: ignore 

890 

891_wasm_frame_vec_new_uninitialized = dll.wasm_frame_vec_new_uninitialized 

892_wasm_frame_vec_new_uninitialized.restype = None 

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

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

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

896 

897_wasm_frame_vec_new = dll.wasm_frame_vec_new 

898_wasm_frame_vec_new.restype = None 

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

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

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

902 

903_wasm_frame_vec_copy = dll.wasm_frame_vec_copy 

904_wasm_frame_vec_copy.restype = None 

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

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

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

908 

909_wasm_frame_vec_delete = dll.wasm_frame_vec_delete 

910_wasm_frame_vec_delete.restype = None 

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

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

913 return _wasm_frame_vec_delete(arg0) # type: ignore 

914 

915_wasm_frame_copy = dll.wasm_frame_copy 

916_wasm_frame_copy.restype = ctypes.POINTER(wasm_frame_t) 

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

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

919 return _wasm_frame_copy(arg0) # type: ignore 

920 

921_wasm_frame_func_index = dll.wasm_frame_func_index 

922_wasm_frame_func_index.restype = ctypes.c_uint32 

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

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

925 return _wasm_frame_func_index(arg0) # type: ignore 

926 

927_wasm_frame_func_offset = dll.wasm_frame_func_offset 

928_wasm_frame_func_offset.restype = ctypes.c_size_t 

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

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

931 return _wasm_frame_func_offset(arg0) # type: ignore 

932 

933_wasm_frame_module_offset = dll.wasm_frame_module_offset 

934_wasm_frame_module_offset.restype = ctypes.c_size_t 

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

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

937 return _wasm_frame_module_offset(arg0) # type: ignore 

938 

939wasm_message_t = wasm_name_t 

940 

941class wasm_trap_t(ctypes.Structure): 

942 pass 

943 

944_wasm_trap_delete = dll.wasm_trap_delete 

945_wasm_trap_delete.restype = None 

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

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

948 return _wasm_trap_delete(arg0) # type: ignore 

949 

950_wasm_trap_copy = dll.wasm_trap_copy 

951_wasm_trap_copy.restype = ctypes.POINTER(wasm_trap_t) 

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

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

954 return _wasm_trap_copy(arg0) # type: ignore 

955 

956_wasm_trap_same = dll.wasm_trap_same 

957_wasm_trap_same.restype = ctypes.c_bool 

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

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

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

961 

962_wasm_trap_get_host_info = dll.wasm_trap_get_host_info 

963_wasm_trap_get_host_info.restype = ctypes.c_void_p 

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

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

966 return _wasm_trap_get_host_info(arg0) # type: ignore 

967 

968_wasm_trap_set_host_info = dll.wasm_trap_set_host_info 

969_wasm_trap_set_host_info.restype = None 

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

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

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

973 

974_wasm_trap_set_host_info_with_finalizer = dll.wasm_trap_set_host_info_with_finalizer 

975_wasm_trap_set_host_info_with_finalizer.restype = None 

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

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

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

979 

980_wasm_trap_as_ref = dll.wasm_trap_as_ref 

981_wasm_trap_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

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

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

984 return _wasm_trap_as_ref(arg0) # type: ignore 

985 

986_wasm_ref_as_trap = dll.wasm_ref_as_trap 

987_wasm_ref_as_trap.restype = ctypes.POINTER(wasm_trap_t) 

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

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

990 return _wasm_ref_as_trap(arg0) # type: ignore 

991 

992_wasm_trap_as_ref_const = dll.wasm_trap_as_ref_const 

993_wasm_trap_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

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

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

996 return _wasm_trap_as_ref_const(arg0) # type: ignore 

997 

998_wasm_ref_as_trap_const = dll.wasm_ref_as_trap_const 

999_wasm_ref_as_trap_const.restype = ctypes.POINTER(wasm_trap_t) 

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

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

1002 return _wasm_ref_as_trap_const(arg0) # type: ignore 

1003 

1004_wasm_trap_new = dll.wasm_trap_new 

1005_wasm_trap_new.restype = ctypes.POINTER(wasm_trap_t) 

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

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

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

1009 

1010_wasm_trap_message = dll.wasm_trap_message 

1011_wasm_trap_message.restype = None 

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

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

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

1015 

1016_wasm_trap_origin = dll.wasm_trap_origin 

1017_wasm_trap_origin.restype = ctypes.POINTER(wasm_frame_t) 

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

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

1020 return _wasm_trap_origin(arg0) # type: ignore 

1021 

1022_wasm_trap_trace = dll.wasm_trap_trace 

1023_wasm_trap_trace.restype = None 

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

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

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

1027 

1028class wasm_foreign_t(ctypes.Structure): 

1029 pass 

1030 

1031_wasm_foreign_delete = dll.wasm_foreign_delete 

1032_wasm_foreign_delete.restype = None 

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

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

1035 return _wasm_foreign_delete(arg0) # type: ignore 

1036 

1037_wasm_foreign_copy = dll.wasm_foreign_copy 

1038_wasm_foreign_copy.restype = ctypes.POINTER(wasm_foreign_t) 

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

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

1041 return _wasm_foreign_copy(arg0) # type: ignore 

1042 

1043_wasm_foreign_same = dll.wasm_foreign_same 

1044_wasm_foreign_same.restype = ctypes.c_bool 

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

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

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

1048 

1049_wasm_foreign_get_host_info = dll.wasm_foreign_get_host_info 

1050_wasm_foreign_get_host_info.restype = ctypes.c_void_p 

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

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

1053 return _wasm_foreign_get_host_info(arg0) # type: ignore 

1054 

1055_wasm_foreign_set_host_info = dll.wasm_foreign_set_host_info 

1056_wasm_foreign_set_host_info.restype = None 

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

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

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

1060 

1061_wasm_foreign_set_host_info_with_finalizer = dll.wasm_foreign_set_host_info_with_finalizer 

1062_wasm_foreign_set_host_info_with_finalizer.restype = None 

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

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

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

1066 

1067_wasm_foreign_as_ref = dll.wasm_foreign_as_ref 

1068_wasm_foreign_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1071 return _wasm_foreign_as_ref(arg0) # type: ignore 

1072 

1073_wasm_ref_as_foreign = dll.wasm_ref_as_foreign 

1074_wasm_ref_as_foreign.restype = ctypes.POINTER(wasm_foreign_t) 

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

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

1077 return _wasm_ref_as_foreign(arg0) # type: ignore 

1078 

1079_wasm_foreign_as_ref_const = dll.wasm_foreign_as_ref_const 

1080_wasm_foreign_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1083 return _wasm_foreign_as_ref_const(arg0) # type: ignore 

1084 

1085_wasm_ref_as_foreign_const = dll.wasm_ref_as_foreign_const 

1086_wasm_ref_as_foreign_const.restype = ctypes.POINTER(wasm_foreign_t) 

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

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

1089 return _wasm_ref_as_foreign_const(arg0) # type: ignore 

1090 

1091_wasm_foreign_new = dll.wasm_foreign_new 

1092_wasm_foreign_new.restype = ctypes.POINTER(wasm_foreign_t) 

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

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

1095 return _wasm_foreign_new(arg0) # type: ignore 

1096 

1097class wasm_module_t(ctypes.Structure): 

1098 pass 

1099 

1100_wasm_module_delete = dll.wasm_module_delete 

1101_wasm_module_delete.restype = None 

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

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

1104 return _wasm_module_delete(arg0) # type: ignore 

1105 

1106_wasm_module_copy = dll.wasm_module_copy 

1107_wasm_module_copy.restype = ctypes.POINTER(wasm_module_t) 

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

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

1110 return _wasm_module_copy(arg0) # type: ignore 

1111 

1112_wasm_module_same = dll.wasm_module_same 

1113_wasm_module_same.restype = ctypes.c_bool 

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

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

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

1117 

1118_wasm_module_get_host_info = dll.wasm_module_get_host_info 

1119_wasm_module_get_host_info.restype = ctypes.c_void_p 

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

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

1122 return _wasm_module_get_host_info(arg0) # type: ignore 

1123 

1124_wasm_module_set_host_info = dll.wasm_module_set_host_info 

1125_wasm_module_set_host_info.restype = None 

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

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

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

1129 

1130_wasm_module_set_host_info_with_finalizer = dll.wasm_module_set_host_info_with_finalizer 

1131_wasm_module_set_host_info_with_finalizer.restype = None 

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

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

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

1135 

1136_wasm_module_as_ref = dll.wasm_module_as_ref 

1137_wasm_module_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1140 return _wasm_module_as_ref(arg0) # type: ignore 

1141 

1142_wasm_ref_as_module = dll.wasm_ref_as_module 

1143_wasm_ref_as_module.restype = ctypes.POINTER(wasm_module_t) 

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

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

1146 return _wasm_ref_as_module(arg0) # type: ignore 

1147 

1148_wasm_module_as_ref_const = dll.wasm_module_as_ref_const 

1149_wasm_module_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1152 return _wasm_module_as_ref_const(arg0) # type: ignore 

1153 

1154_wasm_ref_as_module_const = dll.wasm_ref_as_module_const 

1155_wasm_ref_as_module_const.restype = ctypes.POINTER(wasm_module_t) 

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

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

1158 return _wasm_ref_as_module_const(arg0) # type: ignore 

1159 

1160class wasm_shared_module_t(ctypes.Structure): 

1161 pass 

1162 

1163_wasm_shared_module_delete = dll.wasm_shared_module_delete 

1164_wasm_shared_module_delete.restype = None 

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

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

1167 return _wasm_shared_module_delete(arg0) # type: ignore 

1168 

1169_wasm_module_share = dll.wasm_module_share 

1170_wasm_module_share.restype = ctypes.POINTER(wasm_shared_module_t) 

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

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

1173 return _wasm_module_share(arg0) # type: ignore 

1174 

1175_wasm_module_obtain = dll.wasm_module_obtain 

1176_wasm_module_obtain.restype = ctypes.POINTER(wasm_module_t) 

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

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

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

1180 

1181_wasm_module_new = dll.wasm_module_new 

1182_wasm_module_new.restype = ctypes.POINTER(wasm_module_t) 

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

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

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

1186 

1187_wasm_module_validate = dll.wasm_module_validate 

1188_wasm_module_validate.restype = ctypes.c_bool 

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

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

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

1192 

1193_wasm_module_imports = dll.wasm_module_imports 

1194_wasm_module_imports.restype = None 

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

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

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

1198 

1199_wasm_module_exports = dll.wasm_module_exports 

1200_wasm_module_exports.restype = None 

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

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

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

1204 

1205_wasm_module_serialize = dll.wasm_module_serialize 

1206_wasm_module_serialize.restype = None 

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

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

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

1210 

1211_wasm_module_deserialize = dll.wasm_module_deserialize 

1212_wasm_module_deserialize.restype = ctypes.POINTER(wasm_module_t) 

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

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

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

1216 

1217class wasm_func_t(ctypes.Structure): 

1218 pass 

1219 

1220_wasm_func_delete = dll.wasm_func_delete 

1221_wasm_func_delete.restype = None 

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

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

1224 return _wasm_func_delete(arg0) # type: ignore 

1225 

1226_wasm_func_copy = dll.wasm_func_copy 

1227_wasm_func_copy.restype = ctypes.POINTER(wasm_func_t) 

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

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

1230 return _wasm_func_copy(arg0) # type: ignore 

1231 

1232_wasm_func_same = dll.wasm_func_same 

1233_wasm_func_same.restype = ctypes.c_bool 

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

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

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

1237 

1238_wasm_func_get_host_info = dll.wasm_func_get_host_info 

1239_wasm_func_get_host_info.restype = ctypes.c_void_p 

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

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

1242 return _wasm_func_get_host_info(arg0) # type: ignore 

1243 

1244_wasm_func_set_host_info = dll.wasm_func_set_host_info 

1245_wasm_func_set_host_info.restype = None 

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

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

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

1249 

1250_wasm_func_set_host_info_with_finalizer = dll.wasm_func_set_host_info_with_finalizer 

1251_wasm_func_set_host_info_with_finalizer.restype = None 

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

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

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

1255 

1256_wasm_func_as_ref = dll.wasm_func_as_ref 

1257_wasm_func_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1260 return _wasm_func_as_ref(arg0) # type: ignore 

1261 

1262_wasm_ref_as_func = dll.wasm_ref_as_func 

1263_wasm_ref_as_func.restype = ctypes.POINTER(wasm_func_t) 

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

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

1266 return _wasm_ref_as_func(arg0) # type: ignore 

1267 

1268_wasm_func_as_ref_const = dll.wasm_func_as_ref_const 

1269_wasm_func_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1272 return _wasm_func_as_ref_const(arg0) # type: ignore 

1273 

1274_wasm_ref_as_func_const = dll.wasm_ref_as_func_const 

1275_wasm_ref_as_func_const.restype = ctypes.POINTER(wasm_func_t) 

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

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

1278 return _wasm_ref_as_func_const(arg0) # type: ignore 

1279 

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

1281 

1282wasm_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)) 

1283 

1284_wasm_func_new = dll.wasm_func_new 

1285_wasm_func_new.restype = ctypes.POINTER(wasm_func_t) 

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

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

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

1289 

1290_wasm_func_new_with_env = dll.wasm_func_new_with_env 

1291_wasm_func_new_with_env.restype = ctypes.POINTER(wasm_func_t) 

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

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

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

1295 

1296_wasm_func_type = dll.wasm_func_type 

1297_wasm_func_type.restype = ctypes.POINTER(wasm_functype_t) 

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

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

1300 return _wasm_func_type(arg0) # type: ignore 

1301 

1302_wasm_func_param_arity = dll.wasm_func_param_arity 

1303_wasm_func_param_arity.restype = ctypes.c_size_t 

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

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

1306 return _wasm_func_param_arity(arg0) # type: ignore 

1307 

1308_wasm_func_result_arity = dll.wasm_func_result_arity 

1309_wasm_func_result_arity.restype = ctypes.c_size_t 

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

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

1312 return _wasm_func_result_arity(arg0) # type: ignore 

1313 

1314_wasm_func_call = dll.wasm_func_call 

1315_wasm_func_call.restype = ctypes.POINTER(wasm_trap_t) 

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

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

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

1319 

1320class wasm_global_t(ctypes.Structure): 

1321 pass 

1322 

1323_wasm_global_delete = dll.wasm_global_delete 

1324_wasm_global_delete.restype = None 

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

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

1327 return _wasm_global_delete(arg0) # type: ignore 

1328 

1329_wasm_global_copy = dll.wasm_global_copy 

1330_wasm_global_copy.restype = ctypes.POINTER(wasm_global_t) 

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

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

1333 return _wasm_global_copy(arg0) # type: ignore 

1334 

1335_wasm_global_same = dll.wasm_global_same 

1336_wasm_global_same.restype = ctypes.c_bool 

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

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

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

1340 

1341_wasm_global_get_host_info = dll.wasm_global_get_host_info 

1342_wasm_global_get_host_info.restype = ctypes.c_void_p 

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

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

1345 return _wasm_global_get_host_info(arg0) # type: ignore 

1346 

1347_wasm_global_set_host_info = dll.wasm_global_set_host_info 

1348_wasm_global_set_host_info.restype = None 

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

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

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

1352 

1353_wasm_global_set_host_info_with_finalizer = dll.wasm_global_set_host_info_with_finalizer 

1354_wasm_global_set_host_info_with_finalizer.restype = None 

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

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

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

1358 

1359_wasm_global_as_ref = dll.wasm_global_as_ref 

1360_wasm_global_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1363 return _wasm_global_as_ref(arg0) # type: ignore 

1364 

1365_wasm_ref_as_global = dll.wasm_ref_as_global 

1366_wasm_ref_as_global.restype = ctypes.POINTER(wasm_global_t) 

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

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

1369 return _wasm_ref_as_global(arg0) # type: ignore 

1370 

1371_wasm_global_as_ref_const = dll.wasm_global_as_ref_const 

1372_wasm_global_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1375 return _wasm_global_as_ref_const(arg0) # type: ignore 

1376 

1377_wasm_ref_as_global_const = dll.wasm_ref_as_global_const 

1378_wasm_ref_as_global_const.restype = ctypes.POINTER(wasm_global_t) 

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

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

1381 return _wasm_ref_as_global_const(arg0) # type: ignore 

1382 

1383_wasm_global_new = dll.wasm_global_new 

1384_wasm_global_new.restype = ctypes.POINTER(wasm_global_t) 

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

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

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

1388 

1389_wasm_global_type = dll.wasm_global_type 

1390_wasm_global_type.restype = ctypes.POINTER(wasm_globaltype_t) 

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

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

1393 return _wasm_global_type(arg0) # type: ignore 

1394 

1395_wasm_global_get = dll.wasm_global_get 

1396_wasm_global_get.restype = None 

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

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

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

1400 

1401_wasm_global_set = dll.wasm_global_set 

1402_wasm_global_set.restype = None 

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

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

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

1406 

1407class wasm_table_t(ctypes.Structure): 

1408 pass 

1409 

1410_wasm_table_delete = dll.wasm_table_delete 

1411_wasm_table_delete.restype = None 

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

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

1414 return _wasm_table_delete(arg0) # type: ignore 

1415 

1416_wasm_table_copy = dll.wasm_table_copy 

1417_wasm_table_copy.restype = ctypes.POINTER(wasm_table_t) 

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

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

1420 return _wasm_table_copy(arg0) # type: ignore 

1421 

1422_wasm_table_same = dll.wasm_table_same 

1423_wasm_table_same.restype = ctypes.c_bool 

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

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

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

1427 

1428_wasm_table_get_host_info = dll.wasm_table_get_host_info 

1429_wasm_table_get_host_info.restype = ctypes.c_void_p 

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

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

1432 return _wasm_table_get_host_info(arg0) # type: ignore 

1433 

1434_wasm_table_set_host_info = dll.wasm_table_set_host_info 

1435_wasm_table_set_host_info.restype = None 

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

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

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

1439 

1440_wasm_table_set_host_info_with_finalizer = dll.wasm_table_set_host_info_with_finalizer 

1441_wasm_table_set_host_info_with_finalizer.restype = None 

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

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

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

1445 

1446_wasm_table_as_ref = dll.wasm_table_as_ref 

1447_wasm_table_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1450 return _wasm_table_as_ref(arg0) # type: ignore 

1451 

1452_wasm_ref_as_table = dll.wasm_ref_as_table 

1453_wasm_ref_as_table.restype = ctypes.POINTER(wasm_table_t) 

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

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

1456 return _wasm_ref_as_table(arg0) # type: ignore 

1457 

1458_wasm_table_as_ref_const = dll.wasm_table_as_ref_const 

1459_wasm_table_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1462 return _wasm_table_as_ref_const(arg0) # type: ignore 

1463 

1464_wasm_ref_as_table_const = dll.wasm_ref_as_table_const 

1465_wasm_ref_as_table_const.restype = ctypes.POINTER(wasm_table_t) 

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

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

1468 return _wasm_ref_as_table_const(arg0) # type: ignore 

1469 

1470wasm_table_size_t = ctypes.c_uint32 

1471 

1472_wasm_table_new = dll.wasm_table_new 

1473_wasm_table_new.restype = ctypes.POINTER(wasm_table_t) 

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

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

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

1477 

1478_wasm_table_type = dll.wasm_table_type 

1479_wasm_table_type.restype = ctypes.POINTER(wasm_tabletype_t) 

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

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

1482 return _wasm_table_type(arg0) # type: ignore 

1483 

1484_wasm_table_get = dll.wasm_table_get 

1485_wasm_table_get.restype = ctypes.POINTER(wasm_ref_t) 

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

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

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

1489 

1490_wasm_table_set = dll.wasm_table_set 

1491_wasm_table_set.restype = ctypes.c_bool 

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

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

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

1495 

1496_wasm_table_size = dll.wasm_table_size 

1497_wasm_table_size.restype = wasm_table_size_t 

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

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

1500 return _wasm_table_size(arg0) # type: ignore 

1501 

1502_wasm_table_grow = dll.wasm_table_grow 

1503_wasm_table_grow.restype = ctypes.c_bool 

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

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

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

1507 

1508class wasm_memory_t(ctypes.Structure): 

1509 pass 

1510 

1511_wasm_memory_delete = dll.wasm_memory_delete 

1512_wasm_memory_delete.restype = None 

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

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

1515 return _wasm_memory_delete(arg0) # type: ignore 

1516 

1517_wasm_memory_copy = dll.wasm_memory_copy 

1518_wasm_memory_copy.restype = ctypes.POINTER(wasm_memory_t) 

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

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

1521 return _wasm_memory_copy(arg0) # type: ignore 

1522 

1523_wasm_memory_same = dll.wasm_memory_same 

1524_wasm_memory_same.restype = ctypes.c_bool 

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

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

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

1528 

1529_wasm_memory_get_host_info = dll.wasm_memory_get_host_info 

1530_wasm_memory_get_host_info.restype = ctypes.c_void_p 

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

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

1533 return _wasm_memory_get_host_info(arg0) # type: ignore 

1534 

1535_wasm_memory_set_host_info = dll.wasm_memory_set_host_info 

1536_wasm_memory_set_host_info.restype = None 

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

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

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

1540 

1541_wasm_memory_set_host_info_with_finalizer = dll.wasm_memory_set_host_info_with_finalizer 

1542_wasm_memory_set_host_info_with_finalizer.restype = None 

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

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

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

1546 

1547_wasm_memory_as_ref = dll.wasm_memory_as_ref 

1548_wasm_memory_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1551 return _wasm_memory_as_ref(arg0) # type: ignore 

1552 

1553_wasm_ref_as_memory = dll.wasm_ref_as_memory 

1554_wasm_ref_as_memory.restype = ctypes.POINTER(wasm_memory_t) 

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

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

1557 return _wasm_ref_as_memory(arg0) # type: ignore 

1558 

1559_wasm_memory_as_ref_const = dll.wasm_memory_as_ref_const 

1560_wasm_memory_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1563 return _wasm_memory_as_ref_const(arg0) # type: ignore 

1564 

1565_wasm_ref_as_memory_const = dll.wasm_ref_as_memory_const 

1566_wasm_ref_as_memory_const.restype = ctypes.POINTER(wasm_memory_t) 

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

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

1569 return _wasm_ref_as_memory_const(arg0) # type: ignore 

1570 

1571wasm_memory_pages_t = ctypes.c_uint32 

1572 

1573_wasm_memory_new = dll.wasm_memory_new 

1574_wasm_memory_new.restype = ctypes.POINTER(wasm_memory_t) 

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

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

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

1578 

1579_wasm_memory_type = dll.wasm_memory_type 

1580_wasm_memory_type.restype = ctypes.POINTER(wasm_memorytype_t) 

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

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

1583 return _wasm_memory_type(arg0) # type: ignore 

1584 

1585_wasm_memory_data = dll.wasm_memory_data 

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

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

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

1589 return _wasm_memory_data(arg0) # type: ignore 

1590 

1591_wasm_memory_data_size = dll.wasm_memory_data_size 

1592_wasm_memory_data_size.restype = ctypes.c_size_t 

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

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

1595 return _wasm_memory_data_size(arg0) # type: ignore 

1596 

1597_wasm_memory_size = dll.wasm_memory_size 

1598_wasm_memory_size.restype = wasm_memory_pages_t 

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

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

1601 return _wasm_memory_size(arg0) # type: ignore 

1602 

1603_wasm_memory_grow = dll.wasm_memory_grow 

1604_wasm_memory_grow.restype = ctypes.c_bool 

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

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

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

1608 

1609class wasm_extern_t(ctypes.Structure): 

1610 pass 

1611 

1612_wasm_extern_delete = dll.wasm_extern_delete 

1613_wasm_extern_delete.restype = None 

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

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

1616 return _wasm_extern_delete(arg0) # type: ignore 

1617 

1618_wasm_extern_copy = dll.wasm_extern_copy 

1619_wasm_extern_copy.restype = ctypes.POINTER(wasm_extern_t) 

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

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

1622 return _wasm_extern_copy(arg0) # type: ignore 

1623 

1624_wasm_extern_same = dll.wasm_extern_same 

1625_wasm_extern_same.restype = ctypes.c_bool 

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

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

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

1629 

1630_wasm_extern_get_host_info = dll.wasm_extern_get_host_info 

1631_wasm_extern_get_host_info.restype = ctypes.c_void_p 

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

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

1634 return _wasm_extern_get_host_info(arg0) # type: ignore 

1635 

1636_wasm_extern_set_host_info = dll.wasm_extern_set_host_info 

1637_wasm_extern_set_host_info.restype = None 

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

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

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

1641 

1642_wasm_extern_set_host_info_with_finalizer = dll.wasm_extern_set_host_info_with_finalizer 

1643_wasm_extern_set_host_info_with_finalizer.restype = None 

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

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

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

1647 

1648_wasm_extern_as_ref = dll.wasm_extern_as_ref 

1649_wasm_extern_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1652 return _wasm_extern_as_ref(arg0) # type: ignore 

1653 

1654_wasm_ref_as_extern = dll.wasm_ref_as_extern 

1655_wasm_ref_as_extern.restype = ctypes.POINTER(wasm_extern_t) 

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

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

1658 return _wasm_ref_as_extern(arg0) # type: ignore 

1659 

1660_wasm_extern_as_ref_const = dll.wasm_extern_as_ref_const 

1661_wasm_extern_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1664 return _wasm_extern_as_ref_const(arg0) # type: ignore 

1665 

1666_wasm_ref_as_extern_const = dll.wasm_ref_as_extern_const 

1667_wasm_ref_as_extern_const.restype = ctypes.POINTER(wasm_extern_t) 

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

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

1670 return _wasm_ref_as_extern_const(arg0) # type: ignore 

1671 

1672class wasm_extern_vec_t(ctypes.Structure): 

1673 _fields_ = [ 

1674 ("size", ctypes.c_size_t), 

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

1676 ] 

1677 size: int 

1678 data: ctypes._Pointer 

1679 

1680_wasm_extern_vec_new_empty = dll.wasm_extern_vec_new_empty 

1681_wasm_extern_vec_new_empty.restype = None 

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

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

1684 return _wasm_extern_vec_new_empty(out) # type: ignore 

1685 

1686_wasm_extern_vec_new_uninitialized = dll.wasm_extern_vec_new_uninitialized 

1687_wasm_extern_vec_new_uninitialized.restype = None 

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

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

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

1691 

1692_wasm_extern_vec_new = dll.wasm_extern_vec_new 

1693_wasm_extern_vec_new.restype = None 

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

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

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

1697 

1698_wasm_extern_vec_copy = dll.wasm_extern_vec_copy 

1699_wasm_extern_vec_copy.restype = None 

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

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

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

1703 

1704_wasm_extern_vec_delete = dll.wasm_extern_vec_delete 

1705_wasm_extern_vec_delete.restype = None 

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

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

1708 return _wasm_extern_vec_delete(arg0) # type: ignore 

1709 

1710_wasm_extern_kind = dll.wasm_extern_kind 

1711_wasm_extern_kind.restype = wasm_externkind_t 

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

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

1714 return _wasm_extern_kind(arg0) # type: ignore 

1715 

1716_wasm_extern_type = dll.wasm_extern_type 

1717_wasm_extern_type.restype = ctypes.POINTER(wasm_externtype_t) 

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

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

1720 return _wasm_extern_type(arg0) # type: ignore 

1721 

1722_wasm_func_as_extern = dll.wasm_func_as_extern 

1723_wasm_func_as_extern.restype = ctypes.POINTER(wasm_extern_t) 

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

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

1726 return _wasm_func_as_extern(arg0) # type: ignore 

1727 

1728_wasm_global_as_extern = dll.wasm_global_as_extern 

1729_wasm_global_as_extern.restype = ctypes.POINTER(wasm_extern_t) 

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

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

1732 return _wasm_global_as_extern(arg0) # type: ignore 

1733 

1734_wasm_table_as_extern = dll.wasm_table_as_extern 

1735_wasm_table_as_extern.restype = ctypes.POINTER(wasm_extern_t) 

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

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

1738 return _wasm_table_as_extern(arg0) # type: ignore 

1739 

1740_wasm_memory_as_extern = dll.wasm_memory_as_extern 

1741_wasm_memory_as_extern.restype = ctypes.POINTER(wasm_extern_t) 

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

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

1744 return _wasm_memory_as_extern(arg0) # type: ignore 

1745 

1746_wasm_extern_as_func = dll.wasm_extern_as_func 

1747_wasm_extern_as_func.restype = ctypes.POINTER(wasm_func_t) 

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

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

1750 return _wasm_extern_as_func(arg0) # type: ignore 

1751 

1752_wasm_extern_as_global = dll.wasm_extern_as_global 

1753_wasm_extern_as_global.restype = ctypes.POINTER(wasm_global_t) 

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

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

1756 return _wasm_extern_as_global(arg0) # type: ignore 

1757 

1758_wasm_extern_as_table = dll.wasm_extern_as_table 

1759_wasm_extern_as_table.restype = ctypes.POINTER(wasm_table_t) 

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

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

1762 return _wasm_extern_as_table(arg0) # type: ignore 

1763 

1764_wasm_extern_as_memory = dll.wasm_extern_as_memory 

1765_wasm_extern_as_memory.restype = ctypes.POINTER(wasm_memory_t) 

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

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

1768 return _wasm_extern_as_memory(arg0) # type: ignore 

1769 

1770_wasm_func_as_extern_const = dll.wasm_func_as_extern_const 

1771_wasm_func_as_extern_const.restype = ctypes.POINTER(wasm_extern_t) 

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

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

1774 return _wasm_func_as_extern_const(arg0) # type: ignore 

1775 

1776_wasm_global_as_extern_const = dll.wasm_global_as_extern_const 

1777_wasm_global_as_extern_const.restype = ctypes.POINTER(wasm_extern_t) 

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

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

1780 return _wasm_global_as_extern_const(arg0) # type: ignore 

1781 

1782_wasm_table_as_extern_const = dll.wasm_table_as_extern_const 

1783_wasm_table_as_extern_const.restype = ctypes.POINTER(wasm_extern_t) 

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

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

1786 return _wasm_table_as_extern_const(arg0) # type: ignore 

1787 

1788_wasm_memory_as_extern_const = dll.wasm_memory_as_extern_const 

1789_wasm_memory_as_extern_const.restype = ctypes.POINTER(wasm_extern_t) 

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

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

1792 return _wasm_memory_as_extern_const(arg0) # type: ignore 

1793 

1794_wasm_extern_as_func_const = dll.wasm_extern_as_func_const 

1795_wasm_extern_as_func_const.restype = ctypes.POINTER(wasm_func_t) 

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

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

1798 return _wasm_extern_as_func_const(arg0) # type: ignore 

1799 

1800_wasm_extern_as_global_const = dll.wasm_extern_as_global_const 

1801_wasm_extern_as_global_const.restype = ctypes.POINTER(wasm_global_t) 

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

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

1804 return _wasm_extern_as_global_const(arg0) # type: ignore 

1805 

1806_wasm_extern_as_table_const = dll.wasm_extern_as_table_const 

1807_wasm_extern_as_table_const.restype = ctypes.POINTER(wasm_table_t) 

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

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

1810 return _wasm_extern_as_table_const(arg0) # type: ignore 

1811 

1812_wasm_extern_as_memory_const = dll.wasm_extern_as_memory_const 

1813_wasm_extern_as_memory_const.restype = ctypes.POINTER(wasm_memory_t) 

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

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

1816 return _wasm_extern_as_memory_const(arg0) # type: ignore 

1817 

1818class wasm_instance_t(ctypes.Structure): 

1819 pass 

1820 

1821_wasm_instance_delete = dll.wasm_instance_delete 

1822_wasm_instance_delete.restype = None 

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

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

1825 return _wasm_instance_delete(arg0) # type: ignore 

1826 

1827_wasm_instance_copy = dll.wasm_instance_copy 

1828_wasm_instance_copy.restype = ctypes.POINTER(wasm_instance_t) 

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

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

1831 return _wasm_instance_copy(arg0) # type: ignore 

1832 

1833_wasm_instance_same = dll.wasm_instance_same 

1834_wasm_instance_same.restype = ctypes.c_bool 

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

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

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

1838 

1839_wasm_instance_get_host_info = dll.wasm_instance_get_host_info 

1840_wasm_instance_get_host_info.restype = ctypes.c_void_p 

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

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

1843 return _wasm_instance_get_host_info(arg0) # type: ignore 

1844 

1845_wasm_instance_set_host_info = dll.wasm_instance_set_host_info 

1846_wasm_instance_set_host_info.restype = None 

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

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

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

1850 

1851_wasm_instance_set_host_info_with_finalizer = dll.wasm_instance_set_host_info_with_finalizer 

1852_wasm_instance_set_host_info_with_finalizer.restype = None 

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

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

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

1856 

1857_wasm_instance_as_ref = dll.wasm_instance_as_ref 

1858_wasm_instance_as_ref.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1861 return _wasm_instance_as_ref(arg0) # type: ignore 

1862 

1863_wasm_ref_as_instance = dll.wasm_ref_as_instance 

1864_wasm_ref_as_instance.restype = ctypes.POINTER(wasm_instance_t) 

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

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

1867 return _wasm_ref_as_instance(arg0) # type: ignore 

1868 

1869_wasm_instance_as_ref_const = dll.wasm_instance_as_ref_const 

1870_wasm_instance_as_ref_const.restype = ctypes.POINTER(wasm_ref_t) 

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

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

1873 return _wasm_instance_as_ref_const(arg0) # type: ignore 

1874 

1875_wasm_ref_as_instance_const = dll.wasm_ref_as_instance_const 

1876_wasm_ref_as_instance_const.restype = ctypes.POINTER(wasm_instance_t) 

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

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

1879 return _wasm_ref_as_instance_const(arg0) # type: ignore 

1880 

1881_wasm_instance_new = dll.wasm_instance_new 

1882_wasm_instance_new.restype = ctypes.POINTER(wasm_instance_t) 

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

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

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

1886 

1887_wasm_instance_exports = dll.wasm_instance_exports 

1888_wasm_instance_exports.restype = None 

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

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

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

1892 

1893class wasi_config_t(ctypes.Structure): 

1894 pass 

1895 

1896_wasi_config_delete = dll.wasi_config_delete 

1897_wasi_config_delete.restype = None 

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

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

1900 return _wasi_config_delete(arg0) # type: ignore 

1901 

1902_wasi_config_new = dll.wasi_config_new 

1903_wasi_config_new.restype = ctypes.POINTER(wasi_config_t) 

1904_wasi_config_new.argtypes = [] 

1905def wasi_config_new() -> ctypes._Pointer: 

1906 return _wasi_config_new() # type: ignore 

1907 

1908_wasi_config_set_argv = dll.wasi_config_set_argv 

1909_wasi_config_set_argv.restype = ctypes.c_bool 

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

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

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

1913 

1914_wasi_config_inherit_argv = dll.wasi_config_inherit_argv 

1915_wasi_config_inherit_argv.restype = None 

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

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

1918 return _wasi_config_inherit_argv(config) # type: ignore 

1919 

1920_wasi_config_set_env = dll.wasi_config_set_env 

1921_wasi_config_set_env.restype = ctypes.c_bool 

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

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

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

1925 

1926_wasi_config_inherit_env = dll.wasi_config_inherit_env 

1927_wasi_config_inherit_env.restype = None 

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

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

1930 return _wasi_config_inherit_env(config) # type: ignore 

1931 

1932_wasi_config_set_stdin_file = dll.wasi_config_set_stdin_file 

1933_wasi_config_set_stdin_file.restype = ctypes.c_bool 

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

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

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

1937 

1938_wasi_config_set_stdin_bytes = dll.wasi_config_set_stdin_bytes 

1939_wasi_config_set_stdin_bytes.restype = None 

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

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

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

1943 

1944_wasi_config_inherit_stdin = dll.wasi_config_inherit_stdin 

1945_wasi_config_inherit_stdin.restype = None 

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

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

1948 return _wasi_config_inherit_stdin(config) # type: ignore 

1949 

1950_wasi_config_set_stdout_file = dll.wasi_config_set_stdout_file 

1951_wasi_config_set_stdout_file.restype = ctypes.c_bool 

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

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

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

1955 

1956_wasi_config_inherit_stdout = dll.wasi_config_inherit_stdout 

1957_wasi_config_inherit_stdout.restype = None 

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

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

1960 return _wasi_config_inherit_stdout(config) # type: ignore 

1961 

1962_wasi_config_set_stdout_custom = dll.wasi_config_set_stdout_custom 

1963_wasi_config_set_stdout_custom.restype = None 

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

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

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

1967 

1968_wasi_config_set_stderr_file = dll.wasi_config_set_stderr_file 

1969_wasi_config_set_stderr_file.restype = ctypes.c_bool 

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

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

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

1973 

1974_wasi_config_inherit_stderr = dll.wasi_config_inherit_stderr 

1975_wasi_config_inherit_stderr.restype = None 

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

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

1978 return _wasi_config_inherit_stderr(config) # type: ignore 

1979 

1980_wasi_config_set_stderr_custom = dll.wasi_config_set_stderr_custom 

1981_wasi_config_set_stderr_custom.restype = None 

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

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

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

1985 

1986class wasi_dir_perms_flags(Enum): 

1987 WASMTIME_WASI_DIR_PERMS_READ = 1 

1988 WASMTIME_WASI_DIR_PERMS_WRITE = 2 

1989 

1990wasi_dir_perms = ctypes.c_size_t 

1991 

1992class wasi_file_perms_flags(Enum): 

1993 WASMTIME_WASI_FILE_PERMS_READ = 1 

1994 WASMTIME_WASI_FILE_PERMS_WRITE = 2 

1995 

1996wasi_file_perms = ctypes.c_size_t 

1997 

1998_wasi_config_preopen_dir = dll.wasi_config_preopen_dir 

1999_wasi_config_preopen_dir.restype = ctypes.c_bool 

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

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

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

2003 

2004class wasmtime_error(ctypes.Structure): 

2005 pass 

2006 

2007wasmtime_error_t = wasmtime_error 

2008 

2009_wasmtime_error_new = dll.wasmtime_error_new 

2010_wasmtime_error_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

2013 return _wasmtime_error_new(arg0) # type: ignore 

2014 

2015_wasmtime_error_delete = dll.wasmtime_error_delete 

2016_wasmtime_error_delete.restype = None 

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

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

2019 return _wasmtime_error_delete(error) # type: ignore 

2020 

2021_wasmtime_error_message = dll.wasmtime_error_message 

2022_wasmtime_error_message.restype = None 

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

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

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

2026 

2027_wasmtime_error_exit_status = dll.wasmtime_error_exit_status 

2028_wasmtime_error_exit_status.restype = ctypes.c_bool 

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

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

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

2032 

2033_wasmtime_error_wasm_trace = dll.wasmtime_error_wasm_trace 

2034_wasmtime_error_wasm_trace.restype = None 

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

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

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

2038 

2039wasmtime_strategy_t = ctypes.c_uint8 

2040 

2041class wasmtime_strategy_enum(Enum): 

2042 WASMTIME_STRATEGY_AUTO = auto() 

2043 WASMTIME_STRATEGY_CRANELIFT = auto() 

2044 

2045wasmtime_opt_level_t = ctypes.c_uint8 

2046 

2047class wasmtime_opt_level_enum(Enum): 

2048 WASMTIME_OPT_LEVEL_NONE = auto() 

2049 WASMTIME_OPT_LEVEL_SPEED = auto() 

2050 WASMTIME_OPT_LEVEL_SPEED_AND_SIZE = auto() 

2051 

2052wasmtime_profiling_strategy_t = ctypes.c_uint8 

2053 

2054class wasmtime_profiling_strategy_enum(Enum): 

2055 WASMTIME_PROFILING_STRATEGY_NONE = auto() 

2056 WASMTIME_PROFILING_STRATEGY_JITDUMP = auto() 

2057 WASMTIME_PROFILING_STRATEGY_VTUNE = auto() 

2058 WASMTIME_PROFILING_STRATEGY_PERFMAP = auto() 

2059 

2060_wasmtime_config_debug_info_set = dll.wasmtime_config_debug_info_set 

2061_wasmtime_config_debug_info_set.restype = None 

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

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

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

2065 

2066_wasmtime_config_consume_fuel_set = dll.wasmtime_config_consume_fuel_set 

2067_wasmtime_config_consume_fuel_set.restype = None 

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

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

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

2071 

2072_wasmtime_config_epoch_interruption_set = dll.wasmtime_config_epoch_interruption_set 

2073_wasmtime_config_epoch_interruption_set.restype = None 

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

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

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

2077 

2078_wasmtime_config_max_wasm_stack_set = dll.wasmtime_config_max_wasm_stack_set 

2079_wasmtime_config_max_wasm_stack_set.restype = None 

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

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

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

2083 

2084_wasmtime_config_wasm_threads_set = dll.wasmtime_config_wasm_threads_set 

2085_wasmtime_config_wasm_threads_set.restype = None 

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

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

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

2089 

2090_wasmtime_config_wasm_tail_call_set = dll.wasmtime_config_wasm_tail_call_set 

2091_wasmtime_config_wasm_tail_call_set.restype = None 

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

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

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

2095 

2096_wasmtime_config_wasm_reference_types_set = dll.wasmtime_config_wasm_reference_types_set 

2097_wasmtime_config_wasm_reference_types_set.restype = None 

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

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

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

2101 

2102_wasmtime_config_wasm_function_references_set = dll.wasmtime_config_wasm_function_references_set 

2103_wasmtime_config_wasm_function_references_set.restype = None 

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

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

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

2107 

2108_wasmtime_config_wasm_gc_set = dll.wasmtime_config_wasm_gc_set 

2109_wasmtime_config_wasm_gc_set.restype = None 

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

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

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

2113 

2114_wasmtime_config_wasm_simd_set = dll.wasmtime_config_wasm_simd_set 

2115_wasmtime_config_wasm_simd_set.restype = None 

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

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

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

2119 

2120_wasmtime_config_wasm_relaxed_simd_set = dll.wasmtime_config_wasm_relaxed_simd_set 

2121_wasmtime_config_wasm_relaxed_simd_set.restype = None 

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

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

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

2125 

2126_wasmtime_config_wasm_relaxed_simd_deterministic_set = dll.wasmtime_config_wasm_relaxed_simd_deterministic_set 

2127_wasmtime_config_wasm_relaxed_simd_deterministic_set.restype = None 

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

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

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

2131 

2132_wasmtime_config_wasm_bulk_memory_set = dll.wasmtime_config_wasm_bulk_memory_set 

2133_wasmtime_config_wasm_bulk_memory_set.restype = None 

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

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

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

2137 

2138_wasmtime_config_wasm_multi_value_set = dll.wasmtime_config_wasm_multi_value_set 

2139_wasmtime_config_wasm_multi_value_set.restype = None 

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

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

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

2143 

2144_wasmtime_config_wasm_multi_memory_set = dll.wasmtime_config_wasm_multi_memory_set 

2145_wasmtime_config_wasm_multi_memory_set.restype = None 

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

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

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

2149 

2150_wasmtime_config_wasm_memory64_set = dll.wasmtime_config_wasm_memory64_set 

2151_wasmtime_config_wasm_memory64_set.restype = None 

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

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

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

2155 

2156_wasmtime_config_wasm_wide_arithmetic_set = dll.wasmtime_config_wasm_wide_arithmetic_set 

2157_wasmtime_config_wasm_wide_arithmetic_set.restype = None 

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

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

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

2161 

2162_wasmtime_config_wasm_exceptions_set = dll.wasmtime_config_wasm_exceptions_set 

2163_wasmtime_config_wasm_exceptions_set.restype = None 

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

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

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

2167 

2168_wasmtime_config_wasm_custom_page_sizes_set = dll.wasmtime_config_wasm_custom_page_sizes_set 

2169_wasmtime_config_wasm_custom_page_sizes_set.restype = None 

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

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

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

2173 

2174_wasmtime_config_wasm_stack_switching_set = dll.wasmtime_config_wasm_stack_switching_set 

2175_wasmtime_config_wasm_stack_switching_set.restype = None 

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

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

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

2179 

2180_wasmtime_config_strategy_set = dll.wasmtime_config_strategy_set 

2181_wasmtime_config_strategy_set.restype = None 

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

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

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

2185 

2186_wasmtime_config_parallel_compilation_set = dll.wasmtime_config_parallel_compilation_set 

2187_wasmtime_config_parallel_compilation_set.restype = None 

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

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

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

2191 

2192_wasmtime_config_cranelift_debug_verifier_set = dll.wasmtime_config_cranelift_debug_verifier_set 

2193_wasmtime_config_cranelift_debug_verifier_set.restype = None 

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

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

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

2197 

2198_wasmtime_config_cranelift_nan_canonicalization_set = dll.wasmtime_config_cranelift_nan_canonicalization_set 

2199_wasmtime_config_cranelift_nan_canonicalization_set.restype = None 

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

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

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

2203 

2204_wasmtime_config_cranelift_opt_level_set = dll.wasmtime_config_cranelift_opt_level_set 

2205_wasmtime_config_cranelift_opt_level_set.restype = None 

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

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

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

2209 

2210_wasmtime_config_profiler_set = dll.wasmtime_config_profiler_set 

2211_wasmtime_config_profiler_set.restype = None 

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

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

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

2215 

2216_wasmtime_config_memory_may_move_set = dll.wasmtime_config_memory_may_move_set 

2217_wasmtime_config_memory_may_move_set.restype = None 

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

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

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

2221 

2222_wasmtime_config_memory_reservation_set = dll.wasmtime_config_memory_reservation_set 

2223_wasmtime_config_memory_reservation_set.restype = None 

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

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

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

2227 

2228_wasmtime_config_memory_guard_size_set = dll.wasmtime_config_memory_guard_size_set 

2229_wasmtime_config_memory_guard_size_set.restype = None 

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

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

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

2233 

2234_wasmtime_config_memory_reservation_for_growth_set = dll.wasmtime_config_memory_reservation_for_growth_set 

2235_wasmtime_config_memory_reservation_for_growth_set.restype = None 

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

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

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

2239 

2240_wasmtime_config_native_unwind_info_set = dll.wasmtime_config_native_unwind_info_set 

2241_wasmtime_config_native_unwind_info_set.restype = None 

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

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

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

2245 

2246_wasmtime_config_cache_config_load = dll.wasmtime_config_cache_config_load 

2247_wasmtime_config_cache_config_load.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2251 

2252_wasmtime_config_target_set = dll.wasmtime_config_target_set 

2253_wasmtime_config_target_set.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2257 

2258_wasmtime_config_cranelift_flag_enable = dll.wasmtime_config_cranelift_flag_enable 

2259_wasmtime_config_cranelift_flag_enable.restype = None 

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

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

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

2263 

2264_wasmtime_config_cranelift_flag_set = dll.wasmtime_config_cranelift_flag_set 

2265_wasmtime_config_cranelift_flag_set.restype = None 

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

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

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

2269 

2270_wasmtime_config_macos_use_mach_ports_set = dll.wasmtime_config_macos_use_mach_ports_set 

2271_wasmtime_config_macos_use_mach_ports_set.restype = None 

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

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

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

2275 

2276_wasmtime_config_signals_based_traps_set = dll.wasmtime_config_signals_based_traps_set 

2277_wasmtime_config_signals_based_traps_set.restype = None 

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

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

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

2281 

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

2283 

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

2285 

2286class wasmtime_linear_memory(ctypes.Structure): 

2287 _fields_ = [ 

2288 ("env", ctypes.c_void_p), 

2289 ("get_memory", wasmtime_memory_get_callback_t), 

2290 ("grow_memory", wasmtime_memory_grow_callback_t), 

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

2292 ] 

2293 env: ctypes._Pointer 

2294 get_memory: ctypes._Pointer 

2295 grow_memory: ctypes._Pointer 

2296 finalizer: ctypes._Pointer 

2297 

2298wasmtime_linear_memory_t = wasmtime_linear_memory 

2299 

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

2301 

2302class wasmtime_memory_creator(ctypes.Structure): 

2303 _fields_ = [ 

2304 ("env", ctypes.c_void_p), 

2305 ("new_memory", wasmtime_new_memory_callback_t), 

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

2307 ] 

2308 env: ctypes._Pointer 

2309 new_memory: ctypes._Pointer 

2310 finalizer: ctypes._Pointer 

2311 

2312wasmtime_memory_creator_t = wasmtime_memory_creator 

2313 

2314_wasmtime_config_host_memory_creator_set = dll.wasmtime_config_host_memory_creator_set 

2315_wasmtime_config_host_memory_creator_set.restype = None 

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

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

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

2319 

2320_wasmtime_config_memory_init_cow_set = dll.wasmtime_config_memory_init_cow_set 

2321_wasmtime_config_memory_init_cow_set.restype = None 

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

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

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

2325 

2326class wasmtime_pooling_allocation_config_t(ctypes.Structure): 

2327 pass 

2328 

2329_wasmtime_pooling_allocation_config_new = dll.wasmtime_pooling_allocation_config_new 

2330_wasmtime_pooling_allocation_config_new.restype = ctypes.POINTER(wasmtime_pooling_allocation_config_t) 

2331_wasmtime_pooling_allocation_config_new.argtypes = [] 

2332def wasmtime_pooling_allocation_config_new() -> ctypes._Pointer: 

2333 return _wasmtime_pooling_allocation_config_new() # type: ignore 

2334 

2335_wasmtime_pooling_allocation_config_delete = dll.wasmtime_pooling_allocation_config_delete 

2336_wasmtime_pooling_allocation_config_delete.restype = None 

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

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

2339 return _wasmtime_pooling_allocation_config_delete(arg0) # type: ignore 

2340 

2341_wasmtime_pooling_allocation_config_max_unused_warm_slots_set = dll.wasmtime_pooling_allocation_config_max_unused_warm_slots_set 

2342_wasmtime_pooling_allocation_config_max_unused_warm_slots_set.restype = None 

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

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

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

2346 

2347_wasmtime_pooling_allocation_config_decommit_batch_size_set = dll.wasmtime_pooling_allocation_config_decommit_batch_size_set 

2348_wasmtime_pooling_allocation_config_decommit_batch_size_set.restype = None 

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

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

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

2352 

2353_wasmtime_pooling_allocation_config_async_stack_keep_resident_set = dll.wasmtime_pooling_allocation_config_async_stack_keep_resident_set 

2354_wasmtime_pooling_allocation_config_async_stack_keep_resident_set.restype = None 

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

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

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

2358 

2359_wasmtime_pooling_allocation_config_linear_memory_keep_resident_set = dll.wasmtime_pooling_allocation_config_linear_memory_keep_resident_set 

2360_wasmtime_pooling_allocation_config_linear_memory_keep_resident_set.restype = None 

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

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

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

2364 

2365_wasmtime_pooling_allocation_config_table_keep_resident_set = dll.wasmtime_pooling_allocation_config_table_keep_resident_set 

2366_wasmtime_pooling_allocation_config_table_keep_resident_set.restype = None 

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

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

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

2370 

2371_wasmtime_pooling_allocation_config_total_component_instances_set = dll.wasmtime_pooling_allocation_config_total_component_instances_set 

2372_wasmtime_pooling_allocation_config_total_component_instances_set.restype = None 

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

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

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

2376 

2377_wasmtime_pooling_allocation_config_max_component_instance_size_set = dll.wasmtime_pooling_allocation_config_max_component_instance_size_set 

2378_wasmtime_pooling_allocation_config_max_component_instance_size_set.restype = None 

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

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

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

2382 

2383_wasmtime_pooling_allocation_config_max_core_instances_per_component_set = dll.wasmtime_pooling_allocation_config_max_core_instances_per_component_set 

2384_wasmtime_pooling_allocation_config_max_core_instances_per_component_set.restype = None 

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

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

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

2388 

2389_wasmtime_pooling_allocation_config_max_memories_per_component_set = dll.wasmtime_pooling_allocation_config_max_memories_per_component_set 

2390_wasmtime_pooling_allocation_config_max_memories_per_component_set.restype = None 

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

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

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

2394 

2395_wasmtime_pooling_allocation_config_max_tables_per_component_set = dll.wasmtime_pooling_allocation_config_max_tables_per_component_set 

2396_wasmtime_pooling_allocation_config_max_tables_per_component_set.restype = None 

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

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

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

2400 

2401_wasmtime_pooling_allocation_config_total_memories_set = dll.wasmtime_pooling_allocation_config_total_memories_set 

2402_wasmtime_pooling_allocation_config_total_memories_set.restype = None 

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

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

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

2406 

2407_wasmtime_pooling_allocation_config_total_tables_set = dll.wasmtime_pooling_allocation_config_total_tables_set 

2408_wasmtime_pooling_allocation_config_total_tables_set.restype = None 

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

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

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

2412 

2413_wasmtime_pooling_allocation_config_total_stacks_set = dll.wasmtime_pooling_allocation_config_total_stacks_set 

2414_wasmtime_pooling_allocation_config_total_stacks_set.restype = None 

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

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

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

2418 

2419_wasmtime_pooling_allocation_config_total_core_instances_set = dll.wasmtime_pooling_allocation_config_total_core_instances_set 

2420_wasmtime_pooling_allocation_config_total_core_instances_set.restype = None 

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

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

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

2424 

2425_wasmtime_pooling_allocation_config_max_core_instance_size_set = dll.wasmtime_pooling_allocation_config_max_core_instance_size_set 

2426_wasmtime_pooling_allocation_config_max_core_instance_size_set.restype = None 

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

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

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

2430 

2431_wasmtime_pooling_allocation_config_max_tables_per_module_set = dll.wasmtime_pooling_allocation_config_max_tables_per_module_set 

2432_wasmtime_pooling_allocation_config_max_tables_per_module_set.restype = None 

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

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

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

2436 

2437_wasmtime_pooling_allocation_config_table_elements_set = dll.wasmtime_pooling_allocation_config_table_elements_set 

2438_wasmtime_pooling_allocation_config_table_elements_set.restype = None 

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

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

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

2442 

2443_wasmtime_pooling_allocation_config_max_memories_per_module_set = dll.wasmtime_pooling_allocation_config_max_memories_per_module_set 

2444_wasmtime_pooling_allocation_config_max_memories_per_module_set.restype = None 

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

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

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

2448 

2449_wasmtime_pooling_allocation_config_max_memory_size_set = dll.wasmtime_pooling_allocation_config_max_memory_size_set 

2450_wasmtime_pooling_allocation_config_max_memory_size_set.restype = None 

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

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

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

2454 

2455_wasmtime_pooling_allocation_config_total_gc_heaps_set = dll.wasmtime_pooling_allocation_config_total_gc_heaps_set 

2456_wasmtime_pooling_allocation_config_total_gc_heaps_set.restype = None 

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

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

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

2460 

2461_wasmtime_pooling_allocation_strategy_set = dll.wasmtime_pooling_allocation_strategy_set 

2462_wasmtime_pooling_allocation_strategy_set.restype = None 

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

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

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

2466 

2467_wasmtime_config_wasm_component_model_set = dll.wasmtime_config_wasm_component_model_set 

2468_wasmtime_config_wasm_component_model_set.restype = None 

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

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

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

2472 

2473_wasmtime_engine_clone = dll.wasmtime_engine_clone 

2474_wasmtime_engine_clone.restype = ctypes.POINTER(wasm_engine_t) 

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

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

2477 return _wasmtime_engine_clone(engine) # type: ignore 

2478 

2479_wasmtime_engine_increment_epoch = dll.wasmtime_engine_increment_epoch 

2480_wasmtime_engine_increment_epoch.restype = None 

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

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

2483 return _wasmtime_engine_increment_epoch(engine) # type: ignore 

2484 

2485_wasmtime_engine_is_pulley = dll.wasmtime_engine_is_pulley 

2486_wasmtime_engine_is_pulley.restype = ctypes.c_bool 

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

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

2489 return _wasmtime_engine_is_pulley(engine) # type: ignore 

2490 

2491class wasmtime_module(ctypes.Structure): 

2492 pass 

2493 

2494wasmtime_module_t = wasmtime_module 

2495 

2496_wasmtime_module_new = dll.wasmtime_module_new 

2497_wasmtime_module_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2501 

2502_wasmtime_module_delete = dll.wasmtime_module_delete 

2503_wasmtime_module_delete.restype = None 

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

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

2506 return _wasmtime_module_delete(m) # type: ignore 

2507 

2508_wasmtime_module_clone = dll.wasmtime_module_clone 

2509_wasmtime_module_clone.restype = ctypes.POINTER(wasmtime_module_t) 

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

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

2512 return _wasmtime_module_clone(m) # type: ignore 

2513 

2514_wasmtime_module_imports = dll.wasmtime_module_imports 

2515_wasmtime_module_imports.restype = None 

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

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

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

2519 

2520_wasmtime_module_exports = dll.wasmtime_module_exports 

2521_wasmtime_module_exports.restype = None 

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

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

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

2525 

2526_wasmtime_module_validate = dll.wasmtime_module_validate 

2527_wasmtime_module_validate.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2531 

2532_wasmtime_module_serialize = dll.wasmtime_module_serialize 

2533_wasmtime_module_serialize.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2537 

2538_wasmtime_module_deserialize = dll.wasmtime_module_deserialize 

2539_wasmtime_module_deserialize.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2543 

2544_wasmtime_module_deserialize_file = dll.wasmtime_module_deserialize_file 

2545_wasmtime_module_deserialize_file.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2549 

2550_wasmtime_module_image_range = dll.wasmtime_module_image_range 

2551_wasmtime_module_image_range.restype = None 

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

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

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

2555 

2556class wasmtime_sharedmemory(ctypes.Structure): 

2557 pass 

2558 

2559wasmtime_sharedmemory_t = wasmtime_sharedmemory 

2560 

2561_wasmtime_sharedmemory_new = dll.wasmtime_sharedmemory_new 

2562_wasmtime_sharedmemory_new.restype = ctypes.POINTER(wasmtime_error_t) 

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

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

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

2566 

2567_wasmtime_sharedmemory_delete = dll.wasmtime_sharedmemory_delete 

2568_wasmtime_sharedmemory_delete.restype = None 

2569_wasmtime_sharedmemory_delete.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

2570def wasmtime_sharedmemory_delete(memory: Any) -> None: 

2571 return _wasmtime_sharedmemory_delete(memory) # type: ignore 

2572 

2573_wasmtime_sharedmemory_clone = dll.wasmtime_sharedmemory_clone 

2574_wasmtime_sharedmemory_clone.restype = ctypes.POINTER(wasmtime_sharedmemory_t) 

2575_wasmtime_sharedmemory_clone.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

2576def wasmtime_sharedmemory_clone(memory: Any) -> ctypes._Pointer: 

2577 return _wasmtime_sharedmemory_clone(memory) # type: ignore 

2578 

2579_wasmtime_sharedmemory_type = dll.wasmtime_sharedmemory_type 

2580_wasmtime_sharedmemory_type.restype = ctypes.POINTER(wasm_memorytype_t) 

2581_wasmtime_sharedmemory_type.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

2582def wasmtime_sharedmemory_type(memory: Any) -> ctypes._Pointer: 

2583 return _wasmtime_sharedmemory_type(memory) # type: ignore 

2584 

2585_wasmtime_sharedmemory_data = dll.wasmtime_sharedmemory_data 

2586_wasmtime_sharedmemory_data.restype = ctypes.POINTER(ctypes.c_uint8) 

2587_wasmtime_sharedmemory_data.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

2588def wasmtime_sharedmemory_data(memory: Any) -> ctypes._Pointer: 

2589 return _wasmtime_sharedmemory_data(memory) # type: ignore 

2590 

2591_wasmtime_sharedmemory_data_size = dll.wasmtime_sharedmemory_data_size 

2592_wasmtime_sharedmemory_data_size.restype = ctypes.c_size_t 

2593_wasmtime_sharedmemory_data_size.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

2594def wasmtime_sharedmemory_data_size(memory: Any) -> int: 

2595 return _wasmtime_sharedmemory_data_size(memory) # type: ignore 

2596 

2597_wasmtime_sharedmemory_size = dll.wasmtime_sharedmemory_size 

2598_wasmtime_sharedmemory_size.restype = ctypes.c_uint64 

2599_wasmtime_sharedmemory_size.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t)] 

2600def wasmtime_sharedmemory_size(memory: Any) -> int: 

2601 return _wasmtime_sharedmemory_size(memory) # type: ignore 

2602 

2603_wasmtime_sharedmemory_grow = dll.wasmtime_sharedmemory_grow 

2604_wasmtime_sharedmemory_grow.restype = ctypes.POINTER(wasmtime_error_t) 

2605_wasmtime_sharedmemory_grow.argtypes = [ctypes.POINTER(wasmtime_sharedmemory_t), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64)] 

2606def wasmtime_sharedmemory_grow(memory: Any, delta: Any, prev_size: Any) -> ctypes._Pointer: 

2607 return _wasmtime_sharedmemory_grow(memory, delta, prev_size) # type: ignore 

2608 

2609class wasmtime_store(ctypes.Structure): 

2610 pass 

2611 

2612wasmtime_store_t = wasmtime_store 

2613 

2614class wasmtime_context(ctypes.Structure): 

2615 pass 

2616 

2617wasmtime_context_t = wasmtime_context 

2618 

2619_wasmtime_store_new = dll.wasmtime_store_new 

2620_wasmtime_store_new.restype = ctypes.POINTER(wasmtime_store_t) 

2621_wasmtime_store_new.argtypes = [ctypes.POINTER(wasm_engine_t), ctypes.c_void_p, ctypes.CFUNCTYPE(None, ctypes.c_void_p)] 

2622def wasmtime_store_new(engine: Any, data: Any, finalizer: Any) -> ctypes._Pointer: 

2623 return _wasmtime_store_new(engine, data, finalizer) # type: ignore 

2624 

2625_wasmtime_store_context = dll.wasmtime_store_context 

2626_wasmtime_store_context.restype = ctypes.POINTER(wasmtime_context_t) 

2627_wasmtime_store_context.argtypes = [ctypes.POINTER(wasmtime_store_t)] 

2628def wasmtime_store_context(store: Any) -> ctypes._Pointer: 

2629 return _wasmtime_store_context(store) # type: ignore 

2630 

2631_wasmtime_store_limiter = dll.wasmtime_store_limiter 

2632_wasmtime_store_limiter.restype = None 

2633_wasmtime_store_limiter.argtypes = [ctypes.POINTER(wasmtime_store_t), ctypes.c_int64, ctypes.c_int64, ctypes.c_int64, ctypes.c_int64, ctypes.c_int64] 

2634def wasmtime_store_limiter(store: Any, memory_size: Any, table_elements: Any, instances: Any, tables: Any, memories: Any) -> None: 

2635 return _wasmtime_store_limiter(store, memory_size, table_elements, instances, tables, memories) # type: ignore 

2636 

2637_wasmtime_store_delete = dll.wasmtime_store_delete 

2638_wasmtime_store_delete.restype = None 

2639_wasmtime_store_delete.argtypes = [ctypes.POINTER(wasmtime_store_t)] 

2640def wasmtime_store_delete(store: Any) -> None: 

2641 return _wasmtime_store_delete(store) # type: ignore 

2642 

2643_wasmtime_context_get_data = dll.wasmtime_context_get_data 

2644_wasmtime_context_get_data.restype = ctypes.c_void_p 

2645_wasmtime_context_get_data.argtypes = [ctypes.POINTER(wasmtime_context_t)] 

2646def wasmtime_context_get_data(context: Any) -> ctypes._Pointer: 

2647 return _wasmtime_context_get_data(context) # type: ignore 

2648 

2649_wasmtime_context_set_data = dll.wasmtime_context_set_data 

2650_wasmtime_context_set_data.restype = None 

2651_wasmtime_context_set_data.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_void_p] 

2652def wasmtime_context_set_data(context: Any, data: Any) -> None: 

2653 return _wasmtime_context_set_data(context, data) # type: ignore 

2654 

2655_wasmtime_context_gc = dll.wasmtime_context_gc 

2656_wasmtime_context_gc.restype = None 

2657_wasmtime_context_gc.argtypes = [ctypes.POINTER(wasmtime_context_t)] 

2658def wasmtime_context_gc(context: Any) -> None: 

2659 return _wasmtime_context_gc(context) # type: ignore 

2660 

2661_wasmtime_context_set_fuel = dll.wasmtime_context_set_fuel 

2662_wasmtime_context_set_fuel.restype = ctypes.POINTER(wasmtime_error_t) 

2663_wasmtime_context_set_fuel.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint64] 

2664def wasmtime_context_set_fuel(store: Any, fuel: Any) -> ctypes._Pointer: 

2665 return _wasmtime_context_set_fuel(store, fuel) # type: ignore 

2666 

2667_wasmtime_context_get_fuel = dll.wasmtime_context_get_fuel 

2668_wasmtime_context_get_fuel.restype = ctypes.POINTER(wasmtime_error_t) 

2669_wasmtime_context_get_fuel.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(ctypes.c_uint64)] 

2670def wasmtime_context_get_fuel(context: Any, fuel: Any) -> ctypes._Pointer: 

2671 return _wasmtime_context_get_fuel(context, fuel) # type: ignore 

2672 

2673_wasmtime_context_set_wasi = dll.wasmtime_context_set_wasi 

2674_wasmtime_context_set_wasi.restype = ctypes.POINTER(wasmtime_error_t) 

2675_wasmtime_context_set_wasi.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasi_config_t)] 

2676def wasmtime_context_set_wasi(context: Any, wasi: Any) -> ctypes._Pointer: 

2677 return _wasmtime_context_set_wasi(context, wasi) # type: ignore 

2678 

2679_wasmtime_context_set_epoch_deadline = dll.wasmtime_context_set_epoch_deadline 

2680_wasmtime_context_set_epoch_deadline.restype = None 

2681_wasmtime_context_set_epoch_deadline.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint64] 

2682def wasmtime_context_set_epoch_deadline(context: Any, ticks_beyond_current: Any) -> None: 

2683 return _wasmtime_context_set_epoch_deadline(context, ticks_beyond_current) # type: ignore 

2684 

2685wasmtime_update_deadline_kind_t = ctypes.c_uint8 

2686 

2687_wasmtime_store_epoch_deadline_callback = dll.wasmtime_store_epoch_deadline_callback 

2688_wasmtime_store_epoch_deadline_callback.restype = None 

2689_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)] 

2690def wasmtime_store_epoch_deadline_callback(store: Any, func: Any, data: Any, finalizer: Any) -> None: 

2691 return _wasmtime_store_epoch_deadline_callback(store, func, data, finalizer) # type: ignore 

2692 

2693class wasmtime_func(ctypes.Structure): 

2694 _fields_ = [ 

2695 ("store_id", ctypes.c_uint64), 

2696 ("__private", ctypes.c_void_p), 

2697 ] 

2698 store_id: int 

2699 __private: ctypes._Pointer 

2700 

2701wasmtime_func_t = wasmtime_func 

2702 

2703 

2704class wasmtime_table_anon_0(ctypes.Structure): 

2705 _fields_ = [ 

2706 ("store_id", ctypes.c_uint64), 

2707 ("__private1", ctypes.c_uint32), 

2708 ] 

2709 store_id: int 

2710 __private1: int 

2711class wasmtime_table(ctypes.Structure): 

2712 _fields_ = [ 

2713 ("_anon_1", wasmtime_table_anon_0), 

2714 ("__private2", ctypes.c_uint32), 

2715 ] 

2716 _anon_1: wasmtime_table_anon_0 

2717 __private2: int 

2718 

2719wasmtime_table_t = wasmtime_table 

2720 

2721 

2722class wasmtime_memory_anon_0(ctypes.Structure): 

2723 _fields_ = [ 

2724 ("store_id", ctypes.c_uint64), 

2725 ("__private1", ctypes.c_uint32), 

2726 ] 

2727 store_id: int 

2728 __private1: int 

2729class wasmtime_memory(ctypes.Structure): 

2730 _fields_ = [ 

2731 ("_anon_1", wasmtime_memory_anon_0), 

2732 ("__private2", ctypes.c_uint32), 

2733 ] 

2734 _anon_1: wasmtime_memory_anon_0 

2735 __private2: int 

2736 

2737wasmtime_memory_t = wasmtime_memory 

2738 

2739class wasmtime_global(ctypes.Structure): 

2740 _fields_ = [ 

2741 ("store_id", ctypes.c_uint64), 

2742 ("__private1", ctypes.c_uint32), 

2743 ("__private2", ctypes.c_uint32), 

2744 ("__private3", ctypes.c_uint32), 

2745 ] 

2746 store_id: int 

2747 __private1: int 

2748 __private2: int 

2749 __private3: int 

2750 

2751wasmtime_global_t = wasmtime_global 

2752 

2753wasmtime_extern_kind_t = ctypes.c_uint8 

2754 

2755class wasmtime_extern_union(ctypes.Union): 

2756 _fields_ = [ 

2757 ("func", wasmtime_func_t), 

2758 ("global_", wasmtime_global_t), 

2759 ("table", wasmtime_table_t), 

2760 ("memory", wasmtime_memory_t), 

2761 ("sharedmemory", ctypes.POINTER(wasmtime_sharedmemory)), 

2762 ] 

2763 func: wasmtime_func_t 

2764 global_: wasmtime_global_t 

2765 table: wasmtime_table_t 

2766 memory: wasmtime_memory_t 

2767 sharedmemory: ctypes._Pointer 

2768 

2769wasmtime_extern_union_t = wasmtime_extern_union 

2770 

2771class wasmtime_extern(ctypes.Structure): 

2772 _fields_ = [ 

2773 ("kind", wasmtime_extern_kind_t), 

2774 ("of", wasmtime_extern_union_t), 

2775 ] 

2776 kind: wasmtime_extern_kind_t 

2777 of: wasmtime_extern_union_t 

2778 

2779wasmtime_extern_t = wasmtime_extern 

2780 

2781_wasmtime_extern_delete = dll.wasmtime_extern_delete 

2782_wasmtime_extern_delete.restype = None 

2783_wasmtime_extern_delete.argtypes = [ctypes.POINTER(wasmtime_extern_t)] 

2784def wasmtime_extern_delete(val: Any) -> None: 

2785 return _wasmtime_extern_delete(val) # type: ignore 

2786 

2787_wasmtime_extern_type = dll.wasmtime_extern_type 

2788_wasmtime_extern_type.restype = ctypes.POINTER(wasm_externtype_t) 

2789_wasmtime_extern_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_extern_t)] 

2790def wasmtime_extern_type(context: Any, val: Any) -> ctypes._Pointer: 

2791 return _wasmtime_extern_type(context, val) # type: ignore 

2792 

2793class wasmtime_anyref(ctypes.Structure): 

2794 _fields_ = [ 

2795 ("store_id", ctypes.c_uint64), 

2796 ("__private1", ctypes.c_uint32), 

2797 ("__private2", ctypes.c_uint32), 

2798 ("__private3", ctypes.c_void_p), 

2799 ] 

2800 store_id: int 

2801 __private1: int 

2802 __private2: int 

2803 __private3: ctypes._Pointer 

2804 

2805wasmtime_anyref_t = wasmtime_anyref 

2806 

2807_wasmtime_anyref_clone = dll.wasmtime_anyref_clone 

2808_wasmtime_anyref_clone.restype = None 

2809_wasmtime_anyref_clone.argtypes = [ctypes.POINTER(wasmtime_anyref_t), ctypes.POINTER(wasmtime_anyref_t)] 

2810def wasmtime_anyref_clone(anyref: Any, out: Any) -> None: 

2811 return _wasmtime_anyref_clone(anyref, out) # type: ignore 

2812 

2813_wasmtime_anyref_unroot = dll.wasmtime_anyref_unroot 

2814_wasmtime_anyref_unroot.restype = None 

2815_wasmtime_anyref_unroot.argtypes = [ctypes.POINTER(wasmtime_anyref_t)] 

2816def wasmtime_anyref_unroot(ref: Any) -> None: 

2817 return _wasmtime_anyref_unroot(ref) # type: ignore 

2818 

2819_wasmtime_anyref_from_raw = dll.wasmtime_anyref_from_raw 

2820_wasmtime_anyref_from_raw.restype = None 

2821_wasmtime_anyref_from_raw.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint32, ctypes.POINTER(wasmtime_anyref_t)] 

2822def wasmtime_anyref_from_raw(context: Any, raw: Any, out: Any) -> None: 

2823 return _wasmtime_anyref_from_raw(context, raw, out) # type: ignore 

2824 

2825_wasmtime_anyref_to_raw = dll.wasmtime_anyref_to_raw 

2826_wasmtime_anyref_to_raw.restype = ctypes.c_uint32 

2827_wasmtime_anyref_to_raw.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t)] 

2828def wasmtime_anyref_to_raw(context: Any, ref: Any) -> int: 

2829 return _wasmtime_anyref_to_raw(context, ref) # type: ignore 

2830 

2831_wasmtime_anyref_from_i31 = dll.wasmtime_anyref_from_i31 

2832_wasmtime_anyref_from_i31.restype = None 

2833_wasmtime_anyref_from_i31.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint32, ctypes.POINTER(wasmtime_anyref_t)] 

2834def wasmtime_anyref_from_i31(context: Any, i31val: Any, out: Any) -> None: 

2835 return _wasmtime_anyref_from_i31(context, i31val, out) # type: ignore 

2836 

2837_wasmtime_anyref_i31_get_u = dll.wasmtime_anyref_i31_get_u 

2838_wasmtime_anyref_i31_get_u.restype = ctypes.c_bool 

2839_wasmtime_anyref_i31_get_u.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t), ctypes.POINTER(ctypes.c_uint32)] 

2840def wasmtime_anyref_i31_get_u(context: Any, anyref: Any, dst: Any) -> bool: 

2841 return _wasmtime_anyref_i31_get_u(context, anyref, dst) # type: ignore 

2842 

2843_wasmtime_anyref_i31_get_s = dll.wasmtime_anyref_i31_get_s 

2844_wasmtime_anyref_i31_get_s.restype = ctypes.c_bool 

2845_wasmtime_anyref_i31_get_s.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_anyref_t), ctypes.POINTER(ctypes.c_int32)] 

2846def wasmtime_anyref_i31_get_s(context: Any, anyref: Any, dst: Any) -> bool: 

2847 return _wasmtime_anyref_i31_get_s(context, anyref, dst) # type: ignore 

2848 

2849class wasmtime_externref(ctypes.Structure): 

2850 _fields_ = [ 

2851 ("store_id", ctypes.c_uint64), 

2852 ("__private1", ctypes.c_uint32), 

2853 ("__private2", ctypes.c_uint32), 

2854 ("__private3", ctypes.c_void_p), 

2855 ] 

2856 store_id: int 

2857 __private1: int 

2858 __private2: int 

2859 __private3: ctypes._Pointer 

2860 

2861wasmtime_externref_t = wasmtime_externref 

2862 

2863_wasmtime_externref_new = dll.wasmtime_externref_new 

2864_wasmtime_externref_new.restype = ctypes.c_bool 

2865_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)] 

2866def wasmtime_externref_new(context: Any, data: Any, finalizer: Any, out: Any) -> bool: 

2867 return _wasmtime_externref_new(context, data, finalizer, out) # type: ignore 

2868 

2869_wasmtime_externref_data = dll.wasmtime_externref_data 

2870_wasmtime_externref_data.restype = ctypes.c_void_p 

2871_wasmtime_externref_data.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_externref_t)] 

2872def wasmtime_externref_data(context: Any, data: Any) -> ctypes._Pointer: 

2873 return _wasmtime_externref_data(context, data) # type: ignore 

2874 

2875_wasmtime_externref_clone = dll.wasmtime_externref_clone 

2876_wasmtime_externref_clone.restype = None 

2877_wasmtime_externref_clone.argtypes = [ctypes.POINTER(wasmtime_externref_t), ctypes.POINTER(wasmtime_externref_t)] 

2878def wasmtime_externref_clone(ref: Any, out: Any) -> None: 

2879 return _wasmtime_externref_clone(ref, out) # type: ignore 

2880 

2881_wasmtime_externref_unroot = dll.wasmtime_externref_unroot 

2882_wasmtime_externref_unroot.restype = None 

2883_wasmtime_externref_unroot.argtypes = [ctypes.POINTER(wasmtime_externref_t)] 

2884def wasmtime_externref_unroot(ref: Any) -> None: 

2885 return _wasmtime_externref_unroot(ref) # type: ignore 

2886 

2887_wasmtime_externref_from_raw = dll.wasmtime_externref_from_raw 

2888_wasmtime_externref_from_raw.restype = None 

2889_wasmtime_externref_from_raw.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint32, ctypes.POINTER(wasmtime_externref_t)] 

2890def wasmtime_externref_from_raw(context: Any, raw: Any, out: Any) -> None: 

2891 return _wasmtime_externref_from_raw(context, raw, out) # type: ignore 

2892 

2893_wasmtime_externref_to_raw = dll.wasmtime_externref_to_raw 

2894_wasmtime_externref_to_raw.restype = ctypes.c_uint32 

2895_wasmtime_externref_to_raw.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_externref_t)] 

2896def wasmtime_externref_to_raw(context: Any, ref: Any) -> int: 

2897 return _wasmtime_externref_to_raw(context, ref) # type: ignore 

2898 

2899wasmtime_valkind_t = ctypes.c_uint8 

2900 

2901wasmtime_v128 = ctypes.c_uint8 * 16 

2902 

2903class wasmtime_valunion(ctypes.Union): 

2904 _fields_ = [ 

2905 ("i32", ctypes.c_int32), 

2906 ("i64", ctypes.c_int64), 

2907 ("f32", ctypes.c_float), 

2908 ("f64", ctypes.c_double), 

2909 ("anyref", wasmtime_anyref_t), 

2910 ("externref", wasmtime_externref_t), 

2911 ("funcref", wasmtime_func_t), 

2912 ("v128", wasmtime_v128), 

2913 ] 

2914 i32: int 

2915 i64: int 

2916 f32: float 

2917 f64: float 

2918 anyref: wasmtime_anyref_t 

2919 externref: wasmtime_externref_t 

2920 funcref: wasmtime_func_t 

2921 v128: wasmtime_v128 # type: ignore 

2922 

2923wasmtime_valunion_t = wasmtime_valunion 

2924 

2925class wasmtime_val_raw(ctypes.Union): 

2926 _fields_ = [ 

2927 ("i32", ctypes.c_int32), 

2928 ("i64", ctypes.c_int64), 

2929 ("f32", ctypes.c_float), 

2930 ("f64", ctypes.c_double), 

2931 ("v128", wasmtime_v128), 

2932 ("anyref", ctypes.c_uint32), 

2933 ("externref", ctypes.c_uint32), 

2934 ("funcref", ctypes.c_void_p), 

2935 ] 

2936 i32: int 

2937 i64: int 

2938 f32: float 

2939 f64: float 

2940 v128: wasmtime_v128 # type: ignore 

2941 anyref: int 

2942 externref: int 

2943 funcref: ctypes._Pointer 

2944 

2945wasmtime_val_raw_t = wasmtime_val_raw 

2946 

2947class wasmtime_val(ctypes.Structure): 

2948 _fields_ = [ 

2949 ("kind", wasmtime_valkind_t), 

2950 ("of", wasmtime_valunion_t), 

2951 ] 

2952 kind: wasmtime_valkind_t 

2953 of: wasmtime_valunion_t 

2954 

2955wasmtime_val_t = wasmtime_val 

2956 

2957_wasmtime_val_unroot = dll.wasmtime_val_unroot 

2958_wasmtime_val_unroot.restype = None 

2959_wasmtime_val_unroot.argtypes = [ctypes.POINTER(wasmtime_val_t)] 

2960def wasmtime_val_unroot(val: Any) -> None: 

2961 return _wasmtime_val_unroot(val) # type: ignore 

2962 

2963_wasmtime_val_clone = dll.wasmtime_val_clone 

2964_wasmtime_val_clone.restype = None 

2965_wasmtime_val_clone.argtypes = [ctypes.POINTER(wasmtime_val_t), ctypes.POINTER(wasmtime_val_t)] 

2966def wasmtime_val_clone(src: Any, dst: Any) -> None: 

2967 return _wasmtime_val_clone(src, dst) # type: ignore 

2968 

2969class wasmtime_caller(ctypes.Structure): 

2970 pass 

2971 

2972wasmtime_caller_t = wasmtime_caller 

2973 

2974wasmtime_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) 

2975 

2976_wasmtime_func_new = dll.wasmtime_func_new 

2977_wasmtime_func_new.restype = None 

2978_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)] 

2979def wasmtime_func_new(store: Any, type: Any, callback: Any, env: Any, finalizer: Any, ret: Any) -> None: 

2980 return _wasmtime_func_new(store, type, callback, env, finalizer, ret) # type: ignore 

2981 

2982wasmtime_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) 

2983 

2984_wasmtime_func_new_unchecked = dll.wasmtime_func_new_unchecked 

2985_wasmtime_func_new_unchecked.restype = None 

2986_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)] 

2987def wasmtime_func_new_unchecked(store: Any, type: Any, callback: Any, env: Any, finalizer: Any, ret: Any) -> None: 

2988 return _wasmtime_func_new_unchecked(store, type, callback, env, finalizer, ret) # type: ignore 

2989 

2990_wasmtime_func_type = dll.wasmtime_func_type 

2991_wasmtime_func_type.restype = ctypes.POINTER(wasm_functype_t) 

2992_wasmtime_func_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_func_t)] 

2993def wasmtime_func_type(store: Any, func: Any) -> ctypes._Pointer: 

2994 return _wasmtime_func_type(store, func) # type: ignore 

2995 

2996_wasmtime_func_call = dll.wasmtime_func_call 

2997_wasmtime_func_call.restype = ctypes.POINTER(wasmtime_error_t) 

2998_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))] 

2999def wasmtime_func_call(store: Any, func: Any, args: Any, nargs: Any, results: Any, nresults: Any, trap: Any) -> ctypes._Pointer: 

3000 return _wasmtime_func_call(store, func, args, nargs, results, nresults, trap) # type: ignore 

3001 

3002_wasmtime_func_call_unchecked = dll.wasmtime_func_call_unchecked 

3003_wasmtime_func_call_unchecked.restype = ctypes.POINTER(wasmtime_error_t) 

3004_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))] 

3005def wasmtime_func_call_unchecked(store: Any, func: Any, args_and_results: Any, args_and_results_len: Any, trap: Any) -> ctypes._Pointer: 

3006 return _wasmtime_func_call_unchecked(store, func, args_and_results, args_and_results_len, trap) # type: ignore 

3007 

3008_wasmtime_caller_export_get = dll.wasmtime_caller_export_get 

3009_wasmtime_caller_export_get.restype = ctypes.c_bool 

3010_wasmtime_caller_export_get.argtypes = [ctypes.POINTER(wasmtime_caller_t), ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasmtime_extern_t)] 

3011def wasmtime_caller_export_get(caller: Any, name: Any, name_len: Any, item: Any) -> bool: 

3012 return _wasmtime_caller_export_get(caller, name, name_len, item) # type: ignore 

3013 

3014_wasmtime_caller_context = dll.wasmtime_caller_context 

3015_wasmtime_caller_context.restype = ctypes.POINTER(wasmtime_context_t) 

3016_wasmtime_caller_context.argtypes = [ctypes.POINTER(wasmtime_caller_t)] 

3017def wasmtime_caller_context(caller: Any) -> ctypes._Pointer: 

3018 return _wasmtime_caller_context(caller) # type: ignore 

3019 

3020_wasmtime_func_from_raw = dll.wasmtime_func_from_raw 

3021_wasmtime_func_from_raw.restype = None 

3022_wasmtime_func_from_raw.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_void_p, ctypes.POINTER(wasmtime_func_t)] 

3023def wasmtime_func_from_raw(context: Any, raw: Any, ret: Any) -> None: 

3024 return _wasmtime_func_from_raw(context, raw, ret) # type: ignore 

3025 

3026_wasmtime_func_to_raw = dll.wasmtime_func_to_raw 

3027_wasmtime_func_to_raw.restype = ctypes.c_void_p 

3028_wasmtime_func_to_raw.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_func_t)] 

3029def wasmtime_func_to_raw(context: Any, func: Any) -> ctypes._Pointer: 

3030 return _wasmtime_func_to_raw(context, func) # type: ignore 

3031 

3032_wasmtime_global_new = dll.wasmtime_global_new 

3033_wasmtime_global_new.restype = ctypes.POINTER(wasmtime_error_t) 

3034_wasmtime_global_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasm_globaltype_t), ctypes.POINTER(wasmtime_val_t), ctypes.POINTER(wasmtime_global_t)] 

3035def wasmtime_global_new(store: Any, type: Any, val: Any, ret: Any) -> ctypes._Pointer: 

3036 return _wasmtime_global_new(store, type, val, ret) # type: ignore 

3037 

3038_wasmtime_global_type = dll.wasmtime_global_type 

3039_wasmtime_global_type.restype = ctypes.POINTER(wasm_globaltype_t) 

3040_wasmtime_global_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_global_t)] 

3041def wasmtime_global_type(store: Any, arg1: Any) -> ctypes._Pointer: 

3042 return _wasmtime_global_type(store, arg1) # type: ignore 

3043 

3044_wasmtime_global_get = dll.wasmtime_global_get 

3045_wasmtime_global_get.restype = None 

3046_wasmtime_global_get.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_global_t), ctypes.POINTER(wasmtime_val_t)] 

3047def wasmtime_global_get(store: Any, arg1: Any, out: Any) -> None: 

3048 return _wasmtime_global_get(store, arg1, out) # type: ignore 

3049 

3050_wasmtime_global_set = dll.wasmtime_global_set 

3051_wasmtime_global_set.restype = ctypes.POINTER(wasmtime_error_t) 

3052_wasmtime_global_set.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_global_t), ctypes.POINTER(wasmtime_val_t)] 

3053def wasmtime_global_set(store: Any, arg1: Any, val: Any) -> ctypes._Pointer: 

3054 return _wasmtime_global_set(store, arg1, val) # type: ignore 

3055 

3056class wasmtime_instance(ctypes.Structure): 

3057 _fields_ = [ 

3058 ("store_id", ctypes.c_uint64), 

3059 ("__private", ctypes.c_size_t), 

3060 ] 

3061 store_id: int 

3062 __private: int 

3063 

3064wasmtime_instance_t = wasmtime_instance 

3065 

3066_wasmtime_instance_new = dll.wasmtime_instance_new 

3067_wasmtime_instance_new.restype = ctypes.POINTER(wasmtime_error_t) 

3068_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))] 

3069def wasmtime_instance_new(store: Any, module: Any, imports: Any, nimports: Any, instance: Any, trap: Any) -> ctypes._Pointer: 

3070 return _wasmtime_instance_new(store, module, imports, nimports, instance, trap) # type: ignore 

3071 

3072_wasmtime_instance_export_get = dll.wasmtime_instance_export_get 

3073_wasmtime_instance_export_get.restype = ctypes.c_bool 

3074_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)] 

3075def wasmtime_instance_export_get(store: Any, instance: Any, name: Any, name_len: Any, item: Any) -> bool: 

3076 return _wasmtime_instance_export_get(store, instance, name, name_len, item) # type: ignore 

3077 

3078_wasmtime_instance_export_nth = dll.wasmtime_instance_export_nth 

3079_wasmtime_instance_export_nth.restype = ctypes.c_bool 

3080_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)] 

3081def wasmtime_instance_export_nth(store: Any, instance: Any, index: Any, name: Any, name_len: Any, item: Any) -> bool: 

3082 return _wasmtime_instance_export_nth(store, instance, index, name, name_len, item) # type: ignore 

3083 

3084class wasmtime_instance_pre(ctypes.Structure): 

3085 pass 

3086 

3087wasmtime_instance_pre_t = wasmtime_instance_pre 

3088 

3089_wasmtime_instance_pre_delete = dll.wasmtime_instance_pre_delete 

3090_wasmtime_instance_pre_delete.restype = None 

3091_wasmtime_instance_pre_delete.argtypes = [ctypes.POINTER(wasmtime_instance_pre_t)] 

3092def wasmtime_instance_pre_delete(instance_pre: Any) -> None: 

3093 return _wasmtime_instance_pre_delete(instance_pre) # type: ignore 

3094 

3095_wasmtime_instance_pre_instantiate = dll.wasmtime_instance_pre_instantiate 

3096_wasmtime_instance_pre_instantiate.restype = ctypes.POINTER(wasmtime_error_t) 

3097_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))] 

3098def wasmtime_instance_pre_instantiate(instance_pre: Any, store: Any, instance: Any, trap_ptr: Any) -> ctypes._Pointer: 

3099 return _wasmtime_instance_pre_instantiate(instance_pre, store, instance, trap_ptr) # type: ignore 

3100 

3101_wasmtime_instance_pre_module = dll.wasmtime_instance_pre_module 

3102_wasmtime_instance_pre_module.restype = ctypes.POINTER(wasmtime_module_t) 

3103_wasmtime_instance_pre_module.argtypes = [ctypes.POINTER(wasmtime_instance_pre_t)] 

3104def wasmtime_instance_pre_module(instance_pre: Any) -> ctypes._Pointer: 

3105 return _wasmtime_instance_pre_module(instance_pre) # type: ignore 

3106 

3107class wasmtime_linker(ctypes.Structure): 

3108 pass 

3109 

3110wasmtime_linker_t = wasmtime_linker 

3111 

3112_wasmtime_linker_new = dll.wasmtime_linker_new 

3113_wasmtime_linker_new.restype = ctypes.POINTER(wasmtime_linker_t) 

3114_wasmtime_linker_new.argtypes = [ctypes.POINTER(wasm_engine_t)] 

3115def wasmtime_linker_new(engine: Any) -> ctypes._Pointer: 

3116 return _wasmtime_linker_new(engine) # type: ignore 

3117 

3118_wasmtime_linker_clone = dll.wasmtime_linker_clone 

3119_wasmtime_linker_clone.restype = ctypes.POINTER(wasmtime_linker_t) 

3120_wasmtime_linker_clone.argtypes = [ctypes.POINTER(wasmtime_linker_t)] 

3121def wasmtime_linker_clone(linker: Any) -> ctypes._Pointer: 

3122 return _wasmtime_linker_clone(linker) # type: ignore 

3123 

3124_wasmtime_linker_delete = dll.wasmtime_linker_delete 

3125_wasmtime_linker_delete.restype = None 

3126_wasmtime_linker_delete.argtypes = [ctypes.POINTER(wasmtime_linker_t)] 

3127def wasmtime_linker_delete(linker: Any) -> None: 

3128 return _wasmtime_linker_delete(linker) # type: ignore 

3129 

3130_wasmtime_linker_allow_shadowing = dll.wasmtime_linker_allow_shadowing 

3131_wasmtime_linker_allow_shadowing.restype = None 

3132_wasmtime_linker_allow_shadowing.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.c_bool] 

3133def wasmtime_linker_allow_shadowing(linker: Any, allow_shadowing: Any) -> None: 

3134 return _wasmtime_linker_allow_shadowing(linker, allow_shadowing) # type: ignore 

3135 

3136_wasmtime_linker_define_unknown_imports_as_traps = dll.wasmtime_linker_define_unknown_imports_as_traps 

3137_wasmtime_linker_define_unknown_imports_as_traps.restype = ctypes.POINTER(wasmtime_error_t) 

3138_wasmtime_linker_define_unknown_imports_as_traps.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_module_t)] 

3139def wasmtime_linker_define_unknown_imports_as_traps(linker: Any, module: Any) -> ctypes._Pointer: 

3140 return _wasmtime_linker_define_unknown_imports_as_traps(linker, module) # type: ignore 

3141 

3142_wasmtime_linker_define_unknown_imports_as_default_values = dll.wasmtime_linker_define_unknown_imports_as_default_values 

3143_wasmtime_linker_define_unknown_imports_as_default_values.restype = ctypes.POINTER(wasmtime_error_t) 

3144_wasmtime_linker_define_unknown_imports_as_default_values.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_module_t)] 

3145def wasmtime_linker_define_unknown_imports_as_default_values(linker: Any, store: Any, module: Any) -> ctypes._Pointer: 

3146 return _wasmtime_linker_define_unknown_imports_as_default_values(linker, store, module) # type: ignore 

3147 

3148_wasmtime_linker_define = dll.wasmtime_linker_define 

3149_wasmtime_linker_define.restype = ctypes.POINTER(wasmtime_error_t) 

3150_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)] 

3151def wasmtime_linker_define(linker: Any, store: Any, module: Any, module_len: Any, name: Any, name_len: Any, item: Any) -> ctypes._Pointer: 

3152 return _wasmtime_linker_define(linker, store, module, module_len, name, name_len, item) # type: ignore 

3153 

3154_wasmtime_linker_define_func = dll.wasmtime_linker_define_func 

3155_wasmtime_linker_define_func.restype = ctypes.POINTER(wasmtime_error_t) 

3156_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)] 

3157def 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: 

3158 return _wasmtime_linker_define_func(linker, module, module_len, name, name_len, ty, cb, data, finalizer) # type: ignore 

3159 

3160_wasmtime_linker_define_func_unchecked = dll.wasmtime_linker_define_func_unchecked 

3161_wasmtime_linker_define_func_unchecked.restype = ctypes.POINTER(wasmtime_error_t) 

3162_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)] 

3163def 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: 

3164 return _wasmtime_linker_define_func_unchecked(linker, module, module_len, name, name_len, ty, cb, data, finalizer) # type: ignore 

3165 

3166_wasmtime_linker_define_wasi = dll.wasmtime_linker_define_wasi 

3167_wasmtime_linker_define_wasi.restype = ctypes.POINTER(wasmtime_error_t) 

3168_wasmtime_linker_define_wasi.argtypes = [ctypes.POINTER(wasmtime_linker_t)] 

3169def wasmtime_linker_define_wasi(linker: Any) -> ctypes._Pointer: 

3170 return _wasmtime_linker_define_wasi(linker) # type: ignore 

3171 

3172_wasmtime_linker_define_instance = dll.wasmtime_linker_define_instance 

3173_wasmtime_linker_define_instance.restype = ctypes.POINTER(wasmtime_error_t) 

3174_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)] 

3175def wasmtime_linker_define_instance(linker: Any, store: Any, name: Any, name_len: Any, instance: Any) -> ctypes._Pointer: 

3176 return _wasmtime_linker_define_instance(linker, store, name, name_len, instance) # type: ignore 

3177 

3178_wasmtime_linker_instantiate = dll.wasmtime_linker_instantiate 

3179_wasmtime_linker_instantiate.restype = ctypes.POINTER(wasmtime_error_t) 

3180_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))] 

3181def wasmtime_linker_instantiate(linker: Any, store: Any, module: Any, instance: Any, trap: Any) -> ctypes._Pointer: 

3182 return _wasmtime_linker_instantiate(linker, store, module, instance, trap) # type: ignore 

3183 

3184_wasmtime_linker_module = dll.wasmtime_linker_module 

3185_wasmtime_linker_module.restype = ctypes.POINTER(wasmtime_error_t) 

3186_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)] 

3187def wasmtime_linker_module(linker: Any, store: Any, name: Any, name_len: Any, module: Any) -> ctypes._Pointer: 

3188 return _wasmtime_linker_module(linker, store, name, name_len, module) # type: ignore 

3189 

3190_wasmtime_linker_get_default = dll.wasmtime_linker_get_default 

3191_wasmtime_linker_get_default.restype = ctypes.POINTER(wasmtime_error_t) 

3192_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)] 

3193def wasmtime_linker_get_default(linker: Any, store: Any, name: Any, name_len: Any, func: Any) -> ctypes._Pointer: 

3194 return _wasmtime_linker_get_default(linker, store, name, name_len, func) # type: ignore 

3195 

3196_wasmtime_linker_get = dll.wasmtime_linker_get 

3197_wasmtime_linker_get.restype = ctypes.c_bool 

3198_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)] 

3199def wasmtime_linker_get(linker: Any, store: Any, module: Any, module_len: Any, name: Any, name_len: Any, item: Any) -> bool: 

3200 return _wasmtime_linker_get(linker, store, module, module_len, name, name_len, item) # type: ignore 

3201 

3202_wasmtime_linker_instantiate_pre = dll.wasmtime_linker_instantiate_pre 

3203_wasmtime_linker_instantiate_pre.restype = ctypes.POINTER(wasmtime_error_t) 

3204_wasmtime_linker_instantiate_pre.argtypes = [ctypes.POINTER(wasmtime_linker_t), ctypes.POINTER(wasmtime_module_t), ctypes.POINTER(ctypes.POINTER(wasmtime_instance_pre_t))] 

3205def wasmtime_linker_instantiate_pre(linker: Any, module: Any, instance_pre: Any) -> ctypes._Pointer: 

3206 return _wasmtime_linker_instantiate_pre(linker, module, instance_pre) # type: ignore 

3207 

3208_wasmtime_memorytype_new = dll.wasmtime_memorytype_new 

3209_wasmtime_memorytype_new.restype = ctypes.POINTER(wasmtime_error_t) 

3210_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))] 

3211def wasmtime_memorytype_new(min: Any, max_present: Any, max: Any, is_64: Any, shared: Any, page_size_log2: Any, ret: Any) -> ctypes._Pointer: 

3212 return _wasmtime_memorytype_new(min, max_present, max, is_64, shared, page_size_log2, ret) # type: ignore 

3213 

3214_wasmtime_memorytype_minimum = dll.wasmtime_memorytype_minimum 

3215_wasmtime_memorytype_minimum.restype = ctypes.c_uint64 

3216_wasmtime_memorytype_minimum.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

3217def wasmtime_memorytype_minimum(ty: Any) -> int: 

3218 return _wasmtime_memorytype_minimum(ty) # type: ignore 

3219 

3220_wasmtime_memorytype_maximum = dll.wasmtime_memorytype_maximum 

3221_wasmtime_memorytype_maximum.restype = ctypes.c_bool 

3222_wasmtime_memorytype_maximum.argtypes = [ctypes.POINTER(wasm_memorytype_t), ctypes.POINTER(ctypes.c_uint64)] 

3223def wasmtime_memorytype_maximum(ty: Any, max: Any) -> bool: 

3224 return _wasmtime_memorytype_maximum(ty, max) # type: ignore 

3225 

3226_wasmtime_memorytype_is64 = dll.wasmtime_memorytype_is64 

3227_wasmtime_memorytype_is64.restype = ctypes.c_bool 

3228_wasmtime_memorytype_is64.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

3229def wasmtime_memorytype_is64(ty: Any) -> bool: 

3230 return _wasmtime_memorytype_is64(ty) # type: ignore 

3231 

3232_wasmtime_memorytype_isshared = dll.wasmtime_memorytype_isshared 

3233_wasmtime_memorytype_isshared.restype = ctypes.c_bool 

3234_wasmtime_memorytype_isshared.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

3235def wasmtime_memorytype_isshared(ty: Any) -> bool: 

3236 return _wasmtime_memorytype_isshared(ty) # type: ignore 

3237 

3238_wasmtime_memorytype_page_size = dll.wasmtime_memorytype_page_size 

3239_wasmtime_memorytype_page_size.restype = ctypes.c_uint64 

3240_wasmtime_memorytype_page_size.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

3241def wasmtime_memorytype_page_size(ty: Any) -> int: 

3242 return _wasmtime_memorytype_page_size(ty) # type: ignore 

3243 

3244_wasmtime_memorytype_page_size_log2 = dll.wasmtime_memorytype_page_size_log2 

3245_wasmtime_memorytype_page_size_log2.restype = ctypes.c_uint8 

3246_wasmtime_memorytype_page_size_log2.argtypes = [ctypes.POINTER(wasm_memorytype_t)] 

3247def wasmtime_memorytype_page_size_log2(ty: Any) -> ctypes.c_uint8: 

3248 return _wasmtime_memorytype_page_size_log2(ty) # type: ignore 

3249 

3250_wasmtime_memory_new = dll.wasmtime_memory_new 

3251_wasmtime_memory_new.restype = ctypes.POINTER(wasmtime_error_t) 

3252_wasmtime_memory_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasm_memorytype_t), ctypes.POINTER(wasmtime_memory_t)] 

3253def wasmtime_memory_new(store: Any, ty: Any, ret: Any) -> ctypes._Pointer: 

3254 return _wasmtime_memory_new(store, ty, ret) # type: ignore 

3255 

3256_wasmtime_memory_type = dll.wasmtime_memory_type 

3257_wasmtime_memory_type.restype = ctypes.POINTER(wasm_memorytype_t) 

3258_wasmtime_memory_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

3259def wasmtime_memory_type(store: Any, memory: Any) -> ctypes._Pointer: 

3260 return _wasmtime_memory_type(store, memory) # type: ignore 

3261 

3262_wasmtime_memory_data = dll.wasmtime_memory_data 

3263_wasmtime_memory_data.restype = ctypes.POINTER(ctypes.c_uint8) 

3264_wasmtime_memory_data.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

3265def wasmtime_memory_data(store: Any, memory: Any) -> ctypes._Pointer: 

3266 return _wasmtime_memory_data(store, memory) # type: ignore 

3267 

3268_wasmtime_memory_data_size = dll.wasmtime_memory_data_size 

3269_wasmtime_memory_data_size.restype = ctypes.c_size_t 

3270_wasmtime_memory_data_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

3271def wasmtime_memory_data_size(store: Any, memory: Any) -> int: 

3272 return _wasmtime_memory_data_size(store, memory) # type: ignore 

3273 

3274_wasmtime_memory_size = dll.wasmtime_memory_size 

3275_wasmtime_memory_size.restype = ctypes.c_uint64 

3276_wasmtime_memory_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

3277def wasmtime_memory_size(store: Any, memory: Any) -> int: 

3278 return _wasmtime_memory_size(store, memory) # type: ignore 

3279 

3280_wasmtime_memory_grow = dll.wasmtime_memory_grow 

3281_wasmtime_memory_grow.restype = ctypes.POINTER(wasmtime_error_t) 

3282_wasmtime_memory_grow.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t), ctypes.c_uint64, ctypes.POINTER(ctypes.c_uint64)] 

3283def wasmtime_memory_grow(store: Any, memory: Any, delta: Any, prev_size: Any) -> ctypes._Pointer: 

3284 return _wasmtime_memory_grow(store, memory, delta, prev_size) # type: ignore 

3285 

3286_wasmtime_memory_page_size = dll.wasmtime_memory_page_size 

3287_wasmtime_memory_page_size.restype = ctypes.c_uint64 

3288_wasmtime_memory_page_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

3289def wasmtime_memory_page_size(store: Any, memory: Any) -> int: 

3290 return _wasmtime_memory_page_size(store, memory) # type: ignore 

3291 

3292_wasmtime_memory_page_size_log2 = dll.wasmtime_memory_page_size_log2 

3293_wasmtime_memory_page_size_log2.restype = ctypes.c_uint8 

3294_wasmtime_memory_page_size_log2.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_memory_t)] 

3295def wasmtime_memory_page_size_log2(store: Any, memory: Any) -> ctypes.c_uint8: 

3296 return _wasmtime_memory_page_size_log2(store, memory) # type: ignore 

3297 

3298class wasmtime_guestprofiler(ctypes.Structure): 

3299 pass 

3300 

3301wasmtime_guestprofiler_t = wasmtime_guestprofiler 

3302 

3303_wasmtime_guestprofiler_delete = dll.wasmtime_guestprofiler_delete 

3304_wasmtime_guestprofiler_delete.restype = None 

3305_wasmtime_guestprofiler_delete.argtypes = [ctypes.POINTER(wasmtime_guestprofiler_t)] 

3306def wasmtime_guestprofiler_delete(guestprofiler: Any) -> None: 

3307 return _wasmtime_guestprofiler_delete(guestprofiler) # type: ignore 

3308 

3309class wasmtime_guestprofiler_modules(ctypes.Structure): 

3310 _fields_ = [ 

3311 ("name", ctypes.POINTER(wasm_name_t)), 

3312 ("mod", ctypes.POINTER(wasmtime_module_t)), 

3313 ] 

3314 name: ctypes._Pointer 

3315 mod: ctypes._Pointer 

3316 

3317wasmtime_guestprofiler_modules_t = wasmtime_guestprofiler_modules 

3318 

3319_wasmtime_guestprofiler_new = dll.wasmtime_guestprofiler_new 

3320_wasmtime_guestprofiler_new.restype = ctypes.POINTER(wasmtime_guestprofiler_t) 

3321_wasmtime_guestprofiler_new.argtypes = [ctypes.POINTER(wasm_name_t), ctypes.c_uint64, ctypes.POINTER(wasmtime_guestprofiler_modules_t), ctypes.c_size_t] 

3322def wasmtime_guestprofiler_new(module_name: Any, interval_nanos: Any, modules: Any, modules_len: Any) -> ctypes._Pointer: 

3323 return _wasmtime_guestprofiler_new(module_name, interval_nanos, modules, modules_len) # type: ignore 

3324 

3325_wasmtime_guestprofiler_sample = dll.wasmtime_guestprofiler_sample 

3326_wasmtime_guestprofiler_sample.restype = None 

3327_wasmtime_guestprofiler_sample.argtypes = [ctypes.POINTER(wasmtime_guestprofiler_t), ctypes.POINTER(wasmtime_store_t), ctypes.c_uint64] 

3328def wasmtime_guestprofiler_sample(guestprofiler: Any, store: Any, delta_nanos: Any) -> None: 

3329 return _wasmtime_guestprofiler_sample(guestprofiler, store, delta_nanos) # type: ignore 

3330 

3331_wasmtime_guestprofiler_finish = dll.wasmtime_guestprofiler_finish 

3332_wasmtime_guestprofiler_finish.restype = ctypes.POINTER(wasmtime_error_t) 

3333_wasmtime_guestprofiler_finish.argtypes = [ctypes.POINTER(wasmtime_guestprofiler_t), ctypes.POINTER(wasm_byte_vec_t)] 

3334def wasmtime_guestprofiler_finish(guestprofiler: Any, out: Any) -> ctypes._Pointer: 

3335 return _wasmtime_guestprofiler_finish(guestprofiler, out) # type: ignore 

3336 

3337_wasmtime_table_new = dll.wasmtime_table_new 

3338_wasmtime_table_new.restype = ctypes.POINTER(wasmtime_error_t) 

3339_wasmtime_table_new.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasm_tabletype_t), ctypes.POINTER(wasmtime_val_t), ctypes.POINTER(wasmtime_table_t)] 

3340def wasmtime_table_new(store: Any, ty: Any, init: Any, table: Any) -> ctypes._Pointer: 

3341 return _wasmtime_table_new(store, ty, init, table) # type: ignore 

3342 

3343_wasmtime_table_type = dll.wasmtime_table_type 

3344_wasmtime_table_type.restype = ctypes.POINTER(wasm_tabletype_t) 

3345_wasmtime_table_type.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t)] 

3346def wasmtime_table_type(store: Any, table: Any) -> ctypes._Pointer: 

3347 return _wasmtime_table_type(store, table) # type: ignore 

3348 

3349_wasmtime_table_get = dll.wasmtime_table_get 

3350_wasmtime_table_get.restype = ctypes.c_bool 

3351_wasmtime_table_get.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t), ctypes.c_uint64, ctypes.POINTER(wasmtime_val_t)] 

3352def wasmtime_table_get(store: Any, table: Any, index: Any, val: Any) -> bool: 

3353 return _wasmtime_table_get(store, table, index, val) # type: ignore 

3354 

3355_wasmtime_table_set = dll.wasmtime_table_set 

3356_wasmtime_table_set.restype = ctypes.POINTER(wasmtime_error_t) 

3357_wasmtime_table_set.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t), ctypes.c_uint64, ctypes.POINTER(wasmtime_val_t)] 

3358def wasmtime_table_set(store: Any, table: Any, index: Any, value: Any) -> ctypes._Pointer: 

3359 return _wasmtime_table_set(store, table, index, value) # type: ignore 

3360 

3361_wasmtime_table_size = dll.wasmtime_table_size 

3362_wasmtime_table_size.restype = ctypes.c_uint64 

3363_wasmtime_table_size.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_table_t)] 

3364def wasmtime_table_size(store: Any, table: Any) -> int: 

3365 return _wasmtime_table_size(store, table) # type: ignore 

3366 

3367_wasmtime_table_grow = dll.wasmtime_table_grow 

3368_wasmtime_table_grow.restype = ctypes.POINTER(wasmtime_error_t) 

3369_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)] 

3370def wasmtime_table_grow(store: Any, table: Any, delta: Any, init: Any, prev_size: Any) -> ctypes._Pointer: 

3371 return _wasmtime_table_grow(store, table, delta, init, prev_size) # type: ignore 

3372 

3373wasmtime_trap_code_t = ctypes.c_uint8 

3374 

3375class wasmtime_trap_code_enum(Enum): 

3376 WASMTIME_TRAP_CODE_STACK_OVERFLOW = auto() 

3377 WASMTIME_TRAP_CODE_MEMORY_OUT_OF_BOUNDS = auto() 

3378 WASMTIME_TRAP_CODE_HEAP_MISALIGNED = auto() 

3379 WASMTIME_TRAP_CODE_TABLE_OUT_OF_BOUNDS = auto() 

3380 WASMTIME_TRAP_CODE_INDIRECT_CALL_TO_NULL = auto() 

3381 WASMTIME_TRAP_CODE_BAD_SIGNATURE = auto() 

3382 WASMTIME_TRAP_CODE_INTEGER_OVERFLOW = auto() 

3383 WASMTIME_TRAP_CODE_INTEGER_DIVISION_BY_ZERO = auto() 

3384 WASMTIME_TRAP_CODE_BAD_CONVERSION_TO_INTEGER = auto() 

3385 WASMTIME_TRAP_CODE_UNREACHABLE_CODE_REACHED = auto() 

3386 WASMTIME_TRAP_CODE_INTERRUPT = auto() 

3387 WASMTIME_TRAP_CODE_ALWAYS_TRAP_ADAPTER = auto() 

3388 WASMTIME_TRAP_CODE_OUT_OF_FUEL = auto() 

3389 WASMTIME_TRAP_CODE_ATOMIC_WAIT_NON_SHARED_MEMORY = auto() 

3390 WASMTIME_TRAP_CODE_NULL_REFERENCE = auto() 

3391 WASMTIME_TRAP_CODE_ARRAY_OUT_OF_BOUNDS = auto() 

3392 WASMTIME_TRAP_CODE_ALLOCATION_TOO_LARGE = auto() 

3393 WASMTIME_TRAP_CODE_CAST_FAILURE = auto() 

3394 WASMTIME_TRAP_CODE_CANNOT_ENTER_COMPONENT = auto() 

3395 WASMTIME_TRAP_CODE_NO_ASYNC_RESULT = auto() 

3396 WASMTIME_TRAP_CODE_DISABLED_OPCODE = auto() 

3397 

3398_wasmtime_trap_new = dll.wasmtime_trap_new 

3399_wasmtime_trap_new.restype = ctypes.POINTER(wasm_trap_t) 

3400_wasmtime_trap_new.argtypes = [ctypes.POINTER(ctypes.c_char), ctypes.c_size_t] 

3401def wasmtime_trap_new(msg: Any, msg_len: Any) -> ctypes._Pointer: 

3402 return _wasmtime_trap_new(msg, msg_len) # type: ignore 

3403 

3404_wasmtime_trap_new_code = dll.wasmtime_trap_new_code 

3405_wasmtime_trap_new_code.restype = ctypes.POINTER(wasm_trap_t) 

3406_wasmtime_trap_new_code.argtypes = [wasmtime_trap_code_t] 

3407def wasmtime_trap_new_code(code: Any) -> ctypes._Pointer: 

3408 return _wasmtime_trap_new_code(code) # type: ignore 

3409 

3410_wasmtime_trap_code = dll.wasmtime_trap_code 

3411_wasmtime_trap_code.restype = ctypes.c_bool 

3412_wasmtime_trap_code.argtypes = [ctypes.POINTER(wasm_trap_t), ctypes.POINTER(wasmtime_trap_code_t)] 

3413def wasmtime_trap_code(arg0: Any, code: Any) -> bool: 

3414 return _wasmtime_trap_code(arg0, code) # type: ignore 

3415 

3416_wasmtime_frame_func_name = dll.wasmtime_frame_func_name 

3417_wasmtime_frame_func_name.restype = ctypes.POINTER(wasm_name_t) 

3418_wasmtime_frame_func_name.argtypes = [ctypes.POINTER(wasm_frame_t)] 

3419def wasmtime_frame_func_name(arg0: Any) -> ctypes._Pointer: 

3420 return _wasmtime_frame_func_name(arg0) # type: ignore 

3421 

3422_wasmtime_frame_module_name = dll.wasmtime_frame_module_name 

3423_wasmtime_frame_module_name.restype = ctypes.POINTER(wasm_name_t) 

3424_wasmtime_frame_module_name.argtypes = [ctypes.POINTER(wasm_frame_t)] 

3425def wasmtime_frame_module_name(arg0: Any) -> ctypes._Pointer: 

3426 return _wasmtime_frame_module_name(arg0) # type: ignore 

3427 

3428_wasmtime_config_async_support_set = dll.wasmtime_config_async_support_set 

3429_wasmtime_config_async_support_set.restype = None 

3430_wasmtime_config_async_support_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_bool] 

3431def wasmtime_config_async_support_set(arg0: Any, arg1: Any) -> None: 

3432 return _wasmtime_config_async_support_set(arg0, arg1) # type: ignore 

3433 

3434_wasmtime_config_async_stack_size_set = dll.wasmtime_config_async_stack_size_set 

3435_wasmtime_config_async_stack_size_set.restype = None 

3436_wasmtime_config_async_stack_size_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.c_uint64] 

3437def wasmtime_config_async_stack_size_set(arg0: Any, arg1: Any) -> None: 

3438 return _wasmtime_config_async_stack_size_set(arg0, arg1) # type: ignore 

3439 

3440_wasmtime_context_fuel_async_yield_interval = dll.wasmtime_context_fuel_async_yield_interval 

3441_wasmtime_context_fuel_async_yield_interval.restype = ctypes.POINTER(wasmtime_error_t) 

3442_wasmtime_context_fuel_async_yield_interval.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint64] 

3443def wasmtime_context_fuel_async_yield_interval(context: Any, interval: Any) -> ctypes._Pointer: 

3444 return _wasmtime_context_fuel_async_yield_interval(context, interval) # type: ignore 

3445 

3446_wasmtime_context_epoch_deadline_async_yield_and_update = dll.wasmtime_context_epoch_deadline_async_yield_and_update 

3447_wasmtime_context_epoch_deadline_async_yield_and_update.restype = ctypes.POINTER(wasmtime_error_t) 

3448_wasmtime_context_epoch_deadline_async_yield_and_update.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.c_uint64] 

3449def wasmtime_context_epoch_deadline_async_yield_and_update(context: Any, delta: Any) -> ctypes._Pointer: 

3450 return _wasmtime_context_epoch_deadline_async_yield_and_update(context, delta) # type: ignore 

3451 

3452wasmtime_func_async_continuation_callback_t = ctypes.CFUNCTYPE(ctypes.c_bool, ctypes.c_void_p) 

3453 

3454class wasmtime_async_continuation_t(ctypes.Structure): 

3455 _fields_ = [ 

3456 ("callback", wasmtime_func_async_continuation_callback_t), 

3457 ("env", ctypes.c_void_p), 

3458 ("finalizer", ctypes.CFUNCTYPE(None, ctypes.c_void_p)), 

3459 ] 

3460 callback: ctypes._Pointer 

3461 env: ctypes._Pointer 

3462 finalizer: ctypes._Pointer 

3463 

3464wasmtime_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)) 

3465 

3466class wasmtime_call_future(ctypes.Structure): 

3467 pass 

3468 

3469wasmtime_call_future_t = wasmtime_call_future 

3470 

3471_wasmtime_call_future_poll = dll.wasmtime_call_future_poll 

3472_wasmtime_call_future_poll.restype = ctypes.c_bool 

3473_wasmtime_call_future_poll.argtypes = [ctypes.POINTER(wasmtime_call_future_t)] 

3474def wasmtime_call_future_poll(future: Any) -> bool: 

3475 return _wasmtime_call_future_poll(future) # type: ignore 

3476 

3477_wasmtime_call_future_delete = dll.wasmtime_call_future_delete 

3478_wasmtime_call_future_delete.restype = None 

3479_wasmtime_call_future_delete.argtypes = [ctypes.POINTER(wasmtime_call_future_t)] 

3480def wasmtime_call_future_delete(future: Any) -> None: 

3481 return _wasmtime_call_future_delete(future) # type: ignore 

3482 

3483_wasmtime_func_call_async = dll.wasmtime_func_call_async 

3484_wasmtime_func_call_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

3485_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))] 

3486def wasmtime_func_call_async(context: Any, func: Any, args: Any, nargs: Any, results: Any, nresults: Any, trap_ret: Any, error_ret: Any) -> ctypes._Pointer: 

3487 return _wasmtime_func_call_async(context, func, args, nargs, results, nresults, trap_ret, error_ret) # type: ignore 

3488 

3489_wasmtime_linker_define_async_func = dll.wasmtime_linker_define_async_func 

3490_wasmtime_linker_define_async_func.restype = ctypes.POINTER(wasmtime_error_t) 

3491_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)] 

3492def 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: 

3493 return _wasmtime_linker_define_async_func(linker, module, module_len, name, name_len, ty, cb, data, finalizer) # type: ignore 

3494 

3495_wasmtime_linker_instantiate_async = dll.wasmtime_linker_instantiate_async 

3496_wasmtime_linker_instantiate_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

3497_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))] 

3498def wasmtime_linker_instantiate_async(linker: Any, store: Any, module: Any, instance: Any, trap_ret: Any, error_ret: Any) -> ctypes._Pointer: 

3499 return _wasmtime_linker_instantiate_async(linker, store, module, instance, trap_ret, error_ret) # type: ignore 

3500 

3501_wasmtime_instance_pre_instantiate_async = dll.wasmtime_instance_pre_instantiate_async 

3502_wasmtime_instance_pre_instantiate_async.restype = ctypes.POINTER(wasmtime_call_future_t) 

3503_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))] 

3504def wasmtime_instance_pre_instantiate_async(instance_pre: Any, store: Any, instance: Any, trap_ret: Any, error_ret: Any) -> ctypes._Pointer: 

3505 return _wasmtime_instance_pre_instantiate_async(instance_pre, store, instance, trap_ret, error_ret) # type: ignore 

3506 

3507wasmtime_stack_memory_get_callback_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.POINTER(ctypes.c_size_t)) 

3508 

3509class wasmtime_stack_memory(ctypes.Structure): 

3510 _fields_ = [ 

3511 ("env", ctypes.c_void_p), 

3512 ("get_stack_memory", wasmtime_stack_memory_get_callback_t), 

3513 ("finalizer", ctypes.CFUNCTYPE(None, ctypes.c_void_p)), 

3514 ] 

3515 env: ctypes._Pointer 

3516 get_stack_memory: ctypes._Pointer 

3517 finalizer: ctypes._Pointer 

3518 

3519wasmtime_stack_memory_t = wasmtime_stack_memory 

3520 

3521wasmtime_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)) 

3522 

3523class wasmtime_stack_creator(ctypes.Structure): 

3524 _fields_ = [ 

3525 ("env", ctypes.c_void_p), 

3526 ("new_stack", wasmtime_new_stack_memory_callback_t), 

3527 ("finalizer", ctypes.CFUNCTYPE(None, ctypes.c_void_p)), 

3528 ] 

3529 env: ctypes._Pointer 

3530 new_stack: ctypes._Pointer 

3531 finalizer: ctypes._Pointer 

3532 

3533wasmtime_stack_creator_t = wasmtime_stack_creator 

3534 

3535_wasmtime_config_host_stack_creator_set = dll.wasmtime_config_host_stack_creator_set 

3536_wasmtime_config_host_stack_creator_set.restype = None 

3537_wasmtime_config_host_stack_creator_set.argtypes = [ctypes.POINTER(wasm_config_t), ctypes.POINTER(wasmtime_stack_creator_t)] 

3538def wasmtime_config_host_stack_creator_set(arg0: Any, arg1: Any) -> None: 

3539 return _wasmtime_config_host_stack_creator_set(arg0, arg1) # type: ignore 

3540 

3541class wasmtime_component_resource_type(ctypes.Structure): 

3542 pass 

3543 

3544wasmtime_component_resource_type_t = wasmtime_component_resource_type 

3545 

3546_wasmtime_component_resource_type_new_host = dll.wasmtime_component_resource_type_new_host 

3547_wasmtime_component_resource_type_new_host.restype = ctypes.POINTER(wasmtime_component_resource_type_t) 

3548_wasmtime_component_resource_type_new_host.argtypes = [ctypes.c_uint32] 

3549def wasmtime_component_resource_type_new_host(ty: Any) -> ctypes._Pointer: 

3550 return _wasmtime_component_resource_type_new_host(ty) # type: ignore 

3551 

3552_wasmtime_component_resource_type_clone = dll.wasmtime_component_resource_type_clone 

3553_wasmtime_component_resource_type_clone.restype = ctypes.POINTER(wasmtime_component_resource_type_t) 

3554_wasmtime_component_resource_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_resource_type_t)] 

3555def wasmtime_component_resource_type_clone(ty: Any) -> ctypes._Pointer: 

3556 return _wasmtime_component_resource_type_clone(ty) # type: ignore 

3557 

3558_wasmtime_component_resource_type_equal = dll.wasmtime_component_resource_type_equal 

3559_wasmtime_component_resource_type_equal.restype = ctypes.c_bool 

3560_wasmtime_component_resource_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_resource_type_t), ctypes.POINTER(wasmtime_component_resource_type_t)] 

3561def wasmtime_component_resource_type_equal(a: Any, b: Any) -> bool: 

3562 return _wasmtime_component_resource_type_equal(a, b) # type: ignore 

3563 

3564_wasmtime_component_resource_type_delete = dll.wasmtime_component_resource_type_delete 

3565_wasmtime_component_resource_type_delete.restype = None 

3566_wasmtime_component_resource_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_resource_type_t)] 

3567def wasmtime_component_resource_type_delete(resource: Any) -> None: 

3568 return _wasmtime_component_resource_type_delete(resource) # type: ignore 

3569 

3570class wasmtime_component_valtype_t(ctypes.Structure): 

3571 pass 

3572 

3573class wasmtime_component_list_type(ctypes.Structure): 

3574 pass 

3575 

3576wasmtime_component_list_type_t = wasmtime_component_list_type 

3577 

3578_wasmtime_component_list_type_clone = dll.wasmtime_component_list_type_clone 

3579_wasmtime_component_list_type_clone.restype = ctypes.POINTER(wasmtime_component_list_type_t) 

3580_wasmtime_component_list_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_list_type_t)] 

3581def wasmtime_component_list_type_clone(ty: Any) -> ctypes._Pointer: 

3582 return _wasmtime_component_list_type_clone(ty) # type: ignore 

3583 

3584_wasmtime_component_list_type_equal = dll.wasmtime_component_list_type_equal 

3585_wasmtime_component_list_type_equal.restype = ctypes.c_bool 

3586_wasmtime_component_list_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_list_type_t), ctypes.POINTER(wasmtime_component_list_type_t)] 

3587def wasmtime_component_list_type_equal(a: Any, b: Any) -> bool: 

3588 return _wasmtime_component_list_type_equal(a, b) # type: ignore 

3589 

3590_wasmtime_component_list_type_delete = dll.wasmtime_component_list_type_delete 

3591_wasmtime_component_list_type_delete.restype = None 

3592_wasmtime_component_list_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_list_type_t)] 

3593def wasmtime_component_list_type_delete(ptr: Any) -> None: 

3594 return _wasmtime_component_list_type_delete(ptr) # type: ignore 

3595 

3596_wasmtime_component_list_type_element = dll.wasmtime_component_list_type_element 

3597_wasmtime_component_list_type_element.restype = None 

3598_wasmtime_component_list_type_element.argtypes = [ctypes.POINTER(wasmtime_component_list_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

3599def wasmtime_component_list_type_element(ty: Any, type_ret: Any) -> None: 

3600 return _wasmtime_component_list_type_element(ty, type_ret) # type: ignore 

3601 

3602class wasmtime_component_record_type(ctypes.Structure): 

3603 pass 

3604 

3605wasmtime_component_record_type_t = wasmtime_component_record_type 

3606 

3607_wasmtime_component_record_type_clone = dll.wasmtime_component_record_type_clone 

3608_wasmtime_component_record_type_clone.restype = ctypes.POINTER(wasmtime_component_record_type_t) 

3609_wasmtime_component_record_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_record_type_t)] 

3610def wasmtime_component_record_type_clone(ty: Any) -> ctypes._Pointer: 

3611 return _wasmtime_component_record_type_clone(ty) # type: ignore 

3612 

3613_wasmtime_component_record_type_equal = dll.wasmtime_component_record_type_equal 

3614_wasmtime_component_record_type_equal.restype = ctypes.c_bool 

3615_wasmtime_component_record_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_record_type_t), ctypes.POINTER(wasmtime_component_record_type_t)] 

3616def wasmtime_component_record_type_equal(a: Any, b: Any) -> bool: 

3617 return _wasmtime_component_record_type_equal(a, b) # type: ignore 

3618 

3619_wasmtime_component_record_type_delete = dll.wasmtime_component_record_type_delete 

3620_wasmtime_component_record_type_delete.restype = None 

3621_wasmtime_component_record_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_record_type_t)] 

3622def wasmtime_component_record_type_delete(ptr: Any) -> None: 

3623 return _wasmtime_component_record_type_delete(ptr) # type: ignore 

3624 

3625_wasmtime_component_record_type_field_count = dll.wasmtime_component_record_type_field_count 

3626_wasmtime_component_record_type_field_count.restype = ctypes.c_size_t 

3627_wasmtime_component_record_type_field_count.argtypes = [ctypes.POINTER(wasmtime_component_record_type_t)] 

3628def wasmtime_component_record_type_field_count(ty: Any) -> int: 

3629 return _wasmtime_component_record_type_field_count(ty) # type: ignore 

3630 

3631_wasmtime_component_record_type_field_nth = dll.wasmtime_component_record_type_field_nth 

3632_wasmtime_component_record_type_field_nth.restype = ctypes.c_bool 

3633_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)] 

3634def wasmtime_component_record_type_field_nth(ty: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

3635 return _wasmtime_component_record_type_field_nth(ty, nth, name_ret, name_len_ret, type_ret) # type: ignore 

3636 

3637class wasmtime_component_tuple_type(ctypes.Structure): 

3638 pass 

3639 

3640wasmtime_component_tuple_type_t = wasmtime_component_tuple_type 

3641 

3642_wasmtime_component_tuple_type_clone = dll.wasmtime_component_tuple_type_clone 

3643_wasmtime_component_tuple_type_clone.restype = ctypes.POINTER(wasmtime_component_tuple_type_t) 

3644_wasmtime_component_tuple_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_tuple_type_t)] 

3645def wasmtime_component_tuple_type_clone(ty: Any) -> ctypes._Pointer: 

3646 return _wasmtime_component_tuple_type_clone(ty) # type: ignore 

3647 

3648_wasmtime_component_tuple_type_equal = dll.wasmtime_component_tuple_type_equal 

3649_wasmtime_component_tuple_type_equal.restype = ctypes.c_bool 

3650_wasmtime_component_tuple_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_tuple_type_t), ctypes.POINTER(wasmtime_component_tuple_type_t)] 

3651def wasmtime_component_tuple_type_equal(a: Any, b: Any) -> bool: 

3652 return _wasmtime_component_tuple_type_equal(a, b) # type: ignore 

3653 

3654_wasmtime_component_tuple_type_delete = dll.wasmtime_component_tuple_type_delete 

3655_wasmtime_component_tuple_type_delete.restype = None 

3656_wasmtime_component_tuple_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_tuple_type_t)] 

3657def wasmtime_component_tuple_type_delete(ptr: Any) -> None: 

3658 return _wasmtime_component_tuple_type_delete(ptr) # type: ignore 

3659 

3660_wasmtime_component_tuple_type_types_count = dll.wasmtime_component_tuple_type_types_count 

3661_wasmtime_component_tuple_type_types_count.restype = ctypes.c_size_t 

3662_wasmtime_component_tuple_type_types_count.argtypes = [ctypes.POINTER(wasmtime_component_tuple_type_t)] 

3663def wasmtime_component_tuple_type_types_count(ty: Any) -> int: 

3664 return _wasmtime_component_tuple_type_types_count(ty) # type: ignore 

3665 

3666_wasmtime_component_tuple_type_types_nth = dll.wasmtime_component_tuple_type_types_nth 

3667_wasmtime_component_tuple_type_types_nth.restype = ctypes.c_bool 

3668_wasmtime_component_tuple_type_types_nth.argtypes = [ctypes.POINTER(wasmtime_component_tuple_type_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_valtype_t)] 

3669def wasmtime_component_tuple_type_types_nth(ty: Any, nth: Any, type_ret: Any) -> bool: 

3670 return _wasmtime_component_tuple_type_types_nth(ty, nth, type_ret) # type: ignore 

3671 

3672class wasmtime_component_variant_type(ctypes.Structure): 

3673 pass 

3674 

3675wasmtime_component_variant_type_t = wasmtime_component_variant_type 

3676 

3677_wasmtime_component_variant_type_clone = dll.wasmtime_component_variant_type_clone 

3678_wasmtime_component_variant_type_clone.restype = ctypes.POINTER(wasmtime_component_variant_type_t) 

3679_wasmtime_component_variant_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_variant_type_t)] 

3680def wasmtime_component_variant_type_clone(ty: Any) -> ctypes._Pointer: 

3681 return _wasmtime_component_variant_type_clone(ty) # type: ignore 

3682 

3683_wasmtime_component_variant_type_equal = dll.wasmtime_component_variant_type_equal 

3684_wasmtime_component_variant_type_equal.restype = ctypes.c_bool 

3685_wasmtime_component_variant_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_variant_type_t), ctypes.POINTER(wasmtime_component_variant_type_t)] 

3686def wasmtime_component_variant_type_equal(a: Any, b: Any) -> bool: 

3687 return _wasmtime_component_variant_type_equal(a, b) # type: ignore 

3688 

3689_wasmtime_component_variant_type_delete = dll.wasmtime_component_variant_type_delete 

3690_wasmtime_component_variant_type_delete.restype = None 

3691_wasmtime_component_variant_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_variant_type_t)] 

3692def wasmtime_component_variant_type_delete(ptr: Any) -> None: 

3693 return _wasmtime_component_variant_type_delete(ptr) # type: ignore 

3694 

3695_wasmtime_component_variant_type_case_count = dll.wasmtime_component_variant_type_case_count 

3696_wasmtime_component_variant_type_case_count.restype = ctypes.c_size_t 

3697_wasmtime_component_variant_type_case_count.argtypes = [ctypes.POINTER(wasmtime_component_variant_type_t)] 

3698def wasmtime_component_variant_type_case_count(ty: Any) -> int: 

3699 return _wasmtime_component_variant_type_case_count(ty) # type: ignore 

3700 

3701_wasmtime_component_variant_type_case_nth = dll.wasmtime_component_variant_type_case_nth 

3702_wasmtime_component_variant_type_case_nth.restype = ctypes.c_bool 

3703_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)] 

3704def 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: 

3705 return _wasmtime_component_variant_type_case_nth(ty, nth, name_ret, name_len_ret, has_payload_ret, payload_ret) # type: ignore 

3706 

3707class wasmtime_component_enum_type(ctypes.Structure): 

3708 pass 

3709 

3710wasmtime_component_enum_type_t = wasmtime_component_enum_type 

3711 

3712_wasmtime_component_enum_type_clone = dll.wasmtime_component_enum_type_clone 

3713_wasmtime_component_enum_type_clone.restype = ctypes.POINTER(wasmtime_component_enum_type_t) 

3714_wasmtime_component_enum_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_enum_type_t)] 

3715def wasmtime_component_enum_type_clone(ty: Any) -> ctypes._Pointer: 

3716 return _wasmtime_component_enum_type_clone(ty) # type: ignore 

3717 

3718_wasmtime_component_enum_type_equal = dll.wasmtime_component_enum_type_equal 

3719_wasmtime_component_enum_type_equal.restype = ctypes.c_bool 

3720_wasmtime_component_enum_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_enum_type_t), ctypes.POINTER(wasmtime_component_enum_type_t)] 

3721def wasmtime_component_enum_type_equal(a: Any, b: Any) -> bool: 

3722 return _wasmtime_component_enum_type_equal(a, b) # type: ignore 

3723 

3724_wasmtime_component_enum_type_delete = dll.wasmtime_component_enum_type_delete 

3725_wasmtime_component_enum_type_delete.restype = None 

3726_wasmtime_component_enum_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_enum_type_t)] 

3727def wasmtime_component_enum_type_delete(ptr: Any) -> None: 

3728 return _wasmtime_component_enum_type_delete(ptr) # type: ignore 

3729 

3730_wasmtime_component_enum_type_names_count = dll.wasmtime_component_enum_type_names_count 

3731_wasmtime_component_enum_type_names_count.restype = ctypes.c_size_t 

3732_wasmtime_component_enum_type_names_count.argtypes = [ctypes.POINTER(wasmtime_component_enum_type_t)] 

3733def wasmtime_component_enum_type_names_count(ty: Any) -> int: 

3734 return _wasmtime_component_enum_type_names_count(ty) # type: ignore 

3735 

3736_wasmtime_component_enum_type_names_nth = dll.wasmtime_component_enum_type_names_nth 

3737_wasmtime_component_enum_type_names_nth.restype = ctypes.c_bool 

3738_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)] 

3739def wasmtime_component_enum_type_names_nth(ty: Any, nth: Any, name_ret: Any, name_len_ret: Any) -> bool: 

3740 return _wasmtime_component_enum_type_names_nth(ty, nth, name_ret, name_len_ret) # type: ignore 

3741 

3742class wasmtime_component_option_type(ctypes.Structure): 

3743 pass 

3744 

3745wasmtime_component_option_type_t = wasmtime_component_option_type 

3746 

3747_wasmtime_component_option_type_clone = dll.wasmtime_component_option_type_clone 

3748_wasmtime_component_option_type_clone.restype = ctypes.POINTER(wasmtime_component_option_type_t) 

3749_wasmtime_component_option_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_option_type_t)] 

3750def wasmtime_component_option_type_clone(ty: Any) -> ctypes._Pointer: 

3751 return _wasmtime_component_option_type_clone(ty) # type: ignore 

3752 

3753_wasmtime_component_option_type_equal = dll.wasmtime_component_option_type_equal 

3754_wasmtime_component_option_type_equal.restype = ctypes.c_bool 

3755_wasmtime_component_option_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_option_type_t), ctypes.POINTER(wasmtime_component_option_type_t)] 

3756def wasmtime_component_option_type_equal(a: Any, b: Any) -> bool: 

3757 return _wasmtime_component_option_type_equal(a, b) # type: ignore 

3758 

3759_wasmtime_component_option_type_delete = dll.wasmtime_component_option_type_delete 

3760_wasmtime_component_option_type_delete.restype = None 

3761_wasmtime_component_option_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_option_type_t)] 

3762def wasmtime_component_option_type_delete(ptr: Any) -> None: 

3763 return _wasmtime_component_option_type_delete(ptr) # type: ignore 

3764 

3765_wasmtime_component_option_type_ty = dll.wasmtime_component_option_type_ty 

3766_wasmtime_component_option_type_ty.restype = None 

3767_wasmtime_component_option_type_ty.argtypes = [ctypes.POINTER(wasmtime_component_option_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

3768def wasmtime_component_option_type_ty(ty: Any, type_ret: Any) -> None: 

3769 return _wasmtime_component_option_type_ty(ty, type_ret) # type: ignore 

3770 

3771class wasmtime_component_result_type(ctypes.Structure): 

3772 pass 

3773 

3774wasmtime_component_result_type_t = wasmtime_component_result_type 

3775 

3776_wasmtime_component_result_type_clone = dll.wasmtime_component_result_type_clone 

3777_wasmtime_component_result_type_clone.restype = ctypes.POINTER(wasmtime_component_result_type_t) 

3778_wasmtime_component_result_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_result_type_t)] 

3779def wasmtime_component_result_type_clone(ty: Any) -> ctypes._Pointer: 

3780 return _wasmtime_component_result_type_clone(ty) # type: ignore 

3781 

3782_wasmtime_component_result_type_equal = dll.wasmtime_component_result_type_equal 

3783_wasmtime_component_result_type_equal.restype = ctypes.c_bool 

3784_wasmtime_component_result_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_result_type_t), ctypes.POINTER(wasmtime_component_result_type_t)] 

3785def wasmtime_component_result_type_equal(a: Any, b: Any) -> bool: 

3786 return _wasmtime_component_result_type_equal(a, b) # type: ignore 

3787 

3788_wasmtime_component_result_type_delete = dll.wasmtime_component_result_type_delete 

3789_wasmtime_component_result_type_delete.restype = None 

3790_wasmtime_component_result_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_result_type_t)] 

3791def wasmtime_component_result_type_delete(ptr: Any) -> None: 

3792 return _wasmtime_component_result_type_delete(ptr) # type: ignore 

3793 

3794_wasmtime_component_result_type_ok = dll.wasmtime_component_result_type_ok 

3795_wasmtime_component_result_type_ok.restype = ctypes.c_bool 

3796_wasmtime_component_result_type_ok.argtypes = [ctypes.POINTER(wasmtime_component_result_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

3797def wasmtime_component_result_type_ok(ty: Any, type_ret: Any) -> bool: 

3798 return _wasmtime_component_result_type_ok(ty, type_ret) # type: ignore 

3799 

3800_wasmtime_component_result_type_err = dll.wasmtime_component_result_type_err 

3801_wasmtime_component_result_type_err.restype = ctypes.c_bool 

3802_wasmtime_component_result_type_err.argtypes = [ctypes.POINTER(wasmtime_component_result_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

3803def wasmtime_component_result_type_err(ty: Any, type_ret: Any) -> bool: 

3804 return _wasmtime_component_result_type_err(ty, type_ret) # type: ignore 

3805 

3806class wasmtime_component_flags_type(ctypes.Structure): 

3807 pass 

3808 

3809wasmtime_component_flags_type_t = wasmtime_component_flags_type 

3810 

3811_wasmtime_component_flags_type_clone = dll.wasmtime_component_flags_type_clone 

3812_wasmtime_component_flags_type_clone.restype = ctypes.POINTER(wasmtime_component_flags_type_t) 

3813_wasmtime_component_flags_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_flags_type_t)] 

3814def wasmtime_component_flags_type_clone(ty: Any) -> ctypes._Pointer: 

3815 return _wasmtime_component_flags_type_clone(ty) # type: ignore 

3816 

3817_wasmtime_component_flags_type_equal = dll.wasmtime_component_flags_type_equal 

3818_wasmtime_component_flags_type_equal.restype = ctypes.c_bool 

3819_wasmtime_component_flags_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_flags_type_t), ctypes.POINTER(wasmtime_component_flags_type_t)] 

3820def wasmtime_component_flags_type_equal(a: Any, b: Any) -> bool: 

3821 return _wasmtime_component_flags_type_equal(a, b) # type: ignore 

3822 

3823_wasmtime_component_flags_type_delete = dll.wasmtime_component_flags_type_delete 

3824_wasmtime_component_flags_type_delete.restype = None 

3825_wasmtime_component_flags_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_flags_type_t)] 

3826def wasmtime_component_flags_type_delete(ptr: Any) -> None: 

3827 return _wasmtime_component_flags_type_delete(ptr) # type: ignore 

3828 

3829_wasmtime_component_flags_type_names_count = dll.wasmtime_component_flags_type_names_count 

3830_wasmtime_component_flags_type_names_count.restype = ctypes.c_size_t 

3831_wasmtime_component_flags_type_names_count.argtypes = [ctypes.POINTER(wasmtime_component_flags_type_t)] 

3832def wasmtime_component_flags_type_names_count(ty: Any) -> int: 

3833 return _wasmtime_component_flags_type_names_count(ty) # type: ignore 

3834 

3835_wasmtime_component_flags_type_names_nth = dll.wasmtime_component_flags_type_names_nth 

3836_wasmtime_component_flags_type_names_nth.restype = ctypes.c_bool 

3837_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)] 

3838def wasmtime_component_flags_type_names_nth(ty: Any, nth: Any, name_ret: Any, name_len_ret: Any) -> bool: 

3839 return _wasmtime_component_flags_type_names_nth(ty, nth, name_ret, name_len_ret) # type: ignore 

3840 

3841class wasmtime_component_future_type(ctypes.Structure): 

3842 pass 

3843 

3844wasmtime_component_future_type_t = wasmtime_component_future_type 

3845 

3846_wasmtime_component_future_type_clone = dll.wasmtime_component_future_type_clone 

3847_wasmtime_component_future_type_clone.restype = ctypes.POINTER(wasmtime_component_future_type_t) 

3848_wasmtime_component_future_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_future_type_t)] 

3849def wasmtime_component_future_type_clone(ty: Any) -> ctypes._Pointer: 

3850 return _wasmtime_component_future_type_clone(ty) # type: ignore 

3851 

3852_wasmtime_component_future_type_equal = dll.wasmtime_component_future_type_equal 

3853_wasmtime_component_future_type_equal.restype = ctypes.c_bool 

3854_wasmtime_component_future_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_future_type_t), ctypes.POINTER(wasmtime_component_future_type_t)] 

3855def wasmtime_component_future_type_equal(a: Any, b: Any) -> bool: 

3856 return _wasmtime_component_future_type_equal(a, b) # type: ignore 

3857 

3858_wasmtime_component_future_type_delete = dll.wasmtime_component_future_type_delete 

3859_wasmtime_component_future_type_delete.restype = None 

3860_wasmtime_component_future_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_future_type_t)] 

3861def wasmtime_component_future_type_delete(ptr: Any) -> None: 

3862 return _wasmtime_component_future_type_delete(ptr) # type: ignore 

3863 

3864_wasmtime_component_future_type_ty = dll.wasmtime_component_future_type_ty 

3865_wasmtime_component_future_type_ty.restype = ctypes.c_bool 

3866_wasmtime_component_future_type_ty.argtypes = [ctypes.POINTER(wasmtime_component_future_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

3867def wasmtime_component_future_type_ty(ty: Any, type_ret: Any) -> bool: 

3868 return _wasmtime_component_future_type_ty(ty, type_ret) # type: ignore 

3869 

3870class wasmtime_component_stream_type(ctypes.Structure): 

3871 pass 

3872 

3873wasmtime_component_stream_type_t = wasmtime_component_stream_type 

3874 

3875_wasmtime_component_stream_type_clone = dll.wasmtime_component_stream_type_clone 

3876_wasmtime_component_stream_type_clone.restype = ctypes.POINTER(wasmtime_component_stream_type_t) 

3877_wasmtime_component_stream_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_stream_type_t)] 

3878def wasmtime_component_stream_type_clone(ty: Any) -> ctypes._Pointer: 

3879 return _wasmtime_component_stream_type_clone(ty) # type: ignore 

3880 

3881_wasmtime_component_stream_type_equal = dll.wasmtime_component_stream_type_equal 

3882_wasmtime_component_stream_type_equal.restype = ctypes.c_bool 

3883_wasmtime_component_stream_type_equal.argtypes = [ctypes.POINTER(wasmtime_component_stream_type_t), ctypes.POINTER(wasmtime_component_stream_type_t)] 

3884def wasmtime_component_stream_type_equal(a: Any, b: Any) -> bool: 

3885 return _wasmtime_component_stream_type_equal(a, b) # type: ignore 

3886 

3887_wasmtime_component_stream_type_delete = dll.wasmtime_component_stream_type_delete 

3888_wasmtime_component_stream_type_delete.restype = None 

3889_wasmtime_component_stream_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_stream_type_t)] 

3890def wasmtime_component_stream_type_delete(ptr: Any) -> None: 

3891 return _wasmtime_component_stream_type_delete(ptr) # type: ignore 

3892 

3893_wasmtime_component_stream_type_ty = dll.wasmtime_component_stream_type_ty 

3894_wasmtime_component_stream_type_ty.restype = ctypes.c_bool 

3895_wasmtime_component_stream_type_ty.argtypes = [ctypes.POINTER(wasmtime_component_stream_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

3896def wasmtime_component_stream_type_ty(ty: Any, type_ret: Any) -> bool: 

3897 return _wasmtime_component_stream_type_ty(ty, type_ret) # type: ignore 

3898 

3899wasmtime_component_valtype_kind_t = ctypes.c_uint8 

3900 

3901class wasmtime_component_valtype_union(ctypes.Union): 

3902 _fields_ = [ 

3903 ("list", ctypes.POINTER(wasmtime_component_list_type_t)), 

3904 ("record", ctypes.POINTER(wasmtime_component_record_type_t)), 

3905 ("tuple", ctypes.POINTER(wasmtime_component_tuple_type_t)), 

3906 ("variant", ctypes.POINTER(wasmtime_component_variant_type_t)), 

3907 ("enum_", ctypes.POINTER(wasmtime_component_enum_type_t)), 

3908 ("option", ctypes.POINTER(wasmtime_component_option_type_t)), 

3909 ("result", ctypes.POINTER(wasmtime_component_result_type_t)), 

3910 ("flags", ctypes.POINTER(wasmtime_component_flags_type_t)), 

3911 ("own", ctypes.POINTER(wasmtime_component_resource_type_t)), 

3912 ("borrow", ctypes.POINTER(wasmtime_component_resource_type_t)), 

3913 ("future", ctypes.POINTER(wasmtime_component_future_type_t)), 

3914 ("stream", ctypes.POINTER(wasmtime_component_stream_type_t)), 

3915 ] 

3916 list: ctypes._Pointer 

3917 record: ctypes._Pointer 

3918 tuple: ctypes._Pointer 

3919 variant: ctypes._Pointer 

3920 enum_: ctypes._Pointer 

3921 option: ctypes._Pointer 

3922 result: ctypes._Pointer 

3923 flags: ctypes._Pointer 

3924 own: ctypes._Pointer 

3925 borrow: ctypes._Pointer 

3926 future: ctypes._Pointer 

3927 stream: ctypes._Pointer 

3928 

3929wasmtime_component_valtype_union_t = wasmtime_component_valtype_union 

3930 

3931wasmtime_component_valtype_t._fields_ = [ 

3932 ("kind", wasmtime_component_valtype_kind_t), 

3933 ("of", wasmtime_component_valtype_union_t), 

3934 ] 

3935 

3936_wasmtime_component_valtype_clone = dll.wasmtime_component_valtype_clone 

3937_wasmtime_component_valtype_clone.restype = None 

3938_wasmtime_component_valtype_clone.argtypes = [ctypes.POINTER(wasmtime_component_valtype_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

3939def wasmtime_component_valtype_clone(ty: Any, out: Any) -> None: 

3940 return _wasmtime_component_valtype_clone(ty, out) # type: ignore 

3941 

3942_wasmtime_component_valtype_equal = dll.wasmtime_component_valtype_equal 

3943_wasmtime_component_valtype_equal.restype = ctypes.c_bool 

3944_wasmtime_component_valtype_equal.argtypes = [ctypes.POINTER(wasmtime_component_valtype_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

3945def wasmtime_component_valtype_equal(a: Any, b: Any) -> bool: 

3946 return _wasmtime_component_valtype_equal(a, b) # type: ignore 

3947 

3948_wasmtime_component_valtype_delete = dll.wasmtime_component_valtype_delete 

3949_wasmtime_component_valtype_delete.restype = None 

3950_wasmtime_component_valtype_delete.argtypes = [ctypes.POINTER(wasmtime_component_valtype_t)] 

3951def wasmtime_component_valtype_delete(ptr: Any) -> None: 

3952 return _wasmtime_component_valtype_delete(ptr) # type: ignore 

3953 

3954class wasmtime_component_func_type_t(ctypes.Structure): 

3955 pass 

3956 

3957_wasmtime_component_func_type_clone = dll.wasmtime_component_func_type_clone 

3958_wasmtime_component_func_type_clone.restype = ctypes.POINTER(wasmtime_component_func_type_t) 

3959_wasmtime_component_func_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_func_type_t)] 

3960def wasmtime_component_func_type_clone(ty: Any) -> ctypes._Pointer: 

3961 return _wasmtime_component_func_type_clone(ty) # type: ignore 

3962 

3963_wasmtime_component_func_type_delete = dll.wasmtime_component_func_type_delete 

3964_wasmtime_component_func_type_delete.restype = None 

3965_wasmtime_component_func_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_func_type_t)] 

3966def wasmtime_component_func_type_delete(ty: Any) -> None: 

3967 return _wasmtime_component_func_type_delete(ty) # type: ignore 

3968 

3969_wasmtime_component_func_type_param_count = dll.wasmtime_component_func_type_param_count 

3970_wasmtime_component_func_type_param_count.restype = ctypes.c_size_t 

3971_wasmtime_component_func_type_param_count.argtypes = [ctypes.POINTER(wasmtime_component_func_type_t)] 

3972def wasmtime_component_func_type_param_count(ty: Any) -> int: 

3973 return _wasmtime_component_func_type_param_count(ty) # type: ignore 

3974 

3975_wasmtime_component_func_type_param_nth = dll.wasmtime_component_func_type_param_nth 

3976_wasmtime_component_func_type_param_nth.restype = ctypes.c_bool 

3977_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)] 

3978def wasmtime_component_func_type_param_nth(ty: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

3979 return _wasmtime_component_func_type_param_nth(ty, nth, name_ret, name_len_ret, type_ret) # type: ignore 

3980 

3981_wasmtime_component_func_type_result = dll.wasmtime_component_func_type_result 

3982_wasmtime_component_func_type_result.restype = ctypes.c_bool 

3983_wasmtime_component_func_type_result.argtypes = [ctypes.POINTER(wasmtime_component_func_type_t), ctypes.POINTER(wasmtime_component_valtype_t)] 

3984def wasmtime_component_func_type_result(ty: Any, type_ret: Any) -> bool: 

3985 return _wasmtime_component_func_type_result(ty, type_ret) # type: ignore 

3986 

3987class wasmtime_component_item_t(ctypes.Structure): 

3988 pass 

3989 

3990class wasmtime_component_instance_type(ctypes.Structure): 

3991 pass 

3992 

3993wasmtime_component_instance_type_t = wasmtime_component_instance_type 

3994 

3995_wasmtime_component_instance_type_clone = dll.wasmtime_component_instance_type_clone 

3996_wasmtime_component_instance_type_clone.restype = ctypes.POINTER(wasmtime_component_instance_type_t) 

3997_wasmtime_component_instance_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_instance_type_t)] 

3998def wasmtime_component_instance_type_clone(ty: Any) -> ctypes._Pointer: 

3999 return _wasmtime_component_instance_type_clone(ty) # type: ignore 

4000 

4001_wasmtime_component_instance_type_delete = dll.wasmtime_component_instance_type_delete 

4002_wasmtime_component_instance_type_delete.restype = None 

4003_wasmtime_component_instance_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_instance_type_t)] 

4004def wasmtime_component_instance_type_delete(ty: Any) -> None: 

4005 return _wasmtime_component_instance_type_delete(ty) # type: ignore 

4006 

4007_wasmtime_component_instance_type_export_count = dll.wasmtime_component_instance_type_export_count 

4008_wasmtime_component_instance_type_export_count.restype = ctypes.c_size_t 

4009_wasmtime_component_instance_type_export_count.argtypes = [ctypes.POINTER(wasmtime_component_instance_type_t), ctypes.POINTER(wasm_engine_t)] 

4010def wasmtime_component_instance_type_export_count(ty: Any, engine: Any) -> int: 

4011 return _wasmtime_component_instance_type_export_count(ty, engine) # type: ignore 

4012 

4013_wasmtime_component_instance_type_export_get = dll.wasmtime_component_instance_type_export_get 

4014_wasmtime_component_instance_type_export_get.restype = ctypes.c_bool 

4015_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)] 

4016def wasmtime_component_instance_type_export_get(ty: Any, engine: Any, name: Any, name_len: Any, ret: Any) -> bool: 

4017 return _wasmtime_component_instance_type_export_get(ty, engine, name, name_len, ret) # type: ignore 

4018 

4019_wasmtime_component_instance_type_export_nth = dll.wasmtime_component_instance_type_export_nth 

4020_wasmtime_component_instance_type_export_nth.restype = ctypes.c_bool 

4021_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)] 

4022def wasmtime_component_instance_type_export_nth(ty: Any, engine: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

4023 return _wasmtime_component_instance_type_export_nth(ty, engine, nth, name_ret, name_len_ret, type_ret) # type: ignore 

4024 

4025class wasmtime_module_type(ctypes.Structure): 

4026 pass 

4027 

4028wasmtime_module_type_t = wasmtime_module_type 

4029 

4030_wasmtime_module_type_clone = dll.wasmtime_module_type_clone 

4031_wasmtime_module_type_clone.restype = ctypes.POINTER(wasmtime_module_type_t) 

4032_wasmtime_module_type_clone.argtypes = [ctypes.POINTER(wasmtime_module_type_t)] 

4033def wasmtime_module_type_clone(ty: Any) -> ctypes._Pointer: 

4034 return _wasmtime_module_type_clone(ty) # type: ignore 

4035 

4036_wasmtime_module_type_delete = dll.wasmtime_module_type_delete 

4037_wasmtime_module_type_delete.restype = None 

4038_wasmtime_module_type_delete.argtypes = [ctypes.POINTER(wasmtime_module_type_t)] 

4039def wasmtime_module_type_delete(ty: Any) -> None: 

4040 return _wasmtime_module_type_delete(ty) # type: ignore 

4041 

4042_wasmtime_module_type_import_count = dll.wasmtime_module_type_import_count 

4043_wasmtime_module_type_import_count.restype = ctypes.c_size_t 

4044_wasmtime_module_type_import_count.argtypes = [ctypes.POINTER(wasmtime_module_type_t), ctypes.POINTER(wasm_engine_t)] 

4045def wasmtime_module_type_import_count(ty: Any, engine: Any) -> int: 

4046 return _wasmtime_module_type_import_count(ty, engine) # type: ignore 

4047 

4048_wasmtime_module_type_import_nth = dll.wasmtime_module_type_import_nth 

4049_wasmtime_module_type_import_nth.restype = ctypes.POINTER(wasm_importtype_t) 

4050_wasmtime_module_type_import_nth.argtypes = [ctypes.POINTER(wasmtime_module_type_t), ctypes.POINTER(wasm_engine_t), ctypes.c_size_t] 

4051def wasmtime_module_type_import_nth(ty: Any, engine: Any, nth: Any) -> ctypes._Pointer: 

4052 return _wasmtime_module_type_import_nth(ty, engine, nth) # type: ignore 

4053 

4054_wasmtime_module_type_export_count = dll.wasmtime_module_type_export_count 

4055_wasmtime_module_type_export_count.restype = ctypes.c_size_t 

4056_wasmtime_module_type_export_count.argtypes = [ctypes.POINTER(wasmtime_module_type_t), ctypes.POINTER(wasm_engine_t)] 

4057def wasmtime_module_type_export_count(ty: Any, engine: Any) -> int: 

4058 return _wasmtime_module_type_export_count(ty, engine) # type: ignore 

4059 

4060_wasmtime_module_type_export_nth = dll.wasmtime_module_type_export_nth 

4061_wasmtime_module_type_export_nth.restype = ctypes.POINTER(wasm_exporttype_t) 

4062_wasmtime_module_type_export_nth.argtypes = [ctypes.POINTER(wasmtime_module_type_t), ctypes.POINTER(wasm_engine_t), ctypes.c_size_t] 

4063def wasmtime_module_type_export_nth(ty: Any, engine: Any, nth: Any) -> ctypes._Pointer: 

4064 return _wasmtime_module_type_export_nth(ty, engine, nth) # type: ignore 

4065 

4066class wasmtime_component_type_t(ctypes.Structure): 

4067 pass 

4068 

4069_wasmtime_component_type_clone = dll.wasmtime_component_type_clone 

4070_wasmtime_component_type_clone.restype = ctypes.POINTER(wasmtime_component_type_t) 

4071_wasmtime_component_type_clone.argtypes = [ctypes.POINTER(wasmtime_component_type_t)] 

4072def wasmtime_component_type_clone(ty: Any) -> ctypes._Pointer: 

4073 return _wasmtime_component_type_clone(ty) # type: ignore 

4074 

4075_wasmtime_component_type_delete = dll.wasmtime_component_type_delete 

4076_wasmtime_component_type_delete.restype = None 

4077_wasmtime_component_type_delete.argtypes = [ctypes.POINTER(wasmtime_component_type_t)] 

4078def wasmtime_component_type_delete(ty: Any) -> None: 

4079 return _wasmtime_component_type_delete(ty) # type: ignore 

4080 

4081_wasmtime_component_type_import_count = dll.wasmtime_component_type_import_count 

4082_wasmtime_component_type_import_count.restype = ctypes.c_size_t 

4083_wasmtime_component_type_import_count.argtypes = [ctypes.POINTER(wasmtime_component_type_t), ctypes.POINTER(wasm_engine_t)] 

4084def wasmtime_component_type_import_count(ty: Any, engine: Any) -> int: 

4085 return _wasmtime_component_type_import_count(ty, engine) # type: ignore 

4086 

4087_wasmtime_component_type_import_get = dll.wasmtime_component_type_import_get 

4088_wasmtime_component_type_import_get.restype = ctypes.c_bool 

4089_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)] 

4090def wasmtime_component_type_import_get(ty: Any, engine: Any, name: Any, name_len: Any, ret: Any) -> bool: 

4091 return _wasmtime_component_type_import_get(ty, engine, name, name_len, ret) # type: ignore 

4092 

4093_wasmtime_component_type_import_nth = dll.wasmtime_component_type_import_nth 

4094_wasmtime_component_type_import_nth.restype = ctypes.c_bool 

4095_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)] 

4096def wasmtime_component_type_import_nth(ty: Any, engine: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

4097 return _wasmtime_component_type_import_nth(ty, engine, nth, name_ret, name_len_ret, type_ret) # type: ignore 

4098 

4099_wasmtime_component_type_export_count = dll.wasmtime_component_type_export_count 

4100_wasmtime_component_type_export_count.restype = ctypes.c_size_t 

4101_wasmtime_component_type_export_count.argtypes = [ctypes.POINTER(wasmtime_component_type_t), ctypes.POINTER(wasm_engine_t)] 

4102def wasmtime_component_type_export_count(ty: Any, engine: Any) -> int: 

4103 return _wasmtime_component_type_export_count(ty, engine) # type: ignore 

4104 

4105_wasmtime_component_type_export_get = dll.wasmtime_component_type_export_get 

4106_wasmtime_component_type_export_get.restype = ctypes.c_bool 

4107_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)] 

4108def wasmtime_component_type_export_get(ty: Any, engine: Any, name: Any, name_len: Any, ret: Any) -> bool: 

4109 return _wasmtime_component_type_export_get(ty, engine, name, name_len, ret) # type: ignore 

4110 

4111_wasmtime_component_type_export_nth = dll.wasmtime_component_type_export_nth 

4112_wasmtime_component_type_export_nth.restype = ctypes.c_bool 

4113_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)] 

4114def wasmtime_component_type_export_nth(ty: Any, engine: Any, nth: Any, name_ret: Any, name_len_ret: Any, type_ret: Any) -> bool: 

4115 return _wasmtime_component_type_export_nth(ty, engine, nth, name_ret, name_len_ret, type_ret) # type: ignore 

4116 

4117wasmtime_component_item_kind_t = ctypes.c_uint8 

4118 

4119class wasmtime_component_item_union(ctypes.Union): 

4120 _fields_ = [ 

4121 ("component", ctypes.POINTER(wasmtime_component_type_t)), 

4122 ("component_instance", ctypes.POINTER(wasmtime_component_instance_type_t)), 

4123 ("module", ctypes.POINTER(wasmtime_module_type_t)), 

4124 ("component_func", ctypes.POINTER(wasmtime_component_func_type_t)), 

4125 ("resource", ctypes.POINTER(wasmtime_component_resource_type_t)), 

4126 ("core_func", ctypes.POINTER(wasm_functype_t)), 

4127 ("type", wasmtime_component_valtype_t), 

4128 ] 

4129 component: ctypes._Pointer 

4130 component_instance: ctypes._Pointer 

4131 module: ctypes._Pointer 

4132 component_func: ctypes._Pointer 

4133 resource: ctypes._Pointer 

4134 core_func: ctypes._Pointer 

4135 type: wasmtime_component_valtype_t 

4136 

4137wasmtime_component_item_union_t = wasmtime_component_item_union 

4138 

4139wasmtime_component_item_t._fields_ = [ 

4140 ("kind", wasmtime_component_item_kind_t), 

4141 ("of", wasmtime_component_item_union_t), 

4142 ] 

4143 

4144_wasmtime_component_item_clone = dll.wasmtime_component_item_clone 

4145_wasmtime_component_item_clone.restype = None 

4146_wasmtime_component_item_clone.argtypes = [ctypes.POINTER(wasmtime_component_item_t), ctypes.POINTER(wasmtime_component_item_t)] 

4147def wasmtime_component_item_clone(item: Any, out: Any) -> None: 

4148 return _wasmtime_component_item_clone(item, out) # type: ignore 

4149 

4150_wasmtime_component_item_delete = dll.wasmtime_component_item_delete 

4151_wasmtime_component_item_delete.restype = None 

4152_wasmtime_component_item_delete.argtypes = [ctypes.POINTER(wasmtime_component_item_t)] 

4153def wasmtime_component_item_delete(ptr: Any) -> None: 

4154 return _wasmtime_component_item_delete(ptr) # type: ignore 

4155 

4156class wasmtime_component_t(ctypes.Structure): 

4157 pass 

4158 

4159_wasmtime_component_new = dll.wasmtime_component_new 

4160_wasmtime_component_new.restype = ctypes.POINTER(wasmtime_error_t) 

4161_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))] 

4162def wasmtime_component_new(engine: Any, buf: Any, len: Any, component_out: Any) -> ctypes._Pointer: 

4163 return _wasmtime_component_new(engine, buf, len, component_out) # type: ignore 

4164 

4165_wasmtime_component_serialize = dll.wasmtime_component_serialize 

4166_wasmtime_component_serialize.restype = ctypes.POINTER(wasmtime_error_t) 

4167_wasmtime_component_serialize.argtypes = [ctypes.POINTER(wasmtime_component_t), ctypes.POINTER(wasm_byte_vec_t)] 

4168def wasmtime_component_serialize(component: Any, ret: Any) -> ctypes._Pointer: 

4169 return _wasmtime_component_serialize(component, ret) # type: ignore 

4170 

4171_wasmtime_component_deserialize = dll.wasmtime_component_deserialize 

4172_wasmtime_component_deserialize.restype = ctypes.POINTER(wasmtime_error_t) 

4173_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))] 

4174def wasmtime_component_deserialize(engine: Any, buf: Any, len: Any, component_out: Any) -> ctypes._Pointer: 

4175 return _wasmtime_component_deserialize(engine, buf, len, component_out) # type: ignore 

4176 

4177_wasmtime_component_deserialize_file = dll.wasmtime_component_deserialize_file 

4178_wasmtime_component_deserialize_file.restype = ctypes.POINTER(wasmtime_error_t) 

4179_wasmtime_component_deserialize_file.argtypes = [ctypes.POINTER(wasm_engine_t), ctypes.POINTER(ctypes.c_char), ctypes.POINTER(ctypes.POINTER(wasmtime_component_t))] 

4180def wasmtime_component_deserialize_file(engine: Any, path: Any, component_out: Any) -> ctypes._Pointer: 

4181 return _wasmtime_component_deserialize_file(engine, path, component_out) # type: ignore 

4182 

4183_wasmtime_component_clone = dll.wasmtime_component_clone 

4184_wasmtime_component_clone.restype = ctypes.POINTER(wasmtime_component_t) 

4185_wasmtime_component_clone.argtypes = [ctypes.POINTER(wasmtime_component_t)] 

4186def wasmtime_component_clone(component: Any) -> ctypes._Pointer: 

4187 return _wasmtime_component_clone(component) # type: ignore 

4188 

4189_wasmtime_component_type = dll.wasmtime_component_type 

4190_wasmtime_component_type.restype = ctypes.POINTER(wasmtime_component_type_t) 

4191_wasmtime_component_type.argtypes = [ctypes.POINTER(wasmtime_component_t)] 

4192def wasmtime_component_type(component: Any) -> ctypes._Pointer: 

4193 return _wasmtime_component_type(component) # type: ignore 

4194 

4195_wasmtime_component_delete = dll.wasmtime_component_delete 

4196_wasmtime_component_delete.restype = None 

4197_wasmtime_component_delete.argtypes = [ctypes.POINTER(wasmtime_component_t)] 

4198def wasmtime_component_delete(component: Any) -> None: 

4199 return _wasmtime_component_delete(component) # type: ignore 

4200 

4201class wasmtime_component_export_index_t(ctypes.Structure): 

4202 pass 

4203 

4204_wasmtime_component_get_export_index = dll.wasmtime_component_get_export_index 

4205_wasmtime_component_get_export_index.restype = ctypes.POINTER(wasmtime_component_export_index_t) 

4206_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] 

4207def wasmtime_component_get_export_index(component: Any, instance_export_index: Any, name: Any, name_len: Any) -> ctypes._Pointer: 

4208 return _wasmtime_component_get_export_index(component, instance_export_index, name, name_len) # type: ignore 

4209 

4210_wasmtime_component_export_index_clone = dll.wasmtime_component_export_index_clone 

4211_wasmtime_component_export_index_clone.restype = ctypes.POINTER(wasmtime_component_export_index_t) 

4212_wasmtime_component_export_index_clone.argtypes = [ctypes.POINTER(wasmtime_component_export_index_t)] 

4213def wasmtime_component_export_index_clone(index: Any) -> ctypes._Pointer: 

4214 return _wasmtime_component_export_index_clone(index) # type: ignore 

4215 

4216_wasmtime_component_export_index_delete = dll.wasmtime_component_export_index_delete 

4217_wasmtime_component_export_index_delete.restype = None 

4218_wasmtime_component_export_index_delete.argtypes = [ctypes.POINTER(wasmtime_component_export_index_t)] 

4219def wasmtime_component_export_index_delete(export_index: Any) -> None: 

4220 return _wasmtime_component_export_index_delete(export_index) # type: ignore 

4221 

4222class wasmtime_component_resource_any(ctypes.Structure): 

4223 pass 

4224 

4225wasmtime_component_resource_any_t = wasmtime_component_resource_any 

4226 

4227_wasmtime_component_resource_any_type = dll.wasmtime_component_resource_any_type 

4228_wasmtime_component_resource_any_type.restype = ctypes.POINTER(wasmtime_component_resource_type_t) 

4229_wasmtime_component_resource_any_type.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4230def wasmtime_component_resource_any_type(resource: Any) -> ctypes._Pointer: 

4231 return _wasmtime_component_resource_any_type(resource) # type: ignore 

4232 

4233_wasmtime_component_resource_any_clone = dll.wasmtime_component_resource_any_clone 

4234_wasmtime_component_resource_any_clone.restype = ctypes.POINTER(wasmtime_component_resource_any_t) 

4235_wasmtime_component_resource_any_clone.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4236def wasmtime_component_resource_any_clone(resource: Any) -> ctypes._Pointer: 

4237 return _wasmtime_component_resource_any_clone(resource) # type: ignore 

4238 

4239_wasmtime_component_resource_any_owned = dll.wasmtime_component_resource_any_owned 

4240_wasmtime_component_resource_any_owned.restype = ctypes.c_bool 

4241_wasmtime_component_resource_any_owned.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4242def wasmtime_component_resource_any_owned(resource: Any) -> bool: 

4243 return _wasmtime_component_resource_any_owned(resource) # type: ignore 

4244 

4245_wasmtime_component_resource_any_drop = dll.wasmtime_component_resource_any_drop 

4246_wasmtime_component_resource_any_drop.restype = ctypes.POINTER(wasmtime_error_t) 

4247_wasmtime_component_resource_any_drop.argtypes = [ctypes.POINTER(wasmtime_context_t), ctypes.POINTER(wasmtime_component_resource_any_t)] 

4248def wasmtime_component_resource_any_drop(ctx: Any, resource: Any) -> ctypes._Pointer: 

4249 return _wasmtime_component_resource_any_drop(ctx, resource) # type: ignore 

4250 

4251_wasmtime_component_resource_any_delete = dll.wasmtime_component_resource_any_delete 

4252_wasmtime_component_resource_any_delete.restype = None 

4253_wasmtime_component_resource_any_delete.argtypes = [ctypes.POINTER(wasmtime_component_resource_any_t)] 

4254def wasmtime_component_resource_any_delete(resource: Any) -> None: 

4255 return _wasmtime_component_resource_any_delete(resource) # type: ignore 

4256 

4257class wasmtime_component_resource_host(ctypes.Structure): 

4258 pass 

4259 

4260wasmtime_component_resource_host_t = wasmtime_component_resource_host 

4261 

4262_wasmtime_component_resource_host_new = dll.wasmtime_component_resource_host_new 

4263_wasmtime_component_resource_host_new.restype = ctypes.POINTER(wasmtime_component_resource_host_t) 

4264_wasmtime_component_resource_host_new.argtypes = [ctypes.c_bool, ctypes.c_uint32, ctypes.c_uint32] 

4265def wasmtime_component_resource_host_new(owned: Any, rep: Any, ty: Any) -> ctypes._Pointer: 

4266 return _wasmtime_component_resource_host_new(owned, rep, ty) # type: ignore 

4267 

4268_wasmtime_component_resource_host_clone = dll.wasmtime_component_resource_host_clone 

4269_wasmtime_component_resource_host_clone.restype = ctypes.POINTER(wasmtime_component_resource_host_t) 

4270_wasmtime_component_resource_host_clone.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4271def wasmtime_component_resource_host_clone(resource: Any) -> ctypes._Pointer: 

4272 return _wasmtime_component_resource_host_clone(resource) # type: ignore 

4273 

4274_wasmtime_component_resource_host_rep = dll.wasmtime_component_resource_host_rep 

4275_wasmtime_component_resource_host_rep.restype = ctypes.c_uint32 

4276_wasmtime_component_resource_host_rep.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4277def wasmtime_component_resource_host_rep(resource: Any) -> int: 

4278 return _wasmtime_component_resource_host_rep(resource) # type: ignore 

4279 

4280_wasmtime_component_resource_host_type = dll.wasmtime_component_resource_host_type 

4281_wasmtime_component_resource_host_type.restype = ctypes.c_uint32 

4282_wasmtime_component_resource_host_type.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4283def wasmtime_component_resource_host_type(resource: Any) -> int: 

4284 return _wasmtime_component_resource_host_type(resource) # type: ignore 

4285 

4286_wasmtime_component_resource_host_owned = dll.wasmtime_component_resource_host_owned 

4287_wasmtime_component_resource_host_owned.restype = ctypes.c_bool 

4288_wasmtime_component_resource_host_owned.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4289def wasmtime_component_resource_host_owned(resource: Any) -> bool: 

4290 return _wasmtime_component_resource_host_owned(resource) # type: ignore 

4291 

4292_wasmtime_component_resource_host_delete = dll.wasmtime_component_resource_host_delete 

4293_wasmtime_component_resource_host_delete.restype = None 

4294_wasmtime_component_resource_host_delete.argtypes = [ctypes.POINTER(wasmtime_component_resource_host_t)] 

4295def wasmtime_component_resource_host_delete(resource: Any) -> None: 

4296 return _wasmtime_component_resource_host_delete(resource) # type: ignore 

4297 

4298_wasmtime_component_resource_any_to_host = dll.wasmtime_component_resource_any_to_host 

4299_wasmtime_component_resource_any_to_host.restype = ctypes.POINTER(wasmtime_error_t) 

4300_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))] 

4301def wasmtime_component_resource_any_to_host(ctx: Any, resource: Any, ret: Any) -> ctypes._Pointer: 

4302 return _wasmtime_component_resource_any_to_host(ctx, resource, ret) # type: ignore 

4303 

4304_wasmtime_component_resource_host_to_any = dll.wasmtime_component_resource_host_to_any 

4305_wasmtime_component_resource_host_to_any.restype = ctypes.POINTER(wasmtime_error_t) 

4306_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))] 

4307def wasmtime_component_resource_host_to_any(ctx: Any, resource: Any, ret: Any) -> ctypes._Pointer: 

4308 return _wasmtime_component_resource_host_to_any(ctx, resource, ret) # type: ignore 

4309 

4310wasmtime_component_valkind_t = ctypes.c_uint8 

4311 

4312class wasmtime_component_val(ctypes.Structure): 

4313 pass 

4314 

4315class wasmtime_component_valrecord_entry(ctypes.Structure): 

4316 pass 

4317 

4318class wasmtime_component_vallist(ctypes.Structure): 

4319 _fields_ = [ 

4320 ("size", ctypes.c_size_t), 

4321 ("data", ctypes.POINTER(wasmtime_component_val)), 

4322 ] 

4323 size: int 

4324 data: ctypes._Pointer 

4325 

4326wasmtime_component_vallist_t = wasmtime_component_vallist 

4327 

4328_wasmtime_component_vallist_new = dll.wasmtime_component_vallist_new 

4329_wasmtime_component_vallist_new.restype = None 

4330_wasmtime_component_vallist_new.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_val)] 

4331def wasmtime_component_vallist_new(out: Any, size: Any, ptr: Any) -> None: 

4332 return _wasmtime_component_vallist_new(out, size, ptr) # type: ignore 

4333 

4334_wasmtime_component_vallist_new_empty = dll.wasmtime_component_vallist_new_empty 

4335_wasmtime_component_vallist_new_empty.restype = None 

4336_wasmtime_component_vallist_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t)] 

4337def wasmtime_component_vallist_new_empty(out: Any) -> None: 

4338 return _wasmtime_component_vallist_new_empty(out) # type: ignore 

4339 

4340_wasmtime_component_vallist_new_uninit = dll.wasmtime_component_vallist_new_uninit 

4341_wasmtime_component_vallist_new_uninit.restype = None 

4342_wasmtime_component_vallist_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t), ctypes.c_size_t] 

4343def wasmtime_component_vallist_new_uninit(out: Any, size: Any) -> None: 

4344 return _wasmtime_component_vallist_new_uninit(out, size) # type: ignore 

4345 

4346_wasmtime_component_vallist_copy = dll.wasmtime_component_vallist_copy 

4347_wasmtime_component_vallist_copy.restype = None 

4348_wasmtime_component_vallist_copy.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t), ctypes.POINTER(wasmtime_component_vallist_t)] 

4349def wasmtime_component_vallist_copy(dst: Any, src: Any) -> None: 

4350 return _wasmtime_component_vallist_copy(dst, src) # type: ignore 

4351 

4352_wasmtime_component_vallist_delete = dll.wasmtime_component_vallist_delete 

4353_wasmtime_component_vallist_delete.restype = None 

4354_wasmtime_component_vallist_delete.argtypes = [ctypes.POINTER(wasmtime_component_vallist_t)] 

4355def wasmtime_component_vallist_delete(value: Any) -> None: 

4356 return _wasmtime_component_vallist_delete(value) # type: ignore 

4357 

4358class wasmtime_component_valrecord(ctypes.Structure): 

4359 _fields_ = [ 

4360 ("size", ctypes.c_size_t), 

4361 ("data", ctypes.POINTER(wasmtime_component_valrecord_entry)), 

4362 ] 

4363 size: int 

4364 data: ctypes._Pointer 

4365 

4366wasmtime_component_valrecord_t = wasmtime_component_valrecord 

4367 

4368_wasmtime_component_valrecord_new = dll.wasmtime_component_valrecord_new 

4369_wasmtime_component_valrecord_new.restype = None 

4370_wasmtime_component_valrecord_new.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_valrecord_entry)] 

4371def wasmtime_component_valrecord_new(out: Any, size: Any, ptr: Any) -> None: 

4372 return _wasmtime_component_valrecord_new(out, size, ptr) # type: ignore 

4373 

4374_wasmtime_component_valrecord_new_empty = dll.wasmtime_component_valrecord_new_empty 

4375_wasmtime_component_valrecord_new_empty.restype = None 

4376_wasmtime_component_valrecord_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t)] 

4377def wasmtime_component_valrecord_new_empty(out: Any) -> None: 

4378 return _wasmtime_component_valrecord_new_empty(out) # type: ignore 

4379 

4380_wasmtime_component_valrecord_new_uninit = dll.wasmtime_component_valrecord_new_uninit 

4381_wasmtime_component_valrecord_new_uninit.restype = None 

4382_wasmtime_component_valrecord_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t), ctypes.c_size_t] 

4383def wasmtime_component_valrecord_new_uninit(out: Any, size: Any) -> None: 

4384 return _wasmtime_component_valrecord_new_uninit(out, size) # type: ignore 

4385 

4386_wasmtime_component_valrecord_copy = dll.wasmtime_component_valrecord_copy 

4387_wasmtime_component_valrecord_copy.restype = None 

4388_wasmtime_component_valrecord_copy.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t), ctypes.POINTER(wasmtime_component_valrecord_t)] 

4389def wasmtime_component_valrecord_copy(dst: Any, src: Any) -> None: 

4390 return _wasmtime_component_valrecord_copy(dst, src) # type: ignore 

4391 

4392_wasmtime_component_valrecord_delete = dll.wasmtime_component_valrecord_delete 

4393_wasmtime_component_valrecord_delete.restype = None 

4394_wasmtime_component_valrecord_delete.argtypes = [ctypes.POINTER(wasmtime_component_valrecord_t)] 

4395def wasmtime_component_valrecord_delete(value: Any) -> None: 

4396 return _wasmtime_component_valrecord_delete(value) # type: ignore 

4397 

4398class wasmtime_component_valtuple(ctypes.Structure): 

4399 _fields_ = [ 

4400 ("size", ctypes.c_size_t), 

4401 ("data", ctypes.POINTER(wasmtime_component_val)), 

4402 ] 

4403 size: int 

4404 data: ctypes._Pointer 

4405 

4406wasmtime_component_valtuple_t = wasmtime_component_valtuple 

4407 

4408_wasmtime_component_valtuple_new = dll.wasmtime_component_valtuple_new 

4409_wasmtime_component_valtuple_new.restype = None 

4410_wasmtime_component_valtuple_new.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t), ctypes.c_size_t, ctypes.POINTER(wasmtime_component_val)] 

4411def wasmtime_component_valtuple_new(out: Any, size: Any, ptr: Any) -> None: 

4412 return _wasmtime_component_valtuple_new(out, size, ptr) # type: ignore 

4413 

4414_wasmtime_component_valtuple_new_empty = dll.wasmtime_component_valtuple_new_empty 

4415_wasmtime_component_valtuple_new_empty.restype = None 

4416_wasmtime_component_valtuple_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t)] 

4417def wasmtime_component_valtuple_new_empty(out: Any) -> None: 

4418 return _wasmtime_component_valtuple_new_empty(out) # type: ignore 

4419 

4420_wasmtime_component_valtuple_new_uninit = dll.wasmtime_component_valtuple_new_uninit 

4421_wasmtime_component_valtuple_new_uninit.restype = None 

4422_wasmtime_component_valtuple_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t), ctypes.c_size_t] 

4423def wasmtime_component_valtuple_new_uninit(out: Any, size: Any) -> None: 

4424 return _wasmtime_component_valtuple_new_uninit(out, size) # type: ignore 

4425 

4426_wasmtime_component_valtuple_copy = dll.wasmtime_component_valtuple_copy 

4427_wasmtime_component_valtuple_copy.restype = None 

4428_wasmtime_component_valtuple_copy.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t), ctypes.POINTER(wasmtime_component_valtuple_t)] 

4429def wasmtime_component_valtuple_copy(dst: Any, src: Any) -> None: 

4430 return _wasmtime_component_valtuple_copy(dst, src) # type: ignore 

4431 

4432_wasmtime_component_valtuple_delete = dll.wasmtime_component_valtuple_delete 

4433_wasmtime_component_valtuple_delete.restype = None 

4434_wasmtime_component_valtuple_delete.argtypes = [ctypes.POINTER(wasmtime_component_valtuple_t)] 

4435def wasmtime_component_valtuple_delete(value: Any) -> None: 

4436 return _wasmtime_component_valtuple_delete(value) # type: ignore 

4437 

4438class wasmtime_component_valflags(ctypes.Structure): 

4439 _fields_ = [ 

4440 ("size", ctypes.c_size_t), 

4441 ("data", ctypes.POINTER(wasm_name_t)), 

4442 ] 

4443 size: int 

4444 data: ctypes._Pointer 

4445 

4446wasmtime_component_valflags_t = wasmtime_component_valflags 

4447 

4448_wasmtime_component_valflags_new = dll.wasmtime_component_valflags_new 

4449_wasmtime_component_valflags_new.restype = None 

4450_wasmtime_component_valflags_new.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t), ctypes.c_size_t, ctypes.POINTER(wasm_name_t)] 

4451def wasmtime_component_valflags_new(out: Any, size: Any, ptr: Any) -> None: 

4452 return _wasmtime_component_valflags_new(out, size, ptr) # type: ignore 

4453 

4454_wasmtime_component_valflags_new_empty = dll.wasmtime_component_valflags_new_empty 

4455_wasmtime_component_valflags_new_empty.restype = None 

4456_wasmtime_component_valflags_new_empty.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t)] 

4457def wasmtime_component_valflags_new_empty(out: Any) -> None: 

4458 return _wasmtime_component_valflags_new_empty(out) # type: ignore 

4459 

4460_wasmtime_component_valflags_new_uninit = dll.wasmtime_component_valflags_new_uninit 

4461_wasmtime_component_valflags_new_uninit.restype = None 

4462_wasmtime_component_valflags_new_uninit.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t), ctypes.c_size_t] 

4463def wasmtime_component_valflags_new_uninit(out: Any, size: Any) -> None: 

4464 return _wasmtime_component_valflags_new_uninit(out, size) # type: ignore 

4465 

4466_wasmtime_component_valflags_copy = dll.wasmtime_component_valflags_copy 

4467_wasmtime_component_valflags_copy.restype = None 

4468_wasmtime_component_valflags_copy.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t), ctypes.POINTER(wasmtime_component_valflags_t)] 

4469def wasmtime_component_valflags_copy(dst: Any, src: Any) -> None: 

4470 return _wasmtime_component_valflags_copy(dst, src) # type: ignore 

4471 

4472_wasmtime_component_valflags_delete = dll.wasmtime_component_valflags_delete 

4473_wasmtime_component_valflags_delete.restype = None 

4474_wasmtime_component_valflags_delete.argtypes = [ctypes.POINTER(wasmtime_component_valflags_t)] 

4475def wasmtime_component_valflags_delete(value: Any) -> None: 

4476 return _wasmtime_component_valflags_delete(value) # type: ignore 

4477 

4478class wasmtime_component_valvariant(ctypes.Structure): 

4479 _fields_ = [ 

4480 ("discriminant", wasm_name_t), 

4481 ("val", ctypes.POINTER(wasmtime_component_val)), 

4482 ] 

4483 discriminant: wasm_name_t 

4484 val: ctypes._Pointer 

4485 

4486wasmtime_component_valvariant_t = wasmtime_component_valvariant 

4487 

4488class wasmtime_component_valresult(ctypes.Structure): 

4489 _fields_ = [ 

4490 ("is_ok", ctypes.c_bool), 

4491 ("val", ctypes.POINTER(wasmtime_component_val)), 

4492 ] 

4493 is_ok: bool 

4494 val: ctypes._Pointer 

4495 

4496wasmtime_component_valresult_t = wasmtime_component_valresult 

4497 

4498class wasmtime_component_valunion(ctypes.Union): 

4499 _fields_ = [ 

4500 ("boolean", ctypes.c_bool), 

4501 ("s8", ctypes.c_int8), 

4502 ("u8", ctypes.c_uint8), 

4503 ("s16", ctypes.c_int16), 

4504 ("u16", ctypes.c_uint16), 

4505 ("s32", ctypes.c_int32), 

4506 ("u32", ctypes.c_uint32), 

4507 ("s64", ctypes.c_int64), 

4508 ("u64", ctypes.c_uint64), 

4509 ("f32", ctypes.c_float), 

4510 ("f64", ctypes.c_double), 

4511 ("character", ctypes.c_uint32), 

4512 ("string", wasm_name_t), 

4513 ("list", wasmtime_component_vallist_t), 

4514 ("record", wasmtime_component_valrecord_t), 

4515 ("tuple", wasmtime_component_valtuple_t), 

4516 ("variant", wasmtime_component_valvariant_t), 

4517 ("enumeration", wasm_name_t), 

4518 ("option", ctypes.POINTER(wasmtime_component_val)), 

4519 ("result", wasmtime_component_valresult_t), 

4520 ("flags", wasmtime_component_valflags_t), 

4521 ("resource", ctypes.POINTER(wasmtime_component_resource_any_t)), 

4522 ] 

4523 boolean: bool 

4524 s8: ctypes.c_int8 

4525 u8: ctypes.c_uint8 

4526 s16: ctypes.c_int16 

4527 u16: ctypes.c_uint16 

4528 s32: int 

4529 u32: int 

4530 s64: int 

4531 u64: int 

4532 f32: float 

4533 f64: float 

4534 character: int 

4535 string: wasm_name_t 

4536 list: wasmtime_component_vallist_t 

4537 record: wasmtime_component_valrecord_t 

4538 tuple: wasmtime_component_valtuple_t 

4539 variant: wasmtime_component_valvariant_t 

4540 enumeration: wasm_name_t 

4541 option: ctypes._Pointer 

4542 result: wasmtime_component_valresult_t 

4543 flags: wasmtime_component_valflags_t 

4544 resource: ctypes._Pointer 

4545 

4546wasmtime_component_valunion_t = wasmtime_component_valunion 

4547 

4548wasmtime_component_val._fields_ = [ 

4549 ("kind", wasmtime_component_valkind_t), 

4550 ("of", wasmtime_component_valunion_t), 

4551 ] 

4552 

4553wasmtime_component_val_t = wasmtime_component_val 

4554 

4555wasmtime_component_valrecord_entry._fields_ = [ 

4556 ("name", wasm_name_t), 

4557 ("val", wasmtime_component_val_t), 

4558 ] 

4559 

4560wasmtime_component_valrecord_entry_t = wasmtime_component_valrecord_entry 

4561 

4562_wasmtime_component_val_new = dll.wasmtime_component_val_new 

4563_wasmtime_component_val_new.restype = ctypes.POINTER(wasmtime_component_val_t) 

4564_wasmtime_component_val_new.argtypes = [ctypes.POINTER(wasmtime_component_val_t)] 

4565def wasmtime_component_val_new(val: Any) -> ctypes._Pointer: 

4566 return _wasmtime_component_val_new(val) # type: ignore 

4567 

4568_wasmtime_component_val_free = dll.wasmtime_component_val_free 

4569_wasmtime_component_val_free.restype = None 

4570_wasmtime_component_val_free.argtypes = [ctypes.POINTER(wasmtime_component_val_t)] 

4571def wasmtime_component_val_free(ptr: Any) -> None: 

4572 return _wasmtime_component_val_free(ptr) # type: ignore 

4573 

4574_wasmtime_component_val_clone = dll.wasmtime_component_val_clone 

4575_wasmtime_component_val_clone.restype = None 

4576_wasmtime_component_val_clone.argtypes = [ctypes.POINTER(wasmtime_component_val_t), ctypes.POINTER(wasmtime_component_val_t)] 

4577def wasmtime_component_val_clone(src: Any, dst: Any) -> None: 

4578 return _wasmtime_component_val_clone(src, dst) # type: ignore 

4579 

4580_wasmtime_component_val_delete = dll.wasmtime_component_val_delete 

4581_wasmtime_component_val_delete.restype = None 

4582_wasmtime_component_val_delete.argtypes = [ctypes.POINTER(wasmtime_component_val_t)] 

4583def wasmtime_component_val_delete(value: Any) -> None: 

4584 return _wasmtime_component_val_delete(value) # type: ignore 

4585 

4586 

4587class wasmtime_component_func_anon_0(ctypes.Structure): 

4588 _fields_ = [ 

4589 ("store_id", ctypes.c_uint64), 

4590 ("__private1", ctypes.c_uint32), 

4591 ] 

4592 store_id: int 

4593 __private1: int 

4594class wasmtime_component_func(ctypes.Structure): 

4595 _fields_ = [ 

4596 ("_anon_1", wasmtime_component_func_anon_0), 

4597 ("__private2", ctypes.c_uint32), 

4598 ] 

4599 _anon_1: wasmtime_component_func_anon_0 

4600 __private2: int 

4601 

4602wasmtime_component_func_t = wasmtime_component_func 

4603 

4604_wasmtime_component_func_type = dll.wasmtime_component_func_type 

4605_wasmtime_component_func_type.restype = ctypes.POINTER(wasmtime_component_func_type_t) 

4606_wasmtime_component_func_type.argtypes = [ctypes.POINTER(wasmtime_component_func_t), ctypes.POINTER(wasmtime_context_t)] 

4607def wasmtime_component_func_type(func: Any, context: Any) -> ctypes._Pointer: 

4608 return _wasmtime_component_func_type(func, context) # type: ignore 

4609 

4610_wasmtime_component_func_call = dll.wasmtime_component_func_call 

4611_wasmtime_component_func_call.restype = ctypes.POINTER(wasmtime_error_t) 

4612_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] 

4613def wasmtime_component_func_call(func: Any, context: Any, args: Any, args_size: Any, results: Any, results_size: Any) -> ctypes._Pointer: 

4614 return _wasmtime_component_func_call(func, context, args, args_size, results, results_size) # type: ignore 

4615 

4616_wasmtime_component_func_post_return = dll.wasmtime_component_func_post_return 

4617_wasmtime_component_func_post_return.restype = ctypes.POINTER(wasmtime_error_t) 

4618_wasmtime_component_func_post_return.argtypes = [ctypes.POINTER(wasmtime_component_func_t), ctypes.POINTER(wasmtime_context_t)] 

4619def wasmtime_component_func_post_return(func: Any, context: Any) -> ctypes._Pointer: 

4620 return _wasmtime_component_func_post_return(func, context) # type: ignore 

4621 

4622class wasmtime_component_instance(ctypes.Structure): 

4623 _fields_ = [ 

4624 ("store_id", ctypes.c_uint64), 

4625 ("__private", ctypes.c_uint32), 

4626 ] 

4627 store_id: int 

4628 __private: int 

4629 

4630wasmtime_component_instance_t = wasmtime_component_instance 

4631 

4632_wasmtime_component_instance_get_export_index = dll.wasmtime_component_instance_get_export_index 

4633_wasmtime_component_instance_get_export_index.restype = ctypes.POINTER(wasmtime_component_export_index_t) 

4634_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] 

4635def wasmtime_component_instance_get_export_index(instance: Any, context: Any, instance_export_index: Any, name: Any, name_len: Any) -> ctypes._Pointer: 

4636 return _wasmtime_component_instance_get_export_index(instance, context, instance_export_index, name, name_len) # type: ignore 

4637 

4638_wasmtime_component_instance_get_func = dll.wasmtime_component_instance_get_func 

4639_wasmtime_component_instance_get_func.restype = ctypes.c_bool 

4640_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)] 

4641def wasmtime_component_instance_get_func(instance: Any, context: Any, export_index: Any, func_out: Any) -> bool: 

4642 return _wasmtime_component_instance_get_func(instance, context, export_index, func_out) # type: ignore 

4643 

4644class wasmtime_component_linker_t(ctypes.Structure): 

4645 pass 

4646 

4647class wasmtime_component_linker_instance_t(ctypes.Structure): 

4648 pass 

4649 

4650_wasmtime_component_linker_new = dll.wasmtime_component_linker_new 

4651_wasmtime_component_linker_new.restype = ctypes.POINTER(wasmtime_component_linker_t) 

4652_wasmtime_component_linker_new.argtypes = [ctypes.POINTER(wasm_engine_t)] 

4653def wasmtime_component_linker_new(engine: Any) -> ctypes._Pointer: 

4654 return _wasmtime_component_linker_new(engine) # type: ignore 

4655 

4656_wasmtime_component_linker_allow_shadowing = dll.wasmtime_component_linker_allow_shadowing 

4657_wasmtime_component_linker_allow_shadowing.restype = None 

4658_wasmtime_component_linker_allow_shadowing.argtypes = [ctypes.POINTER(wasmtime_component_linker_t), ctypes.c_bool] 

4659def wasmtime_component_linker_allow_shadowing(linker: Any, allow: Any) -> None: 

4660 return _wasmtime_component_linker_allow_shadowing(linker, allow) # type: ignore 

4661 

4662_wasmtime_component_linker_root = dll.wasmtime_component_linker_root 

4663_wasmtime_component_linker_root.restype = ctypes.POINTER(wasmtime_component_linker_instance_t) 

4664_wasmtime_component_linker_root.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

4665def wasmtime_component_linker_root(linker: Any) -> ctypes._Pointer: 

4666 return _wasmtime_component_linker_root(linker) # type: ignore 

4667 

4668_wasmtime_component_linker_instantiate = dll.wasmtime_component_linker_instantiate 

4669_wasmtime_component_linker_instantiate.restype = ctypes.POINTER(wasmtime_error_t) 

4670_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)] 

4671def wasmtime_component_linker_instantiate(linker: Any, context: Any, component: Any, instance_out: Any) -> ctypes._Pointer: 

4672 return _wasmtime_component_linker_instantiate(linker, context, component, instance_out) # type: ignore 

4673 

4674_wasmtime_component_linker_define_unknown_imports_as_traps = dll.wasmtime_component_linker_define_unknown_imports_as_traps 

4675_wasmtime_component_linker_define_unknown_imports_as_traps.restype = ctypes.POINTER(wasmtime_error_t) 

4676_wasmtime_component_linker_define_unknown_imports_as_traps.argtypes = [ctypes.POINTER(wasmtime_component_linker_t), ctypes.POINTER(wasmtime_component_t)] 

4677def wasmtime_component_linker_define_unknown_imports_as_traps(linker: Any, component: Any) -> ctypes._Pointer: 

4678 return _wasmtime_component_linker_define_unknown_imports_as_traps(linker, component) # type: ignore 

4679 

4680_wasmtime_component_linker_delete = dll.wasmtime_component_linker_delete 

4681_wasmtime_component_linker_delete.restype = None 

4682_wasmtime_component_linker_delete.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

4683def wasmtime_component_linker_delete(linker: Any) -> None: 

4684 return _wasmtime_component_linker_delete(linker) # type: ignore 

4685 

4686_wasmtime_component_linker_instance_add_instance = dll.wasmtime_component_linker_instance_add_instance 

4687_wasmtime_component_linker_instance_add_instance.restype = ctypes.POINTER(wasmtime_error_t) 

4688_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))] 

4689def wasmtime_component_linker_instance_add_instance(linker_instance: Any, name: Any, name_len: Any, linker_instance_out: Any) -> ctypes._Pointer: 

4690 return _wasmtime_component_linker_instance_add_instance(linker_instance, name, name_len, linker_instance_out) # type: ignore 

4691 

4692_wasmtime_component_linker_instance_add_module = dll.wasmtime_component_linker_instance_add_module 

4693_wasmtime_component_linker_instance_add_module.restype = ctypes.POINTER(wasmtime_error_t) 

4694_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)] 

4695def wasmtime_component_linker_instance_add_module(linker_instance: Any, name: Any, name_len: Any, module: Any) -> ctypes._Pointer: 

4696 return _wasmtime_component_linker_instance_add_module(linker_instance, name, name_len, module) # type: ignore 

4697 

4698wasmtime_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) 

4699 

4700_wasmtime_component_linker_instance_add_func = dll.wasmtime_component_linker_instance_add_func 

4701_wasmtime_component_linker_instance_add_func.restype = ctypes.POINTER(wasmtime_error_t) 

4702_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)] 

4703def wasmtime_component_linker_instance_add_func(linker_instance: Any, name: Any, name_len: Any, callback: Any, data: Any, finalizer: Any) -> ctypes._Pointer: 

4704 return _wasmtime_component_linker_instance_add_func(linker_instance, name, name_len, callback, data, finalizer) # type: ignore 

4705 

4706_wasmtime_component_linker_add_wasip2 = dll.wasmtime_component_linker_add_wasip2 

4707_wasmtime_component_linker_add_wasip2.restype = ctypes.POINTER(wasmtime_error_t) 

4708_wasmtime_component_linker_add_wasip2.argtypes = [ctypes.POINTER(wasmtime_component_linker_t)] 

4709def wasmtime_component_linker_add_wasip2(linker: Any) -> ctypes._Pointer: 

4710 return _wasmtime_component_linker_add_wasip2(linker) # type: ignore 

4711 

4712wasmtime_component_resource_destructor_t = ctypes.CFUNCTYPE(ctypes.c_size_t, ctypes.c_void_p, ctypes.POINTER(wasmtime_context_t), ctypes.c_uint32) 

4713 

4714_wasmtime_component_linker_instance_add_resource = dll.wasmtime_component_linker_instance_add_resource 

4715_wasmtime_component_linker_instance_add_resource.restype = ctypes.POINTER(wasmtime_error_t) 

4716_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)] 

4717def wasmtime_component_linker_instance_add_resource(linker_instance: Any, name: Any, name_len: Any, resource: Any, destructor: Any, data: Any, finalizer: Any) -> ctypes._Pointer: 

4718 return _wasmtime_component_linker_instance_add_resource(linker_instance, name, name_len, resource, destructor, data, finalizer) # type: ignore 

4719 

4720_wasmtime_component_linker_instance_delete = dll.wasmtime_component_linker_instance_delete 

4721_wasmtime_component_linker_instance_delete.restype = None 

4722_wasmtime_component_linker_instance_delete.argtypes = [ctypes.POINTER(wasmtime_component_linker_instance_t)] 

4723def wasmtime_component_linker_instance_delete(linker_instance: Any) -> None: 

4724 return _wasmtime_component_linker_instance_delete(linker_instance) # type: ignore 

4725 

4726_wasmtime_wat2wasm = dll.wasmtime_wat2wasm 

4727_wasmtime_wat2wasm.restype = ctypes.POINTER(wasmtime_error_t) 

4728_wasmtime_wat2wasm.argtypes = [ctypes.POINTER(ctypes.c_char), ctypes.c_size_t, ctypes.POINTER(wasm_byte_vec_t)] 

4729def wasmtime_wat2wasm(wat: Any, wat_len: Any, ret: Any) -> ctypes._Pointer: 

4730 return _wasmtime_wat2wasm(wat, wat_len, ret) # type: ignore