aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/alloc_SUITE_data
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2014-12-05 15:13:07 +0100
committerSverker Eriksson <[email protected]>2015-11-10 16:40:24 +0100
commitb72ad981e96fcc14c245ef2bd10c5c98c6a239f6 (patch)
treee1b4499225ad586758c4bf14f0fe94ee30ca1136 /erts/emulator/test/alloc_SUITE_data
parent933bb51d40bcd665602fe4ece951b3111c301e74 (diff)
downloadotp-b72ad981e96fcc14c245ef2bd10c5c98c6a239f6.tar.gz
otp-b72ad981e96fcc14c245ef2bd10c5c98c6a239f6.tar.bz2
otp-b72ad981e96fcc14c245ef2bd10c5c98c6a239f6.zip
erts: Add TEST allocator
Diffstat (limited to 'erts/emulator/test/alloc_SUITE_data')
-rw-r--r--erts/emulator/test/alloc_SUITE_data/allocator_test.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/test/alloc_SUITE_data/allocator_test.h b/erts/emulator/test/alloc_SUITE_data/allocator_test.h
index 1d6b2f4907..a7f12c6ca8 100644
--- a/erts/emulator/test/alloc_SUITE_data/allocator_test.h
+++ b/erts/emulator/test/alloc_SUITE_data/allocator_test.h
@@ -142,5 +142,7 @@ typedef void* erts_cond;
#define THR_JOIN(T) ((void) ALC_TEST1(0xf11, (T)))
#define THR_EXIT(R) ((void) ALC_TEST1(0xf12, (R)))
#define IS_SMP_ENABLED ((int) ALC_TEST0(0xf13))
+#define ALLOC_TEST(S) ((void*) ALC_TEST1(0xf14, (S)))
+#define FREE_TEST(P) ((void) ALC_TEST1(0xf15, (P)))
#endif