File: jsbase.pyi

package info (click to toggle)
python-jswebkit 0.0.3-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 472 kB
  • ctags: 718
  • sloc: python: 69; makefile: 3
file content (34 lines) | stat: -rw-r--r-- 1,174 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
cdef extern from "JavaScriptCore/JSBase.h":
    struct OpaqueJSContextGroup:
        pass
    ctypedef OpaqueJSContextGroup* JSContextGroupRef

    struct OpaqueJSContext:
        pass
    ctypedef OpaqueJSContext* JSContextRef
    ctypedef OpaqueJSContext* JSGlobalContextRef
    
    struct OpaqueJSString:
        pass
    ctypedef OpaqueJSString* JSStringRef
    
    struct OpaqueJSClass:
        pass
    ctypedef OpaqueJSClass* JSClassRef
    
    struct OpaqueJSPropertyNameArray:
        pass
    ctypedef OpaqueJSPropertyNameArray* JSPropertyNameArrayRef
    
    struct OpaqueJSPropertyNameAccumulator:
        pass
    ctypedef OpaqueJSPropertyNameAccumulator* JSPropertyNameAccumulatorRef
    
    struct OpaqueJSValue:
        pass
    ctypedef OpaqueJSValue* JSValueRef
    ctypedef OpaqueJSValue* JSObjectRef
    
    JSValueRef JSEvaluateScript(JSContextRef ctx, JSStringRef script, JSObjectRef thisObject, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception)
    bool JSCheckScriptSyntax(JSContextRef ctx, JSStringRef script, JSStringRef sourceURL, int startingLineNumber, JSValueRef* exception)
    void JSGarbageCollect(JSContextRef ctx)