repo.or.cz
/
ACE_TAO.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Check for full match with major version
[ACE_TAO.git]
/
ACE
/
examples
/
Export
/
dll.cpp
blob
8429b11413f7fbe86263f404960e0d39e089f93d
1
#include
"dll.h"
2
3
int
test_variable
=
0
;
4
5
int
6
test_function
()
7
{
8
test_variable
=
RETVAL
;
9
return
RETVAL
;
10
}
11
12
int
13
test_class
::
method
()
14
{
15
return
RETVAL
;
16
}
17
18
test_class
*
19
get_dll_singleton
()
20
{
21
return
TEST_SINGLETON
::
instance
();
22
}
23
24
ACE_SINGLETON_TEMPLATE_INSTANTIATE
(
ACE_Singleton
,
test_class
,
ACE_Null_Mutex
);