mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-28 03:18:41 +00:00
fixed warnings
This commit is contained in:
parent
41444e6afe
commit
48e107abf0
@ -293,6 +293,7 @@ nsXPCArbitraryScriptable::nsXPCArbitraryScriptable()
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
JS_STATIC_DLL_CALLBACK(intN)
|
||||
ContextMapDumpEnumerator(JSHashEntry *he, intN i, void *arg)
|
||||
{
|
||||
((XPCContext*)he->value)->DebugDump(*(int*)arg);
|
||||
|
@ -98,21 +98,25 @@ XPCContext::Init(JSObject* aGlobalObj /*= NULL*/)
|
||||
}
|
||||
|
||||
#ifdef DEBUG
|
||||
JS_STATIC_DLL_CALLBACK(intN)
|
||||
WrappedNativeClassMapDumpEnumerator(JSHashEntry *he, intN i, void *arg)
|
||||
{
|
||||
((nsXPCWrappedNativeClass*)he->value)->DebugDump(*(int*)arg);
|
||||
return HT_ENUMERATE_NEXT;
|
||||
}
|
||||
JS_STATIC_DLL_CALLBACK(intN)
|
||||
WrappedJSClassMapDumpEnumerator(JSHashEntry *he, intN i, void *arg)
|
||||
{
|
||||
((nsXPCWrappedJSClass*)he->value)->DebugDump(*(int*)arg);
|
||||
return HT_ENUMERATE_NEXT;
|
||||
}
|
||||
JS_STATIC_DLL_CALLBACK(intN)
|
||||
WrappedNativeMapDumpEnumerator(JSHashEntry *he, intN i, void *arg)
|
||||
{
|
||||
((nsXPCWrappedNative*)he->value)->DebugDump(*(int*)arg);
|
||||
return HT_ENUMERATE_NEXT;
|
||||
}
|
||||
JS_STATIC_DLL_CALLBACK(intN)
|
||||
WrappedJSMapDumpEnumerator(JSHashEntry *he, intN i, void *arg)
|
||||
{
|
||||
((nsXPCWrappedJS*)he->value)->DebugDump(*(int*)arg);
|
||||
|
Loading…
Reference in New Issue
Block a user