X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/4dd55d2fafdf8e8c93d16023f4d09de533113557..03db6a67c728f631b6c6f6fd140eb86a8050cf12:/JavaScript.hpp diff --git a/JavaScript.hpp b/JavaScript.hpp index 4ce43b6..c8a8fd8 100644 --- a/JavaScript.hpp +++ b/JavaScript.hpp @@ -143,6 +143,9 @@ JSStringRef CYCopyJSString(JSStringRef value); JSStringRef CYCopyJSString(CYUTF8String value); JSStringRef CYCopyJSString(JSContextRef context, JSValueRef value); +void CYGarbageCollect(JSContextRef context); +void CYDestroyContext(); + class CYJSString { private: JSStringRef string_;