From 8ac931999b2cac47a5e14e849d28fa602456f667 Mon Sep 17 00:00:00 2001 From: Anselme Gazard Date: Wed, 11 Dec 2024 09:42:17 +0100 Subject: [PATCH] update Wasm annotation package name to ej.wasm --- ApplicationDeveloperGuide/managedc/wasi.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ApplicationDeveloperGuide/managedc/wasi.rst b/ApplicationDeveloperGuide/managedc/wasi.rst index 4590a8858..58da72f2e 100644 --- a/ApplicationDeveloperGuide/managedc/wasi.rst +++ b/ApplicationDeveloperGuide/managedc/wasi.rst @@ -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 { @@ -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::