mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-05-11 12:11:14 +00:00

And enable to copy back the return value of wasm main function when calling wasm_application_execute_main, add license headers in wasm-c-api samples, fix several issues reported by klocwork.
10 lines
614 B
Plaintext
10 lines
614 B
Plaintext
;; Copyright (C) 2019 Intel Corporation. All rights reserved.
|
|
;; SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
(module
|
|
(global $mut_f32_import (export "var f32") (import "globalexportimport-0" "var f32") (mut f32))
|
|
(func (export "get var f32 export") (import "globalexportimport-0" "get var f32 export") (result f32))
|
|
(func (export "set var f32 export") (import "globalexportimport-0" "set var f32 export") (param f32))
|
|
(func (export "get var f32 import") (result f32) (global.get $mut_f32_import))
|
|
(func (export "set var f32 import") (param f32) (global.set $mut_f32_import (local.get 0)))
|
|
) |