wasm-utils/samples/contract1.c
2017-04-12 19:10:05 +03:00

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;
}