diff --git a/plugins/include/adt_array.inc b/plugins/include/adt_array.inc index 7056e336..911b6670 100644 --- a/plugins/include/adt_array.inc +++ b/plugins/include/adt_array.inc @@ -159,7 +159,7 @@ methodmap ArrayList < Handle { // @param value String value to set. // @return Number of characters copied. // @error Invalid index. - public native void SetString(int index, const char[] value); + public native int SetString(int index, const char[] value); // Sets an array of cells in an array. // @@ -169,7 +169,7 @@ methodmap ArrayList < Handle { // blocksize. Otherwise, the size passed is used. // @return Number of cells copied. // @error Invalid index. - public native void SetArray(int index, const any[] values, int size=-1); + public native int SetArray(int index, const any[] values, int size=-1); // Shifts an array up. All array contents after and including the given // index are shifted up by one, and the given index is then "free."