/* Cycript - Optimizing JavaScript Compiler/Runtime
- * Copyright (C) 2009-2010 Jay Freeman (saurik)
+ * Copyright (C) 2009-2012 Jay Freeman (saurik)
*/
/* GNU Lesser General Public License, Version 3 {{{ */
void *(*ExecuteStart)(JSContextRef);
void (*ExecuteEnd)(JSContextRef, void *);
- JSValueRef (*RuntimeProperty)(JSContextRef, CYUTF8String);
void (*CallFunction)(JSContextRef, ffi_cif *, void (*)(), uint8_t *, void **);
void (*Initialize)();
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);