summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/H5.c3
-rw-r--r--src/H5S.c19
-rw-r--r--src/H5Smpio.c4
-rw-r--r--src/H5Spublic.h3
4 files changed, 1 insertions, 28 deletions
diff --git a/src/H5.c b/src/H5.c
index d2024ab..0d15029 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -2476,9 +2476,6 @@ H5_trace (const double *returning, const char *func, const char *type, ...)
case H5S_NULL:
fprintf(out, "H5S_NULL");
break;
- case H5S_COMPLEX:
- fprintf(out, "H5S_COMPLEX");
- break;
default:
fprintf(out, "%ld", (long)cls);
break;
diff --git a/src/H5S.c b/src/H5S.c
index bc58fb8..b3060ef 100644
--- a/src/H5S.c
+++ b/src/H5S.c
@@ -636,10 +636,6 @@ H5S_extent_copy(H5S_extent_t *dst, const H5S_extent_t *src)
dst->max=NULL;
break;
- case H5S_COMPLEX:
- /*void */
- break;
-
default:
assert("unknown data space type" && 0);
break;
@@ -832,9 +828,6 @@ H5S_get_npoints_max(const H5S_t *ds)
}
break;
- case H5S_COMPLEX:
- HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, 0, "complex data spaces are not supported yet");
-
default:
assert("unknown data space class" && 0);
HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, 0, "internal error (unknown data space class)");
@@ -919,9 +912,6 @@ H5S_get_simple_extent_ndims(const H5S_t *ds)
ret_value = ds->extent.rank;
break;
- case H5S_COMPLEX:
- HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, FAIL, "complex data spaces are not supported yet");
-
default:
assert("unknown data space class" && 0);
HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, FAIL, "internal error (unknown data space class)");
@@ -1023,9 +1013,6 @@ H5S_get_simple_extent_dims(const H5S_t *ds, hsize_t dims[], hsize_t max_dims[])
}
break;
- case H5S_COMPLEX:
- HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, FAIL, "complex data spaces are not supported yet");
-
default:
assert("unknown data space class" && 0);
HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, FAIL, "internal error (unknown data space class)");
@@ -1067,9 +1054,6 @@ H5S_modify(H5O_loc_t *loc, const H5S_t *ds, hbool_t update_time, hid_t dxpl_id)
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTINIT, FAIL, "can't update simple dataspace message")
break;
- case H5S_COMPLEX:
- HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, FAIL, "complex dataspaces are not implemented yet")
-
default:
HDassert("unknown dataspace class" && 0);
break;
@@ -1121,9 +1105,6 @@ H5S_append(H5F_t *f, hid_t dxpl_id, struct H5O_t *oh, const H5S_t *ds,
HGOTO_ERROR(H5E_DATASPACE, H5E_CANTINIT, FAIL, "can't update simple data space message");
break;
- case H5S_COMPLEX:
- HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, FAIL, "complex data spaces are not implemented yet");
-
default:
assert("unknown data space class" && 0);
break;
diff --git a/src/H5Smpio.c b/src/H5Smpio.c
index 4c7f50b..f2e146c 100644
--- a/src/H5Smpio.c
+++ b/src/H5Smpio.c
@@ -815,10 +815,6 @@ H5S_mpio_space_type( const H5S_t *space, size_t elmt_size,
} /* end switch */
break;
- case H5S_COMPLEX:
- /* not yet implemented */
- HGOTO_ERROR(H5E_DATASPACE, H5E_UNSUPPORTED, FAIL, "complex data spaces are not supported yet");
-
default:
assert("unknown data space type" && 0);
break;
diff --git a/src/H5Spublic.h b/src/H5Spublic.h
index 5e2177f..9eb3705 100644
--- a/src/H5Spublic.h
+++ b/src/H5Spublic.h
@@ -34,8 +34,7 @@ typedef enum H5S_class_t {
H5S_NO_CLASS = -1, /*error */
H5S_SCALAR = 0, /*scalar variable */
H5S_SIMPLE = 1, /*simple data space */
- H5S_NULL = 2, /*null data space */
- H5S_COMPLEX = 3 /*complex data space */
+ H5S_NULL = 2 /*null data space */
} H5S_class_t;
/* Different ways of combining selections */