summaryrefslogtreecommitdiff
path: root/js/src/jsstr.h
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-06-12 03:19:09 +0000
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-06-12 03:19:09 +0000
commitc6e57361590a947e1efb9cee7e10f51193384e12 (patch)
tree38c9c7a6b5f482d81bdfec1cf81ebc7bbb234800 /js/src/jsstr.h
parent71ec515c614804043650ebf6d16330c34a324615 (diff)
downloadaura-central-c6e57361590a947e1efb9cee7e10f51193384e12.tar.gz
Make use of ArrayObjects in favor of generic JS objects.
ArrayObjects has been a thing for years but been under-used. About time they are used where prudent.
Diffstat (limited to 'js/src/jsstr.h')
-rw-r--r--js/src/jsstr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jsstr.h b/js/src/jsstr.h
index 38fbfa85e..68175c826 100644
--- a/js/src/jsstr.h
+++ b/js/src/jsstr.h
@@ -465,7 +465,7 @@ FileEscapedString(FILE* fp, const char* chars, size_t length, uint32_t quote)
return res;
}
-JSObject*
+ArrayObject*
str_split_string(JSContext* cx, HandleObjectGroup group, HandleString str, HandleString sep,
uint32_t limit);