summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2006-10-16 17:51:21 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2006-10-16 17:51:21 (GMT)
commit3300d035b0ea1189b2c97a517dc8978ac790f131 (patch)
tree1a010fe8b603f3e36159e033b3b6c6cbcf9f4c93
parent6a35d4c3068ad31f7904c37a58c90b4a071ac5ba (diff)
downloadhdf5-3300d035b0ea1189b2c97a517dc8978ac790f131.zip
hdf5-3300d035b0ea1189b2c97a517dc8978ac790f131.tar.gz
hdf5-3300d035b0ea1189b2c97a517dc8978ac790f131.tar.bz2
[svn-r12763]
removed the function H5LTcreate_compound_type from the source directory. this function was not being used. when it was written, it was meant to be an auxiliary function to be used on the table api, but it never had an usage commented the H5LTrepack function with the #ifdef NOT_YET macro it is also not being used
-rw-r--r--hl/src/H5LT.c53
-rw-r--r--hl/src/H5LTpublic.h7
2 files changed, 8 insertions, 52 deletions
diff --git a/hl/src/H5LT.c b/hl/src/H5LT.c
index 1ebcc5f..32c1dbe 100644
--- a/hl/src/H5LT.c
+++ b/hl/src/H5LT.c
@@ -28,6 +28,9 @@ int input_len;
char *myinput;
int indent = 0;
+
+
+
/*-------------------------------------------------------------------------
*
* internal functions
@@ -1969,55 +1972,7 @@ out:
}
-/*-------------------------------------------------------------------------
- *
- * General functions
- *
- *-------------------------------------------------------------------------
- */
-
-/*-------------------------------------------------------------------------
- * Function: H5LTcreate_compound_type
- *
- * Purpose:
- *
- * Return: Success: 0, Failure: -1
- *
- * Programmer: Pedro Vicente, pvn@ncsa.uiuc.edu
- *
- * Date: September 18, 2001
- *
- * Comments:
- *
- * Modifications:
- *
- *
- *-------------------------------------------------------------------------
- */
-
-hid_t H5LTcreate_compound_type( hsize_t nfields, size_t size, const char *field_names[],
- const size_t *field_offset, const hid_t *field_types )
-{
-
- hid_t tid;
- hsize_t i;
- /* Create the memory data type. */
- if ((tid = H5Tcreate (H5T_COMPOUND, size )) < 0 )
- goto out;
-
- /* Insert fields. */
- for ( i = 0; i < nfields; i++)
- {
- if ( H5Tinsert(tid, field_names[i], field_offset[i], field_types[i] ) < 0 )
- goto out;
- }
-
- return tid;
-
-out:
- return -1;
-}
/*-------------------------------------------------------------------------
* Function: H5LTtext_to_dtype
@@ -2717,6 +2672,7 @@ out:
return FAIL;
}
+#ifdef NOT_YET
/*-------------------------------------------------------------------------
* Function: H5LTrepack
*
@@ -2791,6 +2747,7 @@ out:
return -1;
}
+#endif /* NOT_YET */
/*-------------------------------------------------------------------------
diff --git a/hl/src/H5LTpublic.h b/hl/src/H5LTpublic.h
index ed078a7..09e8f60 100644
--- a/hl/src/H5LTpublic.h
+++ b/hl/src/H5LTpublic.h
@@ -328,13 +328,10 @@ H5_HLDLL herr_t H5LTget_attribute_info( hid_t loc_id,
*-------------------------------------------------------------------------
*/
-
-H5_HLDLL hid_t H5LTcreate_compound_type( hsize_t nfields, size_t size, const char *field_names[],
- const size_t *field_offset, const hid_t *field_types );
-
H5_HLDLL hid_t H5LTtext_to_dtype(const char *text, H5LT_lang_t lang_type);
H5_HLDLL herr_t H5LTdtype_to_text(hid_t dtype, char *str, H5LT_lang_t lang_type, size_t *len);
+#ifdef NOT_YET
H5_HLDLL herr_t H5LTrepack( hsize_t nfields,
hsize_t nrecords,
size_t src_size,
@@ -345,6 +342,8 @@ H5_HLDLL herr_t H5LTrepack( hsize_t nfields,
const size_t *dst_sizes,
unsigned char *src_buf,
unsigned char *dst_buf );
+#endif /* NOT_YET */
+