diff options
author | Raymond Lu <songyulu@hdfgroup.org> | 2001-11-02 19:46:36 (GMT) |
---|---|---|
committer | Raymond Lu <songyulu@hdfgroup.org> | 2001-11-02 19:46:36 (GMT) |
commit | 5122df335cc2627bfdd85e3fcff8bd1731e8c4ae (patch) | |
tree | b2f22fe06fb4fde61e7113b9aee17597a9fedd20 /src/H5FDstream.c | |
parent | ec59e5f52aa06ed8267f8df2281f322fb6b9ed78 (diff) | |
download | hdf5-5122df335cc2627bfdd85e3fcff8bd1731e8c4ae.zip hdf5-5122df335cc2627bfdd85e3fcff8bd1731e8c4ae.tar.gz hdf5-5122df335cc2627bfdd85e3fcff8bd1731e8c4ae.tar.bz2 |
[svn-r4584]
Purpose:
Switch from old property list to new generic property list.
Description:
Mainly changed H5Pcreat, H5Pclose, H5Pcopy.
Platforms tested:
IRIX64 6.5, FreeBSD, SunOS 5.7.
Diffstat (limited to 'src/H5FDstream.c')
-rw-r--r-- | src/H5FDstream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5FDstream.c b/src/H5FDstream.c index d383b7a..ea29030 100644 --- a/src/H5FDstream.c +++ b/src/H5FDstream.c @@ -269,7 +269,7 @@ herr_t H5Pset_fapl_stream (hid_t fapl_id, H5FD_stream_fapl_t *fapl) FUNC_ENTER (H5Pset_fapl_stream, FAIL); H5TRACE2 ("e", "ix", fapl_id, fapl); - if (H5P_FILE_ACCESS != H5Pget_class (fapl_id)) + if ( TRUE!=H5Pisa_class(fapl_id, H5P_FILE_ACCESS) ) { HRETURN_ERROR (H5E_PLIST, H5E_BADTYPE, FAIL, "not a fapl"); } @@ -322,7 +322,7 @@ herr_t H5Pget_fapl_stream(hid_t fapl_id, H5FD_stream_fapl_t *fapl /* out */) FUNC_ENTER (H5Pget_fapl_stream, FAIL); H5TRACE2("e","ix",fapl_id,fapl); - if (H5P_FILE_ACCESS != H5Pget_class (fapl_id)) + if (TRUE!=H5Pisa_class(fapl_id, H5P_FILE_ACCESS)) { HRETURN_ERROR (H5E_PLIST, H5E_BADTYPE, FAIL, "not a fapl"); } |