summaryrefslogtreecommitdiffstats
path: root/src/H5Ppublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-01-16 22:23:43 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-01-16 22:23:43 (GMT)
commitc2c94c31878dc42926661c9cb7e71be620196fc1 (patch)
treeee9ce2ae309882348dc1eafc1d105b5e6646605e /src/H5Ppublic.h
parent903e677366a86ea385d5cfe1241f3f53132941de (diff)
downloadhdf5-c2c94c31878dc42926661c9cb7e71be620196fc1.zip
hdf5-c2c94c31878dc42926661c9cb7e71be620196fc1.tar.gz
hdf5-c2c94c31878dc42926661c9cb7e71be620196fc1.tar.bz2
[svn-r157] Reformatted code with indent...
Diffstat (limited to 'src/H5Ppublic.h')
-rw-r--r--src/H5Ppublic.h29
1 files changed, 14 insertions, 15 deletions
diff --git a/src/H5Ppublic.h b/src/H5Ppublic.h
index cc87ace..bbf5dc7 100644
--- a/src/H5Ppublic.h
+++ b/src/H5Ppublic.h
@@ -24,33 +24,32 @@
#include <H5Apublic.h>
/* Define atomic datatypes */
-#define H5P_ALL (-2)
+#define H5P_ALL (-2)
/* Different types of dataspaces */
typedef enum H5P_class_t {
- H5P_NO_CLASS =-1, /*error */
- H5P_SCALAR =0, /*scalar variable */
- H5P_SIMPLE =1, /*simple data space */
- H5P_COMPLEX =2 /*complex data space */
+ H5P_NO_CLASS = -1, /*error */
+ H5P_SCALAR = 0, /*scalar variable */
+ H5P_SIMPLE = 1, /*simple data space */
+ H5P_COMPLEX = 2 /*complex data space */
} H5P_class_t;
-
#ifdef __cplusplus
-extern "C" {
+extern "C" {
#endif
/* Functions in H5P.c */
-hid_t H5Pcreate (H5P_class_t type);
-herr_t H5Pclose (hid_t space_id);
-size_t H5Pget_npoints (hid_t space_id);
-intn H5Pget_ndims (hid_t space_id);
-intn H5Pget_dims (hid_t space_id, size_t dims[]);
+ hid_t H5Pcreate(H5P_class_t type);
+ herr_t H5Pclose(hid_t space_id);
+ size_t H5Pget_npoints(hid_t space_id);
+ intn H5Pget_ndims(hid_t space_id);
+ intn H5Pget_dims(hid_t space_id, size_t dims[]);
-hbool_t H5Pis_simple(hid_t space_id);
-herr_t H5Pset_space(hid_t space_id, intn rank, const size_t *dims);
+ hbool_t H5Pis_simple(hid_t space_id);
+ herr_t H5Pset_space(hid_t space_id, intn rank, const size_t *dims);
#ifdef __cplusplus
}
-#endif
#endif
+#endif