X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/51b6165e0dd24e4d40ff80e504922f705ddd7b62..71a333b38b40125546a243a071484f4710fd50e4:/JavaScript.hpp diff --git a/JavaScript.hpp b/JavaScript.hpp index c8a8fd8..3fb2e6c 100644 --- a/JavaScript.hpp +++ b/JavaScript.hpp @@ -67,6 +67,7 @@ double CYCastDouble(JSContextRef context, JSValueRef value); CYUTF8String CYPoolUTF8String(CYPool &pool, JSContextRef context, JSStringRef value); const char *CYPoolCString(CYPool &pool, JSContextRef context, JSStringRef value); +bool CYHasProperty(JSContextRef context, JSObjectRef object, JSStringRef name); JSValueRef CYGetProperty(JSContextRef context, JSObjectRef object, size_t index); JSValueRef CYGetProperty(JSContextRef context, JSObjectRef object, JSStringRef name);