summaryrefslogtreecommitdiff
path: root/TAO/tao/TAO_Singleton_Manager.inl
blob: f9f0dd141ce31af66c1cb60f5b91552a7687f6d0 (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
// -*- C++ -*-
//
// $Id$

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,
    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);
}