]>
git.saurik.com Git - cycript.git/blob - cycript.h
482d3f7c9a1aa2aa4b635ed978ecdbf8544fff2f
   5 #include <Foundation/Foundation.h> 
   8 #include <JavaScriptCore/JSBase.h> 
   9 #include <JavaScriptCore/JSValueRef.h> 
  10 #include <JavaScriptCore/JSObjectRef.h> 
  11 #include <JavaScriptCore/JSContextRef.h> 
  12 #include <JavaScriptCore/JSStringRef.h> 
  13 #include <JavaScriptCore/JSStringRefCF.h> 
  19 JSContextRef 
CYGetJSContext(); 
  20 CFStringRef 
CYCopyJSONString(JSContextRef context
, JSValueRef value
); 
  23 void CYThrowNSError(JSContextRef context
, id error
, JSValueRef 
*exception
); 
  31 inline void CYThrow(JSContextRef context
, id error
, JSValueRef 
*exception
) { 
  32     return CYThrowNSError(context
, error
, exception
);