Skip to content

Commit

Permalink
update Wasm annotation package name to ej.wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
agazardMicroeJ committed Dec 17, 2024
1 parent 4e7e3ca commit 8ac9319
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ApplicationDeveloperGuide/managedc/wasi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,17 @@ Here is an example:
:emphasize-lines: 17
package com.mycompany;
import com.microej.managedc.WasmFunction;
import com.microej.managedc.WasmMemory;
import com.microej.managedc.WasmModule;
import ej.wasm.WasmFunction;
import ej.wasm.WasmMemory;
import ej.wasm.WasmModule;
import ej.wasi.Wasi;
import java.io.IOException;
@WasmModule("my_app")
public class MyApp {
@WasmMemory
private static byte[] Memory;
@WasmMemory
private static byte[] Memory;
public static void main(String[] args) throws IOException {
Expand All @@ -86,7 +86,7 @@ Here is an example:
}
In this example, the implementation of The POSIX-compliant C functions ``clock_gettime(...)`` and ``printf(...)`` relies on the WASI functions `clock_time_get(...)` and `fd_write(...)` which are provided the the WASI Add-on Library.
In this example, the implementation of The POSIX-compliant C functions ``clock_gettime(...)`` and ``printf(...)`` relies on the WASI functions ``clock_time_get(...)`` and ``fd_write(...)`` which are provided by the WASI Add-on Library.

.. note::

Expand Down

0 comments on commit 8ac9319

Please sign in to comment.