Skip to content

Commit e1c6f02

Browse files
committed
Fix type in VM call docs
1 parent d4159f2 commit e1c6f02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/emulator/vmcalls.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,8 @@ const float myfloat = 5.0f;
318318

319319
C++ API:
320320
```cpp
321-
long result =
322-
machine.vmcall(mystring, mybool, mystruct, mysize, myfloat);
321+
long result = machine.vmcall(guest_function_address,
322+
mystring, mybool, mystruct, mysize, myfloat);
323323
```
324324

325325
C API:

0 commit comments

Comments
 (0)