mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-01 11:27:55 +00:00
Not part of seamonkey.
Fixed bustage due to improper use of DEBUG_somehacker.
This commit is contained in:
parent
62c47142b8
commit
4f6e0a7c6e
@ -164,10 +164,10 @@ indexify_file(const char *filename,
|
||||
int limit = header->num_interfaces;
|
||||
|
||||
interface_record *value;
|
||||
//#ifdef DEBUG_mccabe
|
||||
#ifdef DEBUG_mccabe
|
||||
static int which = 0;
|
||||
which++;
|
||||
//#endif
|
||||
#endif
|
||||
for (int i = 0; i < limit; i++) {
|
||||
XPTInterfaceDirectoryEntry *current = header->interface_directory + i;
|
||||
|
||||
@ -195,7 +195,7 @@ indexify_file(const char *filename,
|
||||
#endif
|
||||
NS_ASSERTION(hashEntry != NULL, "PL_HashTableAdd failed?");
|
||||
}
|
||||
#ifdef DEBUG_MCCABE
|
||||
#ifdef DEBUG_mccabe
|
||||
else {
|
||||
fprintf(stderr, "... found, %d\n", value->which);
|
||||
}
|
||||
@ -208,7 +208,9 @@ indexify_file(const char *filename,
|
||||
"some interface def'd in multiple typelibs.");
|
||||
value->which_header = header;
|
||||
value->resolved = PR_TRUE;
|
||||
#ifdef DEBUG_mccabe
|
||||
value->which = which;
|
||||
#endif
|
||||
value->entry = current;
|
||||
|
||||
// XXX is this a leak?
|
||||
|
@ -71,7 +71,6 @@ private:
|
||||
// (record handling is looked up by name; iids are translated there)
|
||||
nsHashtable *mIIDTable;
|
||||
|
||||
nsInterfaceInfo *mParent;
|
||||
nsIAllocator* mAllocator;
|
||||
};
|
||||
|
||||
@ -80,9 +79,12 @@ class interface_record {
|
||||
public:
|
||||
XPTHeader *which_header;
|
||||
PRBool resolved;
|
||||
int which;
|
||||
XPTInterfaceDirectoryEntry *entry;
|
||||
nsInterfaceInfo *info;
|
||||
#ifdef DEBUG
|
||||
// which (counting from 1) typelib was it loaded from?
|
||||
int which;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
@ -164,10 +164,10 @@ indexify_file(const char *filename,
|
||||
int limit = header->num_interfaces;
|
||||
|
||||
interface_record *value;
|
||||
//#ifdef DEBUG_mccabe
|
||||
#ifdef DEBUG_mccabe
|
||||
static int which = 0;
|
||||
which++;
|
||||
//#endif
|
||||
#endif
|
||||
for (int i = 0; i < limit; i++) {
|
||||
XPTInterfaceDirectoryEntry *current = header->interface_directory + i;
|
||||
|
||||
@ -195,7 +195,7 @@ indexify_file(const char *filename,
|
||||
#endif
|
||||
NS_ASSERTION(hashEntry != NULL, "PL_HashTableAdd failed?");
|
||||
}
|
||||
#ifdef DEBUG_MCCABE
|
||||
#ifdef DEBUG_mccabe
|
||||
else {
|
||||
fprintf(stderr, "... found, %d\n", value->which);
|
||||
}
|
||||
@ -208,7 +208,9 @@ indexify_file(const char *filename,
|
||||
"some interface def'd in multiple typelibs.");
|
||||
value->which_header = header;
|
||||
value->resolved = PR_TRUE;
|
||||
#ifdef DEBUG_mccabe
|
||||
value->which = which;
|
||||
#endif
|
||||
value->entry = current;
|
||||
|
||||
// XXX is this a leak?
|
||||
|
@ -71,7 +71,6 @@ private:
|
||||
// (record handling is looked up by name; iids are translated there)
|
||||
nsHashtable *mIIDTable;
|
||||
|
||||
nsInterfaceInfo *mParent;
|
||||
nsIAllocator* mAllocator;
|
||||
};
|
||||
|
||||
@ -80,9 +79,12 @@ class interface_record {
|
||||
public:
|
||||
XPTHeader *which_header;
|
||||
PRBool resolved;
|
||||
int which;
|
||||
XPTInterfaceDirectoryEntry *entry;
|
||||
nsInterfaceInfo *info;
|
||||
#ifdef DEBUG
|
||||
// which (counting from 1) typelib was it loaded from?
|
||||
int which;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user