Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / TAO_Singleton_Manager.inl
blob532e1844fafac7c16ed25193ac3789aea33bcccf
1 // -*- C++ -*-
2 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
4 ACE_INLINE
5 int
6 TAO_Singleton_Manager::at_exit (ACE_Cleanup *object,
7                                 void *param,
8                                 const char* name)
10   return TAO_Singleton_Manager::instance ()->at_exit_i (
11     object,
12     (ACE_CLEANUP_FUNC) ACE_CLEANUP_DESTROYER_NAME,
13     param,
14     name);
17 ACE_INLINE
18 int
19 TAO_Singleton_Manager::at_exit (void *object,
20                                 ACE_CLEANUP_FUNC cleanup_hook,
21                                 void *param,
22                                 const char* name)
24   return TAO_Singleton_Manager::instance ()->at_exit_i (
25     object,
26     cleanup_hook,
27     param,
28     name);
31 TAO_END_VERSIONED_NAMESPACE_DECL