]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.eclipse.swt.win32.win32.x86_64/library/webkit_win32_stats.cpp
Remove invalid SHA-256-Digests
[simantics/platform.git] / bundles / org.eclipse.swt.win32.win32.x86_64 / library / webkit_win32_stats.cpp
1 /*******************************************************************************
2  * Copyright (c) 2009, 2016 IBM Corporation and others. All rights reserved.
3  * The contents of this file are made available under the terms
4  * of the GNU Lesser General Public License (LGPL) Version 2.1 that
5  * accompanies this distribution (lgpl-v21.txt).  The LGPL is also
6  * available at http://www.gnu.org/licenses/lgpl.html.  If the version
7  * of the LGPL at http://www.gnu.org is different to the version of
8  * the LGPL accompanying this distribution and there is any conflict
9  * between the two license versions, the terms of the LGPL accompanying
10  * this distribution shall govern.
11  * 
12  * Contributors:
13  *     IBM Corporation - initial API and implementation
14  *******************************************************************************/
15
16 /* Note: This file was auto-generated by org.eclipse.swt.tools.internal.JNIGenerator */
17 /* DO NOT EDIT - your changes will be lost. */
18
19 #include "swt.h"
20 #include "webkit_win32_stats.h"
21
22 #ifdef NATIVE_STATS
23
24 char * WebKit_win32_nativeFunctionNames[] = {
25         "CFArrayGetCount",
26         "CFArrayGetValueAtIndex",
27         "CFDataCreate",
28         "CFDataGetBytePtr",
29         "CFDataGetLength",
30         "CFDictionaryCreate",
31         "CFHTTPCookieCreateWithResponseHeaderFields",
32         "CFHTTPCookieGetFlags",
33         "CFHTTPCookieGetName",
34         "CFHTTPCookieGetValue",
35         "CFHTTPCookieStorageCopyCookies",
36         "CFHTTPCookieStorageCopyCookiesForURL",
37         "CFHTTPCookieStorageDeleteCookie",
38         "CFHTTPCookieStorageSetCookie",
39         "CFRelease",
40         "CFStringCreateWithCharacters",
41         "CFStringGetCharacterAtIndex",
42         "CFStringGetCharactersPtr",
43         "CFStringGetLength",
44         "CFURLCreateWithString",
45         "CFURLRequestCopyHTTPRequestBody",
46         "CFURLRequestCreateMutableCopy",
47         "CFURLRequestSetHTTPRequestBody",
48         "CFURLRequestSetURL",
49         "JSClassCreate",
50         "JSClassDefinition_1sizeof",
51         "JSClassRetain",
52         "JSContextGetGlobalObject",
53         "JSEvaluateScript",
54         "JSGlobalContextRetain",
55         "JSObjectCallAsFunctionProc_1CALLBACK",
56         "JSObjectGetPrivate",
57         "JSObjectGetProperty",
58         "JSObjectGetPropertyAtIndex",
59         "JSObjectGetPropertyProc_1CALLBACK",
60         "JSObjectHasPropertyProc_1CALLBACK",
61         "JSObjectMake",
62         "JSObjectMakeArray",
63         "JSObjectMakeFunctionWithCallback",
64         "JSObjectSetProperty",
65         "JSStringCreateWithUTF8CString",
66         "JSStringGetLength",
67         "JSStringGetMaximumUTF8CStringSize",
68         "JSStringGetUTF8CString",
69         "JSStringIsEqualToUTF8CString",
70         "JSStringRelease",
71         "JSValueGetType",
72         "JSValueIsObjectOfClass",
73         "JSValueMakeBoolean",
74         "JSValueMakeNull",
75         "JSValueMakeNumber",
76         "JSValueMakeString",
77         "JSValueMakeUndefined",
78         "JSValueToNumber",
79         "JSValueToStringCopy",
80         "WebKitCreateInstance",
81         "kCFCopyStringDictionaryKeyCallBacks",
82         "kCFTypeDictionaryValueCallBacks",
83         "memmove",
84         "willPerformClientRedirectToURL_1CALLBACK",
85 };
86 #define NATIVE_FUNCTION_COUNT sizeof(WebKit_win32_nativeFunctionNames) / sizeof(char*)
87 int WebKit_win32_nativeFunctionCount = NATIVE_FUNCTION_COUNT;
88 int WebKit_win32_nativeFunctionCallCount[NATIVE_FUNCTION_COUNT];
89
90 #define STATS_NATIVE(func) Java_org_eclipse_swt_tools_internal_NativeStats_##func
91
92 JNIEXPORT jint JNICALL STATS_NATIVE(WebKit_1win32_1GetFunctionCount)
93         (JNIEnv *env, jclass that)
94 {
95         return WebKit_win32_nativeFunctionCount;
96 }
97
98 JNIEXPORT jstring JNICALL STATS_NATIVE(WebKit_1win32_1GetFunctionName)
99         (JNIEnv *env, jclass that, jint index)
100 {
101         return env->NewStringUTF(WebKit_win32_nativeFunctionNames[index]);
102 }
103
104 JNIEXPORT jint JNICALL STATS_NATIVE(WebKit_1win32_1GetFunctionCallCount)
105         (JNIEnv *env, jclass that, jint index)
106 {
107         return WebKit_win32_nativeFunctionCallCount[index];
108 }
109
110 #endif