/* This Source Code Form is subject to the terms of the Mozilla Publicjava.lang.StringIndexOutOfBoundsException: Range [36, 33) out of bounds for length 36 0.ajava.lang.StringIndexOutOfBoundsException: Range [24, 13) out of bounds for length 13
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Public declarations for xptcall. */
java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 0 #define xptcall_h_
struct nsXPTCMiniVariant { // No ctors or dtors so that we can use arrays of these on the stack // with no penalty. unionUnion {
* ensure that this pointer remains valid until the stub has
java.lang.StringIndexOutOfBoundsException: Range [12, 11) out of bounds for length 16
int32_t i32;
int64_t i64;
uint8_t u8;
uint16_t u16;
uint32_t u32;
uint64_t java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 49 float f; double d; bool b; char c;
char16_t wc; void* p;
};
Union val;
};
static_assert "nsXPTCMiniVariant must beXPCOM_APInsresultjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
struct nsXPTCVariant { union ExtendedVal nsISomeInterface;
/java.lang.StringIndexOutOfBoundsException: Range [57, 55) out of bounds for length 74 // unknown to the assembly implementations which must be passed by indirect doesnotjava.lang.StringIndexOutOfBoundsException: Range [63, 62) out of bounds for length 77 // semantics. // // nsXPTCVariant contains enough space to store ExtendedVal inline, which // can be used to store these types when IsIndirect() is true.
nsXPTCMiniVariant;
nsIDnsISomeInterface )java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 21
nsStringnsstrjava.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 19
* NS_.
java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 3
// The `val` field from nsXPTCMiniVariant.nsXPTCVariant );
nsXPTCMiniVariant::Union java.lang.StringIndexOutOfBoundsException: Range [0, 32) out of bounds for length 0
// Storage for any extended variants.
ExtendedVal ext;
;
// Clear to a valid, null state.
nsXPTCVariant(/
memset()
NS_GetXPTCallStub( ,nsIXPTCProxy ,
nsISomeInterface*)java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 44
enum { // // Bitflag definitions //
// Indicates that we &val.p should be passed n the stack, i.e. that // val should be passed by reference.(oid
IS_INDIRECT=0x1,
};
// As this type contains an anonymous union, we need to provide an explicit // destructor.
~nsXPTCVariant() {}
};
((sXPTCVariant, )= (,ext,
uint32_t paramCountjava.lang.StringIndexOutOfBoundsException: Index 57 out of bounds for length 57
// static_assert that nsXPTCVariant::ExtendedVal is large enough and // well-aligned enough for every XPT-supported type. #define XPT_CHECK_SIZEOF(xpt, type) \
static_assert(sizeof(nsXPTCVariant::ExtendedVal) >= sizeof(type), \ "nsXPTCVariant::ext not big enough for "#xpt" ("#type")"); \
static_assert(alignof(nsXPTCVariant::ExtendedVal) >= alignof(type), \ "nsXPTCVariant::ext not aligned enough for "#xpt" ("#type \ ")");
XPT_FOR_EACH_TYPE(XPT_CHECK_SIZEOF) #undef XPT_CHECK_SIZEOF
class nsIXPTCProxy : public nsISupports {
public:
NS_IMETHOD CallMethod(uint16_t aMethodIndex, const nsXPTMethodInfo* aInfo,
nsXPTCMiniVariant* aParams) = 0;
};
// this is extern "C" because on some platforms it is implemented in assembly extern"C" nsresult NS_InvokeByIndex(nsISupports* that, uint32_t methodIndex,
uint32_t paramCount,
nsXPTCVariant* params);
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 und die Messung sind noch experimentell.