mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
hashing not a great idea here
This commit is contained in:
parent
dbb24d9cc9
commit
16128382a9
@ -72,11 +72,11 @@ public:
|
||||
|
||||
protected:
|
||||
|
||||
typedef phash_set<EventFunction *, pointer_hash> Functions;
|
||||
typedef phash_map<string, Functions, string_hash> Hooks;
|
||||
typedef pset<EventFunction *> Functions;
|
||||
typedef pmap<string, Functions> Hooks;
|
||||
typedef pair<EventCallbackFunction*, void*> CallbackFunction;
|
||||
typedef pset<CallbackFunction> CallbackFunctions;
|
||||
typedef phash_map<string, CallbackFunctions, string_hash> CallbackHooks;
|
||||
typedef pmap<string, CallbackFunctions> CallbackHooks;
|
||||
|
||||
Hooks _hooks;
|
||||
CallbackHooks _cbhooks;
|
||||
|
Loading…
x
Reference in New Issue
Block a user