summaryrefslogtreecommitdiff
path: root/TAO/tao/TAO_Singleton_Manager.inl
blob: a9c35b8fa130b03eb7103aab0cf08249e8a27d5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// -*- C++ -*-
//
// $Id$

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

ACE_INLINE
int
TAO_Singleton_Manager::at_exit (ACE_Cleanup *object,
				void *param)
{
  return TAO_Singleton_Manager::instance ()->at_exit_i (
    object,
    (ACE_CLEANUP_FUNC) ACE_CLEANUP_DESTROYER_NAME,
    param);
}

ACE_INLINE
int
TAO_Singleton_Manager::at_exit (void *object,
				ACE_CLEANUP_FUNC cleanup_hook,
				void *param)
{
  return TAO_Singleton_Manager::instance ()->at_exit_i (
    object,
    cleanup_hook,
    param);
}

TAO_END_VERSIONED_NAMESPACE_DECL