fixed warnings

This commit is contained in:
jband%netscape.com 1999-02-26 02:46:35 +00:00
parent 41444e6afe
commit 48e107abf0
2 changed files with 5 additions and 0 deletions

View File

@ -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);

View File

@ -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);