Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / ACE / tests / Based_Pointer_Test_Lib.cpp
blob1b27fdead9c7ee00fa9b95615d35f3bf33a69a6e
2 //=============================================================================
3 /**
4 * @file Based_Pointer_Test_Lib.cpp
6 * This test confirms the function of the Based_Pointer_Repository
8 * @author Steve Williams <steve@telxio>
9 */
10 //=============================================================================
13 #include "ace/ACE.h"
14 #include "ace/svc_export.h"
15 #include "ace/Based_Pointer_Repository.h"
17 #if defined (ACE_OPENVMS)
18 // with OPENVMS symbol names > 31 cause us trouble with dlsym()
19 extern "C" ACE_Svc_Export void *
20 get_based_pointer_repo_inst (void)
21 #else
22 extern "C" ACE_Svc_Export void *
23 get_based_pointer_repository_instance (void)
24 #endif
26 void* baddr = ACE_BASED_POINTER_REPOSITORY::instance();
27 return baddr;