bytecodealliance / wasmtime-dotnet

.NET embedding of Wasmtime https://bytecodealliance.github.io/wasmtime-dotnet/
Apache License 2.0
409 stars 52 forks source link

Instance Get All Exports #290

Closed martindevans closed 8 months ago

martindevans commented 8 months ago

Added methods to fetch all exports from an Instance, using wasmtime_instance_export_nth to enumerate exports.

Also removed wasmtime_instancetype_delete, since it doesn't appear to be part of the c-api any more.

martindevans commented 8 months ago

Linux CI seems to be failing due to a file not copying into the test environment properly. I'm not sure why :/

martindevans commented 8 months ago

I've merged all those review suggestions and have removed the unnecessary doc comment.