mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-06-06 19:31:26 +00:00
10 lines
110 B
C
10 lines
110 B
C
|
int ops = 0;
|
||
|
|
||
|
void log(int block_ops) {
|
||
|
ops += block_ops;
|
||
|
}
|
||
|
|
||
|
int call(int x) {
|
||
|
log(5);
|
||
|
return 2 * x;
|
||
|
}
|