summaryrefslogtreecommitdiffstats
path: root/src/H5RS.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/H5RS.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/H5RS.c')
-rw-r--r--src/H5RS.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/H5RS.c b/src/H5RS.c
index f6f18ac..39953d6 100644
--- a/src/H5RS.c
+++ b/src/H5RS.c
@@ -68,7 +68,7 @@ H5RS_xstrdup(const char *s)
else
ret_value=NULL;
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
} /* end H5RS_xstrdup() */
@@ -108,7 +108,7 @@ H5RS_create(const char *s)
ret_value->n=1;
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
} /* end H5RS_create() */
@@ -148,7 +148,7 @@ H5RS_wrap(char *s)
ret_value->n=1;
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
} /* end H5RS_wrap() */
@@ -190,7 +190,7 @@ H5RS_own(char *s)
ret_value->n=1;
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
} /* end H5RS_own() */
@@ -232,7 +232,7 @@ H5RS_decr(H5RS_str_t *rs)
} /* end if */
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
} /* end H5RS_decr() */
@@ -278,7 +278,7 @@ H5RS_incr(H5RS_str_t *rs)
rs->n++;
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
} /* end H5RS_incr() */
@@ -312,7 +312,7 @@ H5RS_dup(H5RS_str_t *ret_value)
ret_value->n++;
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
} /* end H5RS_dup() */
@@ -349,7 +349,7 @@ H5RS_cmp(const H5RS_str_t *rs1, const H5RS_str_t *rs2)
assert(rs2);
assert(rs2->s);
- FUNC_LEAVE(HDstrcmp(rs1->s,rs2->s));
+ FUNC_LEAVE_NOAPI(HDstrcmp(rs1->s,rs2->s));
} /* end H5RS_cmp() */
@@ -385,6 +385,6 @@ H5RS_len(const H5RS_str_t *rs)
ret_value=HDstrlen(rs->s);
done:
- FUNC_LEAVE(ret_value);
+ FUNC_LEAVE_NOAPI(ret_value);
} /* end H5RS_len() */