Fixed build after BOpenHashTable change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31905 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1aab2b2717
commit
265aebfa26
@ -24,8 +24,8 @@ static void* function_call_callback(const void* stub, const void* args);
|
||||
|
||||
|
||||
struct PatchEntry {
|
||||
HashTableLink<PatchEntry> originalTableLink;
|
||||
HashTableLink<PatchEntry> patchedTableLink;
|
||||
PatchEntry* originalTableLink;
|
||||
PatchEntry* patchedTableLink;
|
||||
|
||||
void* originalFunction;
|
||||
void* patchedFunction;
|
||||
@ -71,9 +71,9 @@ struct OriginalTableDefinition {
|
||||
return value->originalFunction == key;
|
||||
}
|
||||
|
||||
HashTableLink<PatchEntry>* GetLink(PatchEntry* value) const
|
||||
PatchEntry*& GetLink(PatchEntry* value) const
|
||||
{
|
||||
return &value->originalTableLink;
|
||||
return value->originalTableLink;
|
||||
}
|
||||
};
|
||||
|
||||
@ -97,9 +97,9 @@ struct PatchedTableDefinition {
|
||||
return value->patchedFunction == key;
|
||||
}
|
||||
|
||||
HashTableLink<PatchEntry>* GetLink(PatchEntry* value) const
|
||||
PatchEntry*& GetLink(PatchEntry* value) const
|
||||
{
|
||||
return &value->patchedTableLink;
|
||||
return value->patchedTableLink;
|
||||
}
|
||||
};
|
||||
|
||||
@ -107,8 +107,8 @@ struct PatchedTableDefinition {
|
||||
static rld_export* sRuntimeLoaderInterface;
|
||||
static runtime_loader_add_on_export* sRuntimeLoaderAddOnInterface;
|
||||
|
||||
static OpenHashTable<OriginalTableDefinition> sOriginalTable;
|
||||
static OpenHashTable<PatchedTableDefinition> sPatchedTable;
|
||||
static BOpenHashTable<OriginalTableDefinition> sOriginalTable;
|
||||
static BOpenHashTable<PatchedTableDefinition> sPatchedTable;
|
||||
|
||||
|
||||
static void*
|
||||
|
Loading…
x
Reference in New Issue
Block a user