summaryrefslogtreecommitdiffstats
path: root/src/H5private.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-05-01 15:35:06 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-05-01 15:35:06 (GMT)
commit92527f751f788ffaf0339abebd83d91b998e1414 (patch)
treef6923c8f6c2971bff91e7059efa341c89151bc65 /src/H5private.h
parent6a5008e313b5b56aeca22bd208c55f4a3f056bdf (diff)
downloadhdf5-92527f751f788ffaf0339abebd83d91b998e1414.zip
hdf5-92527f751f788ffaf0339abebd83d91b998e1414.tar.gz
hdf5-92527f751f788ffaf0339abebd83d91b998e1414.tar.bz2
[svn-r5312] Purpose:
Bug Fix Description: Add TRACE8 and TRACE9 macros Platforms tested: FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'src/H5private.h')
-rw-r--r--src/H5private.h30
1 files changed, 20 insertions, 10 deletions
diff --git a/src/H5private.h b/src/H5private.h
index 33f4fc3..7b36b3b 100644
--- a/src/H5private.h
+++ b/src/H5private.h
@@ -873,21 +873,31 @@ extern H5_debug_t H5_debug_g;
H5_trace(0,FUNC,T,#A0,A0,#A1,A1, \
#A2,A2,#A3,A3,#A4,A4, \
#A5,A5,#A6,A6)
+#define H5TRACE8(R,T,A0,A1,A2,A3,A4,A5,A6,A7) RTYPE=R; \
+ H5_trace(0,FUNC,T,#A0,A0,#A1,A1, \
+ #A2,A2,#A3,A3,#A4,A4, \
+ #A5,A5,#A6,A6,#A7,A7)
+#define H5TRACE9(R,T,A0,A1,A2,A3,A4,A5,A6,A7,A8) RTYPE=R; \
+ H5_trace(0,FUNC,T,#A0,A0,#A1,A1, \
+ #A2,A2,#A3,A3,#A4,A4, \
+ #A5,A5,#A6,A6,#A7,A7,#A8,A8)
#define H5TRACE_RETURN(V) if (RTYPE) { \
H5_trace(1,NULL,RTYPE,NULL,V); \
RTYPE=NULL; \
}
#else
-#define H5TRACE_DECL /*void*/
-#define H5TRACE0(R,T) /*void*/
-#define H5TRACE1(R,T,A0) /*void*/
-#define H5TRACE2(R,T,A0,A1) /*void*/
-#define H5TRACE3(R,T,A0,A1,A2) /*void*/
-#define H5TRACE4(R,T,A0,A1,A2,A3) /*void*/
-#define H5TRACE5(R,T,A0,A1,A2,A3,A4) /*void*/
-#define H5TRACE6(R,T,A0,A1,A2,A3,A4,A5) /*void*/
-#define H5TRACE7(R,T,A0,A1,A2,A3,A4,A5,A6) /*void*/
-#define H5TRACE_RETURN(V) /*void*/
+#define H5TRACE_DECL /*void*/
+#define H5TRACE0(R,T) /*void*/
+#define H5TRACE1(R,T,A0) /*void*/
+#define H5TRACE2(R,T,A0,A1) /*void*/
+#define H5TRACE3(R,T,A0,A1,A2) /*void*/
+#define H5TRACE4(R,T,A0,A1,A2,A3) /*void*/
+#define H5TRACE5(R,T,A0,A1,A2,A3,A4) /*void*/
+#define H5TRACE6(R,T,A0,A1,A2,A3,A4,A5) /*void*/
+#define H5TRACE7(R,T,A0,A1,A2,A3,A4,A5,A6) /*void*/
+#define H5TRACE8(R,T,A0,A1,A2,A3,A4,A5,A6,A7) /*void*/
+#define H5TRACE9(R,T,A0,A1,A2,A3,A4,A5,A6,A7,A8) /*void*/
+#define H5TRACE_RETURN(V) /*void*/
#endif
__DLL__ void H5_trace(hbool_t returning, const char *func, const char *type,