X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/b3378a02d0a811be38e530933fb9a57a3012a823..910fdbc41224c34b4f2dc86cb568a51cee8f2a50:/JavaScript.hpp diff --git a/JavaScript.hpp b/JavaScript.hpp index ebb5281..5e76bb4 100644 --- a/JavaScript.hpp +++ b/JavaScript.hpp @@ -125,6 +125,10 @@ JSObjectRef CYMakePointer(JSContextRef context, void *pointer, size_t length, si void CYFinalize(JSObjectRef object); +size_t CYArrayLength(JSContextRef context, JSObjectRef array); +JSValueRef CYArrayGet(JSContextRef context, JSObjectRef array, size_t index); +void CYArrayPush(JSContextRef context, JSObjectRef array, JSValueRef value); + const char *CYPoolCString(apr_pool_t *pool, JSContextRef context, JSValueRef value); JSStringRef CYCopyJSString(const char *value);