diff --git a/test/de/inetsoftware/jwebassembly/api/annotation/WasmTextCode.java b/src/de/inetsoftware/jwebassembly/api/annotation/WasmTextCode.java similarity index 76% rename from test/de/inetsoftware/jwebassembly/api/annotation/WasmTextCode.java rename to src/de/inetsoftware/jwebassembly/api/annotation/WasmTextCode.java index b892c55..9348f59 100644 --- a/test/de/inetsoftware/jwebassembly/api/annotation/WasmTextCode.java +++ b/src/de/inetsoftware/jwebassembly/api/annotation/WasmTextCode.java @@ -35,4 +35,14 @@ public @interface WasmTextCode { * @return the native WASM code */ String value(); + + /** + * Override the Java signature to support more as one return parameter. If you use this then you can't use it + * anymore in Java code directly. It is recommended to use this only with the modifier native. + *

+ * Sample: "(I)II" + * + * @return optional Java method signature. + */ + String signature() default ""; }