mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 00:04:10 -08:00
jso: remove JSByRef from IndexedDB method for which it's no more relevant
Fix #914
This commit is contained in:
parent
236700ea58
commit
1549a84b40
|
@ -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
|
||||
|
|
|
@ -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 })
|
||||
|
|
Loading…
Reference in New Issue
Block a user