summaryrefslogtreecommitdiffstats
path: root/hl/src/H5LT.c
diff options
context:
space:
mode:
Diffstat (limited to 'hl/src/H5LT.c')
-rw-r--r--hl/src/H5LT.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/hl/src/H5LT.c b/hl/src/H5LT.c
index 2eaa2bc..0a694d9 100644
--- a/hl/src/H5LT.c
+++ b/hl/src/H5LT.c
@@ -1978,9 +1978,42 @@ out:
return -1;
}
+/*-------------------------------------------------------------------------
+ * Function: H5LTtext_to_dtype
+ *
+ * Purpose: Convert DDL description to HDF5 data type.
+ *
+ * Return: Success: 0, Failure: -1
+ *
+ * Programmer: Raymond Lu, slu@ncsa.uiuc.edu
+ *
+ * Date: October 6, 2004
+ *
+ * Comments:
+ *
+ * Modifications:
+ *
+ *-------------------------------------------------------------------------
+ */
+hid_t H5LTtext_to_dtype(const char *text)
+{
+
+ hid_t type_id;
+ hsize_t i;
+
+ input_len = strlen(text);
+ myinput = strdup(text);
+
+ type_id = yyparse();
+ free(myinput);
+ input_len = 0;
+ return type_id;
+out:
+ return -1;
+}
/*-------------------------------------------------------------------------
* Function: H5LTrepack