|
Lines 25-39
a/Source/JavaScriptCore/API/glib/JSCContextPrivate.h_sec1
|
| 25 |
#include "JSContextRef.h" |
25 |
#include "JSContextRef.h" |
| 26 |
#include <wtf/glib/GRefPtr.h> |
26 |
#include <wtf/glib/GRefPtr.h> |
| 27 |
|
27 |
|
| 28 |
GRefPtr<JSCContext> jscContextGetOrCreate(JSGlobalContextRef); |
28 |
JS_EXPORT_PRIVATE GRefPtr<JSCContext> jscContextGetOrCreate(JSGlobalContextRef); |
| 29 |
JSGlobalContextRef jscContextGetJSContext(JSCContext*); |
29 |
JS_EXPORT_PRIVATE JSGlobalContextRef jscContextGetJSContext(JSCContext*); |
| 30 |
GRefPtr<JSCValue> jscContextGetOrCreateValue(JSCContext*, JSValueRef); |
30 |
JS_EXPORT_PRIVATE GRefPtr<JSCValue> jscContextGetOrCreateValue(JSCContext*, JSValueRef); |
| 31 |
void jscContextValueDestroyed(JSCContext*, JSValueRef); |
31 |
JS_EXPORT_PRIVATE void jscContextValueDestroyed(JSCContext*, JSValueRef); |
| 32 |
JSC::JSObject* jscContextGetJSWrapper(JSCContext*, gpointer); |
32 |
JS_EXPORT_PRIVATE JSC::JSObject* jscContextGetJSWrapper(JSCContext*, gpointer); JSC::JSObject* jscContextGetOrCreateJSWrapper(JSCContext*, JSClassRef, JSValueRef prototype = nullptr, gpointer = nullptr, GDestroyNotify = nullptr); |
| 33 |
JSC::JSObject* jscContextGetOrCreateJSWrapper(JSCContext*, JSClassRef, JSValueRef prototype = nullptr, gpointer = nullptr, GDestroyNotify = nullptr); |
33 |
JS_EXPORT_PRIVATE JSGlobalContextRef jscContextCreateContextWithJSWrapper(JSCContext*, JSClassRef, JSValueRef prototype = nullptr, gpointer = nullptr, GDestroyNotify = nullptr); |
| 34 |
JSGlobalContextRef jscContextCreateContextWithJSWrapper(JSCContext*, JSClassRef, JSValueRef prototype = nullptr, gpointer = nullptr, GDestroyNotify = nullptr); |
34 |
JS_EXPORT_PRIVATE gpointer jscContextWrappedObject(JSCContext*, JSObjectRef); |
| 35 |
gpointer jscContextWrappedObject(JSCContext*, JSObjectRef); |
35 |
JS_EXPORT_PRIVATE JSCClass* jscContextGetRegisteredClass(JSCContext*, JSClassRef); |
| 36 |
JSCClass* jscContextGetRegisteredClass(JSCContext*, JSClassRef); |
|
|
| 37 |
|
36 |
|
| 38 |
struct CallbackData { |
37 |
struct CallbackData { |
| 39 |
GRefPtr<JSCContext> context; |
38 |
GRefPtr<JSCContext> context; |