diff options
author | James Laird <jlaird@hdfgroup.org> | 2006-10-17 21:19:11 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2006-10-17 21:19:11 (GMT) |
commit | ce30ee9b28e9b68de817845aa5bc965d35ca8967 (patch) | |
tree | e2b60196c77f8fbb1f0213bf07ca5e0e90817102 /hl/c++ | |
parent | 2d586abc2773635199351a80897fbcd7381c223b (diff) | |
download | hdf5-ce30ee9b28e9b68de817845aa5bc965d35ca8967.zip hdf5-ce30ee9b28e9b68de817845aa5bc965d35ca8967.tar.gz hdf5-ce30ee9b28e9b68de817845aa5bc965d35ca8967.tar.bz2 |
[svn-r12773] Removed Variable-length packet tables from the HL libraries.
This is a quick change to make sure nothing breaks; VL functions in
the header files have been #ifdef'd out.
Tested on mir.
Diffstat (limited to 'hl/c++')
-rw-r--r-- | hl/c++/examples/ptExampleVL.cpp | 2 | ||||
-rw-r--r-- | hl/c++/src/H5PacketTable.h | 2 | ||||
-rw-r--r-- | hl/c++/test/ptableTest.cpp | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/hl/c++/examples/ptExampleVL.cpp b/hl/c++/examples/ptExampleVL.cpp index 1b41bfb..32eeb43 100644 --- a/hl/c++/examples/ptExampleVL.cpp +++ b/hl/c++/examples/ptExampleVL.cpp @@ -25,6 +25,7 @@ int main(void) { +#ifdef VLPT_REMOVED herr_t err; /* Return value from function calls */ hid_t fileID; /* HDF5 identifier for file */ hsize_t count; /* Number of records in table */ @@ -104,6 +105,7 @@ int main(void) if( err < 0 ) fprintf(stderr, "Failed to close file.\n"); +#endif /* VLPT_REMOVED */ return 0; } diff --git a/hl/c++/src/H5PacketTable.h b/hl/c++/src/H5PacketTable.h index 5b4beec..ee45143 100644 --- a/hl/c++/src/H5PacketTable.h +++ b/hl/c++/src/H5PacketTable.h @@ -162,6 +162,7 @@ public: int GetNextPackets(size_t numPackets, void * data); }; +#ifdef VLPT_REMOVED class H5_HLCPPDLL VL_PacketTable : virtual public PacketTable { public: @@ -235,5 +236,6 @@ public: */ int FreeReadbuff(size_t numStructs, hvl_t * buffer); }; +#endif /* VLPT_REMOVED */ #endif /* H5PTWRAP_H */ diff --git a/hl/c++/test/ptableTest.cpp b/hl/c++/test/ptableTest.cpp index d25c2ba..41f647d 100644 --- a/hl/c++/test/ptableTest.cpp +++ b/hl/c++/test/ptableTest.cpp @@ -49,7 +49,9 @@ int main(void) num_errors += SystemTest(); +#ifdef VLPT_REMOVED num_errors += VariableLengthTest(); +#endif /* VLPT_REMOVED */ /* Terminate access to the file. */ err = H5Fclose(fileID); |