summaryrefslogtreecommitdiffstats
path: root/hl/examples/ptExampleVL.c
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-10-17 21:19:11 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-10-17 21:19:11 (GMT)
commitce30ee9b28e9b68de817845aa5bc965d35ca8967 (patch)
treee2b60196c77f8fbb1f0213bf07ca5e0e90817102 /hl/examples/ptExampleVL.c
parent2d586abc2773635199351a80897fbcd7381c223b (diff)
downloadhdf5-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/examples/ptExampleVL.c')
-rw-r--r--hl/examples/ptExampleVL.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hl/examples/ptExampleVL.c b/hl/examples/ptExampleVL.c
index f33a469..1f55210 100644
--- a/hl/examples/ptExampleVL.c
+++ b/hl/examples/ptExampleVL.c
@@ -27,6 +27,7 @@
int main(void)
{
+#ifdef VLPT_REMOVED
hid_t fid; /* File identifier */
hid_t ptable; /* Packet table identifier */
@@ -110,12 +111,15 @@ int main(void)
/* Close the file */
H5Fclose(fid);
+#endif /* VLPT_REMOVED */
return 0;
+#ifdef VLPT_REMOVED
out: /* An error has occurred. Clean up and exit. */
fprintf(stderr, "An error has occurred!\n");
H5PTclose(ptable);
H5Fclose(fid);
return -1;
+#endif /* VLPT_REMOVED */
}