diff options
Diffstat (limited to 'examples/Export/dll.cpp')
-rw-r--r-- | examples/Export/dll.cpp | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/examples/Export/dll.cpp b/examples/Export/dll.cpp deleted file mode 100644 index 7e2f969c3fa..00000000000 --- a/examples/Export/dll.cpp +++ /dev/null @@ -1,31 +0,0 @@ -// $Id$ -#include "dll.h" - -int test_variable = 0; - -int -test_function () -{ - test_variable = RETVAL; - return RETVAL; -} - -int -test_class::method () -{ - return RETVAL; -} - -test_class * -get_dll_singleton () -{ - return TEST_SINGLETON::instance (); -} - -#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION) -template class ACE_Singleton<test_class,ACE_Null_Mutex>; -#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA) -#pragma instantiate ACE_Singleton<test_class,ACE_Null_Mutex> -#elif defined (ACE_HAS_EXPLICIT_STATIC_TEMPLATE_MEMBER_INSTANTIATION) -template ACE_Singleton<test_class, ACE_Null_Mutex> *ACE_Singleton<test_class, ACE_Null_Mutex>::singleton_; -#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */ |