/* ***** BEGIN LICENSE BLOCK ***** * Version: MPL 1.1 * * The contents of this file are subject to the Mozilla Public License Version * 1.1 (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" basis, * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License * for the specific language governing rights and limitations under the * License. * * The Original Code is Mozilla Communicator client code, released March 31, 1998. * * The Initial Developer of the Original Code is * Netscape Communications Corporation. * Portions created by Netscape are Copyright (C) 1998-1999 * Netscape Communications Corporation. All Rights Reserved. * * Contributor(s): * * IBM * - Binding to permit interfacing between Mozilla and SWT * - Copyright (C) 2004, 2006 IBM Corp. All Rights Reserved. * * ***** END LICENSE BLOCK ***** */ #ifdef NATIVE_STATS extern int XPCOM_nativeFunctionCount; extern int XPCOM_nativeFunctionCallCount[]; extern char* XPCOM_nativeFunctionNames[]; #define XPCOM_NATIVE_ENTER(env, that, func) XPCOM_nativeFunctionCallCount[func]++; #define XPCOM_NATIVE_EXIT(env, that, func) #else #define XPCOM_NATIVE_ENTER(env, that, func) #define XPCOM_NATIVE_EXIT(env, that, func) #endif typedef enum { Call_FUNC, NS_1GetComponentManager_FUNC, NS_1GetServiceManager_FUNC, NS_1InitEmbedding_FUNC, NS_1NewLocalFile_FUNC, NS_1TermEmbedding_FUNC, PR_1Free_FUNC, PR_1Malloc_FUNC, VtblCall__II_FUNC, VtblCall__IIF_FUNC, VtblCall__III_FUNC, VtblCall__IIII_FUNC, VtblCall__IIIII_FUNC, VtblCall__IIIIII_FUNC, VtblCall__IIIIIII_FUNC, VtblCall__IIIIIIII_FUNC, VtblCall__IIIIIIZ_FUNC, VtblCall__IIIIIZ_FUNC, VtblCall__IIIIIZ_3CIIIIZ_3I_3I_FUNC, VtblCall__IIIII_3C_FUNC, VtblCall__IIIII_3I_FUNC, VtblCall__IIIIJZ_FUNC, VtblCall__IIIIZ_FUNC, VtblCall__IIII_3C_FUNC, VtblCall__IIII_3CIJI_FUNC, VtblCall__IIII_3I_FUNC, VtblCall__IIII_3J_FUNC, VtblCall__IIIJJ_FUNC, VtblCall__IIILorg_eclipse_swt_internal_mozilla_nsID_2_FUNC, VtblCall__IIILorg_eclipse_swt_internal_mozilla_nsID_2_3I_FUNC, VtblCall__IIIZ_FUNC, VtblCall__IIIZZ_FUNC, VtblCall__IIIZZII_FUNC, VtblCall__IIIZZIIIIIIZZZZSI_FUNC, VtblCall__IIIZ_3Z_FUNC, VtblCall__III_3BI_3I_FUNC, VtblCall__III_3B_3B_3BI_3I_FUNC, VtblCall__III_3B_3Z_FUNC, VtblCall__III_3C_FUNC, VtblCall__III_3CI_FUNC, VtblCall__III_3C_3C_FUNC, VtblCall__III_3C_3CI_3C_3C_3C_3C_3Z_3I_FUNC, VtblCall__III_3C_3CI_3I_3I_3Z_FUNC, VtblCall__III_3C_3C_3C_3Z_FUNC, VtblCall__III_3C_3C_3C_3Z_3Z_FUNC, VtblCall__III_3C_3C_3I_FUNC, VtblCall__III_3C_3C_3I_3C_3Z_3Z_FUNC, VtblCall__III_3C_3C_3I_3I_3C_3Z_3Z_FUNC, VtblCall__III_3C_3C_3Z_FUNC, VtblCall__III_3I_FUNC, VtblCall__III_3I_3I_3I_3I_FUNC, VtblCall__III_3Z_FUNC, VtblCall__IIJ_FUNC, VtblCall__IIJI_FUNC, VtblCall__IIJJ_FUNC, VtblCall__IIJJI_FUNC, VtblCall__IIJJJJJ_FUNC, VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2I_FUNC, VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2ILorg_eclipse_swt_internal_mozilla_nsID_2_3I_FUNC, VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2Lorg_eclipse_swt_internal_mozilla_nsID_2_3I_FUNC, VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2Lorg_eclipse_swt_internal_mozilla_nsID_2_3Z_FUNC, VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2_3B_3BI_FUNC, VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2_3B_3BI_3B_3B_FUNC, VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2_3I_FUNC, VtblCall__IILorg_eclipse_swt_internal_mozilla_nsID_2_3Z_FUNC, VtblCall__IIZ_FUNC, VtblCall__IIZI_FUNC, VtblCall__IIZ_3Z_FUNC, VtblCall__II_3B_FUNC, VtblCall__II_3BI_FUNC, VtblCall__II_3BILorg_eclipse_swt_internal_mozilla_nsID_2_3I_FUNC, VtblCall__II_3BI_3I_FUNC, VtblCall__II_3BJ_FUNC, VtblCall__II_3BLorg_eclipse_swt_internal_mozilla_nsID_2I_FUNC, VtblCall__II_3BLorg_eclipse_swt_internal_mozilla_nsID_2_3I_FUNC, VtblCall__II_3BLorg_eclipse_swt_internal_mozilla_nsID_2_3Z_FUNC, VtblCall__II_3BZI_3I_3Z_FUNC, VtblCall__II_3BZ_3I_3Z_FUNC, VtblCall__II_3B_3B_FUNC, VtblCall__II_3B_3BZ_FUNC, VtblCall__II_3B_3B_3BZZ_3I_FUNC, VtblCall__II_3B_3B_3I_FUNC, VtblCall__II_3B_3I_FUNC, VtblCall__II_3B_3I_3I_FUNC, VtblCall__II_3B_3I_3Z_FUNC, VtblCall__II_3B_3J_FUNC, VtblCall__II_3B_3Z_FUNC, VtblCall__II_3C_FUNC, VtblCall__II_3CIIII_FUNC, VtblCall__II_3CI_3I_FUNC, VtblCall__II_3CZ_FUNC, VtblCall__II_3C_3C_FUNC, VtblCall__II_3C_3C_3CZ_FUNC, VtblCall__II_3C_3Z_FUNC, VtblCall__II_3F_FUNC, VtblCall__II_3I_FUNC, VtblCall__II_3I_3I_FUNC, VtblCall__II_3I_3I_3I_FUNC, VtblCall__II_3I_3I_3I_3I_FUNC, VtblCall__II_3I_3J_FUNC, VtblCall__II_3I_3J_3I_FUNC, VtblCall__II_3J_FUNC, VtblCall__II_3S_FUNC, VtblCall__II_3Z_FUNC, memmove__ILorg_eclipse_swt_internal_mozilla_nsID_2I_FUNC, memmove__I_3BI_FUNC, memmove__I_3CI_FUNC, memmove__I_3II_FUNC, memmove__I_3JI_FUNC, memmove__Lorg_eclipse_swt_internal_mozilla_nsID_2II_FUNC, memmove___3BII_FUNC, memmove___3B_3CI_FUNC, memmove___3CII_FUNC, memmove___3III_FUNC, memmove___3JII_FUNC, nsEmbedCString_1Length_FUNC, nsEmbedCString_1delete_FUNC, nsEmbedCString_1get_FUNC, nsEmbedCString_1new___FUNC, nsEmbedCString_1new___3BI_FUNC, nsEmbedString_1Length_FUNC, nsEmbedString_1delete_FUNC, nsEmbedString_1get_FUNC, nsEmbedString_1new___FUNC, nsEmbedString_1new___3C_FUNC, nsID_1Equals_FUNC, nsID_1Parse_FUNC, nsID_1delete_FUNC, nsID_1new_FUNC, strlen_FUNC, strlen_1PRUnichar_FUNC, } XPCOM_FUNCS;