Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / ACE / tests / Malloc_Test.h
blob6b64e856531dc4cf52095d5e10f611910316f9a5
1 //=============================================================================
2 /**
3 * @file Malloc_Test.h
5 * It is only used by Malloc_Test.cpp.
7 * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
8 */
9 //=============================================================================
12 #ifndef ACE_TESTS_MALLOC_TEST_H
13 #define ACE_TESTS_MALLOC_TEST_H
15 #include "ace/Based_Pointer_T.h"
17 // Some test data.
18 struct Long_Test
20 ACE_Based_Pointer_Basic<long> bpl_;
21 long array_[10];
24 // Some more test data.
25 struct Test_Data
27 int i1_;
28 int i2_;
29 int i3_;
30 double d1_;
31 ACE_Based_Pointer<Test_Data> next_;
32 ACE_Based_Pointer<Long_Test> long_test_;
35 #endif /* ACE_TESTS_MALLOC_TEST_H */