-/* Cycript - Optimizing JavaScript Compiler/Runtime
- * Copyright (C) 2009-2015 Jay Freeman (saurik)
+/* Cycript - The Truly Universal Scripting Language
+ * Copyright (C) 2009-2016 Jay Freeman (saurik)
*/
/* GNU Affero General Public License, Version 3 {{{ */
CYJSError(JSContextRef context, const char *format, ...);
virtual const char *PoolCString(CYPool &pool) const;
- virtual JSValueRef CastJSValue(JSContextRef context) const;
+ virtual JSValueRef CastJSValue(JSContextRef context, const char *name) const;
};
#endif
CYPoolError(const CYPoolError &rhs);
+ CYPoolError(const char *message);
CYPoolError(const char *format, ...);
CYPoolError(const char *format, va_list args);
virtual const char *PoolCString(CYPool &pool) const;
#ifdef CY_EXECUTE
- virtual JSValueRef CastJSValue(JSContextRef context) const;
+ virtual JSValueRef CastJSValue(JSContextRef context, const char *name) const;
#endif
};