mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-06 23:15:16 +00:00
752826a667
Refine wasm loader and aot loader Fix potential issue of os_mmap/os_munmap Update document
25 lines
270 B
C
25 lines
270 B
C
__attribute__((import_module("mA")))
|
|
__attribute__((import_name("A"))) extern int
|
|
A();
|
|
|
|
__attribute__((import_module("mB")))
|
|
__attribute__((import_name("B"))) extern int
|
|
B();
|
|
|
|
int
|
|
C()
|
|
{
|
|
return 12;
|
|
}
|
|
|
|
int
|
|
call_A()
|
|
{
|
|
return A();
|
|
}
|
|
|
|
int
|
|
call_B()
|
|
{
|
|
return B();
|
|
} |