author | Michael Krelin <hacker@klever.net> | 2007-04-11 19:22:11 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-04-11 19:22:11 (UTC) |
commit | a2d909d2ecaaf80e6d0e063f37fa04ed6934c185 (patch) (side-by-side diff) | |
tree | 5f09965678201579c9aacbe2d11db4bc9f930267 | |
parent | 4c22006b8012bafccf955c0d077971e67107ac35 (diff) | |
download | konforka-a2d909d2ecaaf80e6d0e063f37fa04ed6934c185.zip konforka-a2d909d2ecaaf80e6d0e063f37fa04ed6934c185.tar.gz konforka-a2d909d2ecaaf80e6d0e063f37fa04ed6934c185.tar.bz2 |
-rw-r--r-- | include/konforka/pointer_map.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/konforka/pointer_map.h b/include/konforka/pointer_map.h index d706e71..00dd486 100644 --- a/include/konforka/pointer_map.h +++ b/include/konforka/pointer_map.h @@ -1,39 +1,40 @@ #ifndef __KONFORKA_POINTER_MAP_H #define __KONFORKA_POINTER_MAP_H #include <typeinfo> /** * @file * @brief mapping of pointers. * * The support for global mapping of pointers. Useful when using third-party * libraries callbacks when the library does not provide mechanism for passing * along custom context-dependent data. */ namespace konforka { + using std::type_info; /** * @brief internally used actual implementation of mapping pointer. * * @param tf the typeid of the key pointer. * @param pf the key pointer. * @param tt the typeid of the value pointer. * @param pt the value pointer. */ void _map_pointer(const type_info& tf,void *pf,const type_info& tt,void *pt); /** * @brief internally used actual implementation of destroying mapped * pointer. * * @param tf the typeid of the key pointer. * @param pf the key pointer. * @param tt the typeid of the value pointer. * @param pt the value pointer. */ void _unmap_pointer(const type_info& tf,void *pf,const type_info& tt,void *pt); /** * @brief internally used actual implementation of retrieving mapped * pointer. * |