25 return get_global_ptr()->ns_get_pointer(type);
39 get_global_ptr()->ns_store_pointer(type, ptr);
52 get_global_ptr()->ns_clear_pointer(type);
static void * get_pointer(TypeHandle type)
Returns the pointer associated with the indicated TypeHandle, if any.
static void clear_pointer(TypeHandle type)
Removes the association of the given pointer with the indicated TypeHandle.
static void store_pointer(TypeHandle type, void *ptr)
Associates the given pointer with the indicated TypeHandle.
This class maintains a one-to-one mapping from TypeHandle to a void * pointer.
TypeHandle is the identifier used to differentiate C++ class types.