mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2025-02-09 00:15:07 +00:00
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();
|
||
|
}
|