diff options
author | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-09-17 17:21:30 -0400 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-09-17 17:21:30 -0400 |
commit | 45ebb6f2bb21bad85e6e72f4a7314b8748844909 (patch) | |
tree | 2a5ec73a95d4319166f20189659bc637567ad777 /bundles/org.eclipse.swt/Eclipse SWT PI/wpf | |
parent | 26a93997742e3fbea259c9c103559f5ff6796c72 (diff) | |
download | eclipse.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/wpf')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_stats.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_stats.cpp b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_stats.cpp index 4e4ba519b1..2021e43a7e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_stats.cpp +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/wpf/library/os_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 OS_nativeFunctionCount = 1428; -int OS_nativeFunctionCallCount[1428]; char * OS_nativeFunctionNames[] = { "AccessText_1AccessKey", "AccessText_1Text", @@ -1446,6 +1444,9 @@ char * OS_nativeFunctionNames[] = { "memcpy___3BII", "memcpy___3CII", }; +#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 |