Updated headers

This commit is contained in:
Syrus
2020-02-29 08:45:48 -08:00
parent 4c19cd65e8
commit 3f456db4ad
2 changed files with 4 additions and 4 deletions

View File

@ -335,7 +335,7 @@ typedef struct {
} wasmer_instance_context_t; } wasmer_instance_context_t;
/** /**
* The `wasmer_limit_option_t` struct repreesents an optional limit * The `wasmer_limit_option_t` struct represents an optional limit
* for `wasmer_limits_t`. * for `wasmer_limits_t`.
*/ */
typedef struct { typedef struct {
@ -448,7 +448,7 @@ void wasmer_emscripten_destroy_globals(wasmer_emscripten_globals_t *globals);
* `wasmer_emscripten_globals_t` from a `wasmer_module_t`. * `wasmer_emscripten_globals_t` from a `wasmer_module_t`.
* *
* WARNING: * WARNING:
*1 *
* This `import_object_t` contains thin-wrappers around host system calls. * This `import_object_t` contains thin-wrappers around host system calls.
* Do not use this to execute untrusted code without additional sandboxing. * Do not use this to execute untrusted code without additional sandboxing.
*/ */

View File

@ -269,7 +269,7 @@ struct wasmer_instance_context_t {
}; };
/// The `wasmer_limit_option_t` struct repreesents an optional limit /// The `wasmer_limit_option_t` struct represents an optional limit
/// for `wasmer_limits_t`. /// for `wasmer_limits_t`.
struct wasmer_limit_option_t { struct wasmer_limit_option_t {
/// Whether the limit is set. /// Whether the limit is set.
@ -360,7 +360,7 @@ void wasmer_emscripten_destroy_globals(wasmer_emscripten_globals_t *globals);
/// `wasmer_emscripten_globals_t` from a `wasmer_module_t`. /// `wasmer_emscripten_globals_t` from a `wasmer_module_t`.
/// ///
/// WARNING: /// WARNING:
///1 ///
/// This `import_object_t` contains thin-wrappers around host system calls. /// This `import_object_t` contains thin-wrappers around host system calls.
/// Do not use this to execute untrusted code without additional sandboxing. /// Do not use this to execute untrusted code without additional sandboxing.
wasmer_import_object_t *wasmer_emscripten_generate_import_object(wasmer_emscripten_globals_t *globals); wasmer_import_object_t *wasmer_emscripten_generate_import_object(wasmer_emscripten_globals_t *globals);