14 #ifndef GLOBALPOINTERREGISTRY_H 15 #define GLOBALPOINTERREGISTRY_H 52 INLINE
static void *get_pointer(
TypeHandle type);
53 INLINE
static void store_pointer(
TypeHandle type,
void *ptr);
54 INLINE
static void clear_pointer(
TypeHandle type);
59 void ns_store_pointer(
TypeHandle type,
void *ptr);
66 typedef phash_map<TypeHandle, void *> Pointers;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class maintains a one-to-one mapping from TypeHandle to a void * pointer.
TypeHandle is the identifier used to differentiate C++ class types.