summaryrefslogtreecommitdiffstats
path: root/src/H5R.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-08-13 20:53:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-08-13 20:53:35 (GMT)
commit6b45f5172ccb4311e0be9ae15da3758abb6b0e67 (patch)
tree5a7a112fe7a8a98c6fecb45b513789d15962eb3d /src/H5R.c
parent6562465a2c2a58cfbc2f47bf60bb538f7a783933 (diff)
downloadhdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.zip
hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.gz
hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.bz2
[svn-r11245] Purpose:
Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'src/H5R.c')
-rw-r--r--src/H5R.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/H5R.c b/src/H5R.c
index 87a402c..c20e21e 100644
--- a/src/H5R.c
+++ b/src/H5R.c
@@ -43,7 +43,7 @@ NAME
H5R_init_interface -- Initialize interface-specific information
USAGE
herr_t H5R_init_interface()
-
+
RETURNS
Non-negative on success/Negative on failure
DESCRIPTION
@@ -90,7 +90,7 @@ H5R_term_interface(void)
int n=0;
FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5R_term_interface);
-
+
if (H5_interface_initialize_g) {
if ((n=H5I_nmembers(H5I_REFERENCE))) {
H5I_clear_type(H5I_REFERENCE, FALSE);
@@ -100,7 +100,7 @@ H5R_term_interface(void)
n = 1; /*H5I*/
}
}
-
+
FUNC_LEAVE_NOAPI(n);
}
@@ -119,7 +119,7 @@ H5R_term_interface(void)
H5R_type_t ref_type; IN: Type of reference to create
H5S_t *space; IN: Dataspace ID with selection, used for Dataset
Region references.
-
+
RETURNS
Non-negative on success/Negative on failure
DESCRIPTION
@@ -177,7 +177,7 @@ H5R_create(void *_ref, H5G_entry_t *loc, const char *name, H5R_type_t ref_type,
heapid_found=1;
break;
} /* end if */
-
+
if(heapid_found!=0) {
/* Return heap block to free list */
} /* end if */
@@ -250,7 +250,7 @@ done:
H5R_type_t ref_type; IN: Type of reference to create
hid_t space_id; IN: Dataspace ID with selection, used for Dataset
Region references.
-
+
RETURNS
Non-negative on success/Negative on failure
DESCRIPTION
@@ -306,7 +306,7 @@ done:
H5F_t *file; IN: File the object being dereferenced is within
H5R_type_t ref_type; IN: Type of reference
void *ref; IN: Reference to open.
-
+
RETURNS
Valid ID on success, Negative on failure
DESCRIPTION
@@ -444,7 +444,7 @@ done:
object that the dataset is located within.
H5R_type_t ref_type; IN: Type of reference to create
void *ref; IN: Reference to open.
-
+
RETURNS
Valid ID on success, Negative on failure
DESCRIPTION
@@ -495,7 +495,7 @@ done:
H5F_t *file; IN: File the object being dereferenced is within
H5R_type_t ref_type; UNUSED
void *ref; IN: Reference to open.
-
+
RETURNS
Pointer to the dataspace on success, NULL on failure
DESCRIPTION
@@ -568,7 +568,7 @@ done:
object that the dataset is located within.
H5R_type_t ref_type; IN: Type of reference to get region of
void *ref; IN: Reference to open.
-
+
RETURNS
Valid ID on success, Negative on failure
DESCRIPTION
@@ -625,7 +625,7 @@ done:
H5F_t *file; IN: File the object being dereferenced is within
H5R_type_t ref_type; IN: Type of reference to query
void *ref; IN: Reference to query.
-
+
RETURNS
Success: An object type defined in H5Gpublic.h
Failure: H5G_UNKNOWN
@@ -721,7 +721,7 @@ done:
object that the dataset is located within.
H5R_type_t ref_type; IN: Type of reference to query
void *ref; IN: Reference to query.
-
+
RETURNS
Success: An object type defined in H5Gpublic.h
Failure: H5G_UNKNOWN
@@ -757,7 +757,7 @@ H5Rget_obj_type(hid_t id, H5R_type_t ref_type, void *_ref)
/* Get the object information */
if ((ret_value=H5R_get_obj_type(file,H5AC_ind_dxpl_id,ref_type,_ref))<0)
HGOTO_ERROR(H5E_REFERENCE, H5E_CANTINIT, H5G_UNKNOWN, "unable to determine object type");
-
+
done:
FUNC_LEAVE_API(ret_value);
} /* end H5Rget_obj_type() */