Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 18345a3cb85774c8c88b070c79c6579ae0063e6f (plain) (blame)
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*******************************************************************************
 * Copyright (c) 2000, 2009 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *    IBM Corporation - initial API and implementation
 *******************************************************************************/

#ifdef NATIVE_STATS
extern int Cocoa_nativeFunctionCount;
extern int Cocoa_nativeFunctionCallCount[];
extern char* Cocoa_nativeFunctionNames[];
#define Cocoa_NATIVE_ENTER(env, that, func) Cocoa_nativeFunctionCallCount[func]++;
#define Cocoa_NATIVE_EXIT(env, that, func) 
#else
#ifndef Cocoa_NATIVE_ENTER
#define Cocoa_NATIVE_ENTER(env, that, func) 
#endif
#ifndef Cocoa_NATIVE_EXIT
#define Cocoa_NATIVE_EXIT(env, that, func) 
#endif
#endif

typedef enum {
	HICocoaViewCreate_FUNC,
	HIJavaViewCreateWithCocoaView_FUNC,
	HIWebViewCreate_FUNC,
	HIWebViewGetWebView_FUNC,
	NSDeviceRGBColorSpace_FUNC,
	NSSearchPathForDirectoriesInDomains_FUNC,
	WebInitForCarbon_FUNC,
	class_1getClassMethod_FUNC,
	memcpy_FUNC,
	memmove_FUNC,
	objc_1getClass_FUNC,
	objc_1getMetaClass_FUNC,
	objc_1msgSend__II_FUNC,
	objc_1msgSend__IID_FUNC,
	objc_1msgSend__IIF_FUNC,
	objc_1msgSend__IIFF_FUNC,
	objc_1msgSend__III_FUNC,
	objc_1msgSend__IIII_FUNC,
	objc_1msgSend__IIIII_FUNC,
	objc_1msgSend__IIIIII_FUNC,
	objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC,
	objc_1msgSend__IIILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC,
	objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC,
	objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2I_FUNC,
	objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2Lorg_eclipse_swt_internal_cocoa_NSPoint_2_FUNC,
	objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2_FUNC,
	objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC,
	objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC,
	objc_1msgSend__IILorg_eclipse_swt_internal_cocoa_NSSize_2_FUNC,
	objc_1msgSend__II_3C_FUNC,
	objc_1msgSend__II_3IIIIIIIIIII_FUNC,
	objc_1msgSend_1fpret_FUNC,
	objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2II_FUNC,
	objc_1msgSend_1stret__Lorg_eclipse_swt_internal_cocoa_NSRect_2IILorg_eclipse_swt_internal_cocoa_NSRect_2I_FUNC,
	sel_1registerName_FUNC,
} Cocoa_FUNCS;

Back to the top