/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef nsError_h__ #define nsError_h__
#ifndef __cplusplus # error nsError.h no longer supports C sources #endif
/* Check that our enum type is actually uint32_t as expected */
static_assert(((nsresult)0) < ((nsresult)-1), "nsresult must be an unsigned type");
static_assert(sizeof(nsresult) == sizeof(uint32_t), "nsresult must be 32 bits");
/* * This will return the nsresult corresponding to the most recent NSPR failure * returned by PR_GetError. * *********************************************************************** * Do not depend on this function. It will be going away! ***********************************************************************
*/ extern nsresult NS_ErrorAccordingToNSPR();
/** * @name Standard Macros for retrieving error bits
*/
#ifdef _MSC_VER # pragma warning(disable : 4251) /* 'nsCOMPtr<class nsIInputStream>' needs to \ have dll-interface to be used by clients \
of class 'nsInputStream' */ # pragma warning( \
disable : 4275) /* non dll-interface class 'nsISupports' used as base \
for dll-interface class 'nsIRDFNode' */ #endif
#endif
¤ Dauer der Verarbeitung: 0.2 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.