jso: remove JSByRef from IndexedDB method for which it's no more relevant

Fix #914
This commit is contained in:
Alexey Andreev 2024-05-12 16:19:11 +02:00
parent 236700ea58
commit 1549a84b40
2 changed files with 1 additions and 3 deletions

View File

@ -16,7 +16,6 @@
package org.teavm.jso.indexeddb;
import org.teavm.jso.JSBody;
import org.teavm.jso.JSByRef;
import org.teavm.jso.JSObject;
import org.teavm.jso.JSProperty;
import org.teavm.jso.core.JSString;
@ -38,7 +37,6 @@ public abstract class IDBIndex implements JSObject, IDBCursorSource {
}
@JSBody(params = "obj", script = "return obj;")
@JSByRef
private static native String[] unwrapStringArray(JSObject obj);
@JSProperty

View File

@ -23,7 +23,7 @@ import java.lang.annotation.Target;
/**
* <p>Marks parameters of JavaScript methods that should be passed by reference.
* This annotation is only applicable to parameters of array type. More specifically:
* to: byte[], short[], char[], int[], float[], double[] or T[], where T is JSObject.</p>
* to: byte[], short[], char[], int[], float[], double[].</p>
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.PARAMETER, ElementType.METHOD })