Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2012-09-17 21:21:30 +0000
committerSilenio Quarti2012-09-17 21:21:30 +0000
commit45ebb6f2bb21bad85e6e72f4a7314b8748844909 (patch)
tree2a5ec73a95d4319166f20189659bc637567ad777 /bundles/org.eclipse.swt/Eclipse SWT PI/win32
parent26a93997742e3fbea259c9c103559f5ff6796c72 (diff)
downloadeclipse.platform.swt-45ebb6f2bb21bad85e6e72f4a7314b8748844909.tar.gz
eclipse.platform.swt-45ebb6f2bb21bad85e6e72f4a7314b8748844909.tar.xz
eclipse.platform.swt-45ebb6f2bb21bad85e6e72f4a7314b8748844909.zip
do not generate function count to avoid patch conflicts
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/win32')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_stats.c7
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.cpp7
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_stats.c5
3 files changed, 11 insertions, 8 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_stats.c
index ede775f0e1..c24ea8bf1d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_stats.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/com_stats.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2011 IBM Corporation and others.
+ * Copyright (c) 2000, 2012 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
@@ -14,8 +14,6 @@
#ifdef NATIVE_STATS
-int COM_nativeFunctionCount = 183;
-int COM_nativeFunctionCallCount[183];
char * COM_nativeFunctionNames[] = {
"AccessibleChildren",
"AccessibleObjectFromWindow",
@@ -577,6 +575,9 @@ char * COM_nativeFunctionNames[] = {
"put_1accName_1CALLBACK",
"put_1accValue_1CALLBACK",
};
+#define NATIVE_FUNCTION_COUNT sizeof(COM_nativeFunctionNames) / sizeof(char*)
+int COM_nativeFunctionCount = NATIVE_FUNCTION_COUNT;
+int COM_nativeFunctionCallCount[NATIVE_FUNCTION_COUNT];
#define STATS_NATIVE(func) Java_org_eclipse_swt_tools_internal_NativeStats_##func
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.cpp b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.cpp
index f1a626e70a..eb99e4093b 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.cpp
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/gdip_stats.cpp
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2009 IBM Corporation and others.
+ * Copyright (c) 2000, 2012 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
@@ -14,8 +14,6 @@
#ifdef NATIVE_STATS
-int Gdip_nativeFunctionCount = 186;
-int Gdip_nativeFunctionCallCount[186];
char * Gdip_nativeFunctionNames[] = {
"BitmapData_1delete",
"BitmapData_1new",
@@ -308,6 +306,9 @@ char * Gdip_nativeFunctionNames[] = {
"TextureBrush_1delete",
"TextureBrush_1new",
};
+#define NATIVE_FUNCTION_COUNT sizeof(Gdip_nativeFunctionNames) / sizeof(char*)
+int Gdip_nativeFunctionCount = NATIVE_FUNCTION_COUNT;
+int Gdip_nativeFunctionCallCount[NATIVE_FUNCTION_COUNT];
#define STATS_NATIVE(func) Java_org_eclipse_swt_tools_internal_NativeStats_##func
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_stats.c
index 879d0d5ab2..724a3c517d 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_stats.c
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/win32/library/os_stats.c
@@ -14,8 +14,6 @@
#ifdef NATIVE_STATS
-int OS_nativeFunctionCount = 1071;
-int OS_nativeFunctionCallCount[1071];
char * OS_nativeFunctionNames[] = {
"ACCEL_1sizeof",
"ACTCTX_1sizeof",
@@ -2041,6 +2039,9 @@ char * OS_nativeFunctionNames[] = {
"WindowFromPoint",
"wcslen",
};
+#define NATIVE_FUNCTION_COUNT sizeof(OS_nativeFunctionNames) / sizeof(char*)
+int OS_nativeFunctionCount = NATIVE_FUNCTION_COUNT;
+int OS_nativeFunctionCallCount[NATIVE_FUNCTION_COUNT];
#define STATS_NATIVE(func) Java_org_eclipse_swt_tools_internal_NativeStats_##func

Back to the top