summaryrefslogtreecommitdiffstats
path: root/src/H5E.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-01-10 20:26:02 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-01-10 20:26:02 (GMT)
commitf8da76cb9f96d4b233ac9dcb896f9df74e803f38 (patch)
treeb23e28d99b9391163e25d84daabb09906998078f /src/H5E.c
parent71ca572047b5d73b200eb761bc1234f3b6c4783d (diff)
downloadhdf5-f8da76cb9f96d4b233ac9dcb896f9df74e803f38.zip
hdf5-f8da76cb9f96d4b233ac9dcb896f9df74e803f38.tar.gz
hdf5-f8da76cb9f96d4b233ac9dcb896f9df74e803f38.tar.bz2
[svn-r6266] Purpose:
Code cleanup/new feature. Description: Split FUNC_LEAVE into API and non-API specific versions. This allows a solution to compiling this branch with C++, as well as reducing the size of the binaries produced. Platforms tested: FreeBSD 4.7 (sleipnir) w/serial, parallel (including MPE) & thread-safe
Diffstat (limited to 'src/H5E.c')
-rw-r--r--src/H5E.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/H5E.c b/src/H5E.c
index 8b9ab13..5d664e6 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -262,7 +262,7 @@ H5E_get_stack(void)
ret_value=estack;
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
}
#endif /* H5_HAVE_THREADSAFE */
@@ -292,7 +292,7 @@ H5E_init_interface (void)
H5E_auto_data_g = stderr;
- FUNC_LEAVE(SUCCEED);
+ FUNC_LEAVE_NOAPI(SUCCEED);
}
@@ -334,7 +334,7 @@ H5Eset_auto(H5E_auto_t func, void *client_data)
H5E_auto_data_g = client_data;
done:
- FUNC_LEAVE (ret_value);
+ FUNC_LEAVE_API(ret_value);
}
@@ -366,7 +366,7 @@ H5Eget_auto(H5E_auto_t *func, void **client_data)
if (client_data) *client_data = H5E_auto_data_g;
done:
- FUNC_LEAVE (ret_value);
+ FUNC_LEAVE_API(ret_value);
}
@@ -395,7 +395,7 @@ H5Eclear(void)
/* FUNC_ENTER() does all the work */
done:
- FUNC_LEAVE (ret_value);
+ FUNC_LEAVE_API(ret_value);
}
@@ -453,7 +453,7 @@ H5Eprint(FILE *stream)
ret_value = H5E_walk (H5E_WALK_DOWNWARD, H5E_walk_cb, (void*)stream);
done:
- FUNC_LEAVE (ret_value);
+ FUNC_LEAVE_API(ret_value);
}
@@ -484,7 +484,7 @@ H5Ewalk(H5E_direction_t direction, H5E_walk_t func, void *client_data)
ret_value = H5E_walk (direction, func, client_data);
done:
- FUNC_LEAVE (ret_value);
+ FUNC_LEAVE_API(ret_value);
}
@@ -549,7 +549,7 @@ H5E_walk_cb(int n, H5E_error_t *err_desc, void *client_data)
fprintf (stream, "%*sminor(%02d): %s\n",
indent*2, "", err_desc->min_num, min_str);
- FUNC_LEAVE(SUCCEED);
+ FUNC_LEAVE_NOAPI(SUCCEED);
}
@@ -591,7 +591,7 @@ H5Eget_major (H5E_major_t n)
}
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_API(ret_value);
}
@@ -633,7 +633,7 @@ H5Eget_minor (H5E_minor_t n)
}
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_API(ret_value);
}
@@ -696,7 +696,7 @@ H5E_push(H5E_major_t maj_num, H5E_minor_t min_num, const char *function_name,
estack->nused++;
}
- FUNC_LEAVE(SUCCEED);
+ FUNC_LEAVE_NOAPI(SUCCEED);
}
@@ -734,7 +734,7 @@ H5Epush(const char *file, const char *func, unsigned line, H5E_major_t maj,
ret_value = H5E_push(maj, min, func, file, line, str);
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_API(ret_value);
}
@@ -763,7 +763,7 @@ H5E_clear(void)
if (estack) estack->nused = 0;
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
}
@@ -821,6 +821,6 @@ H5E_walk (H5E_direction_t direction, H5E_walk_t func, void *client_data)
}
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
}