/* * 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 the Python XPCOM language bindings. * * The Initial Developer of the Original Code is ActiveState Tool Corp. * Portions created by ActiveState Tool Corp. are Copyright (C) 2000, 2001 * ActiveState Tool Corp. All Rights Reserved. * * Contributor(s): Mark Hammond (original author) * */ // standard include - sets up all the defines used by // the mozilla make process - too lazy to work out how to integrate // with their make, so this will do! // // This code is part of the XPCOM extensions for Python. // // Written May 2000 by Mark Hammond. // // Based heavily on the Python COM support, which is // (c) Mark Hammond and Greg Stein. // // (c) 2000, ActiveState corp. // Main Mozilla cross-platform declarations. #include "xp_core.h" #include "nsIAllocator.h" #include "nsIWeakReference.h" #include "nsIInterfaceInfoManager.h" #include "nsIClassInfo.h" #include "nsIComponentManager.h" #include "nsIServiceManager.h" #include "nsIInputStream.h" #include "nsXPIDLString.h" #include "nsCRT.h" #include "xptcall.h" #include "xpt_xdr.h" // This header is considered internal - hence // we can use it to trigger "exports" #define BUILD_PYXPCOM #ifdef HAVE_LONG_LONG // Mozilla also defines this - we undefine it to // prevent a compiler warning. # undef HAVE_LONG_LONG #endif // HAVE_LONG_LONG #include "Python.h" #include "PyXPCOM.h"