mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-16 17:18:57 +00:00
Merge branch 'master' into feat-c-api-update-wasm-h
This commit is contained in:
@@ -101,10 +101,18 @@ void wasi_config_inherit_stdin(wasi_config_t *config);
|
||||
void wasi_config_inherit_stdout(wasi_config_t *config);
|
||||
#endif
|
||||
|
||||
#if defined(WASMER_WASI_ENABLED)
|
||||
bool wasi_config_mapdir(wasi_config_t *config, const char *alias, const char *dir);
|
||||
#endif
|
||||
|
||||
#if defined(WASMER_WASI_ENABLED)
|
||||
wasi_config_t *wasi_config_new(const char *program_name);
|
||||
#endif
|
||||
|
||||
#if defined(WASMER_WASI_ENABLED)
|
||||
bool wasi_config_preopen_dir(wasi_config_t *config, const char *dir);
|
||||
#endif
|
||||
|
||||
#if defined(WASMER_WASI_ENABLED)
|
||||
void wasi_env_delete(wasi_env_t *_state);
|
||||
#endif
|
||||
@@ -156,6 +164,10 @@ void wasm_config_set_engine(wasm_config_t *config, wasmer_engine_t engine);
|
||||
|
||||
void *wasm_instance_get_vmctx_ptr(const wasm_instance_t *instance);
|
||||
|
||||
void wasm_module_name(const wasm_module_t *module, wasm_name_t *out);
|
||||
|
||||
bool wasm_module_set_name(wasm_module_t *module, const wasm_name_t *name);
|
||||
|
||||
/**
|
||||
* Gets the length in bytes of the last error if any.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user