[svn-r112] Added some symbolic names for '0'. Makes user's code easier to read.

This commit is contained in:
Quincey Koziol 1997-09-26 18:17:38 -05:00
parent 0f7fcaad25
commit 5f027262a5
4 changed files with 6 additions and 1 deletions

View File

@ -19,6 +19,9 @@
#ifndef _H5Cpublic_H
#define _H5Cpublic_H
/* Default Template for creation, access, etc. templates */
#define H5C_DEFAULT_TEMPLATE 0
#ifdef __cplusplus
extern "C" {
#endif

View File

@ -24,6 +24,7 @@
#include <H5Apublic.h>
/* file access codes */
#define H5ACC_DEFAULT 0x0000 /* Use in H5Fopen & H5Fcreate to open a file with default access */
#define H5ACC_WRITE 0x0001 /* Use in H5Fopen to open a file with write access */
#define H5ACC_OVERWRITE 0x0002 /* Use in H5Fcreate truncate an existing file */

View File

@ -36,7 +36,7 @@ typedef struct H5P_sdim_t {
uint32 *perm; /* Dimension permutations */
} H5P_sdim_t;
#define H5P_RESERVED_ATOMS 1
#define H5P_RESERVED_ATOMS 2
/* Private functions */
hid_t H5P_create(hid_t owner_id, hobjtype_t type, const char *name);

View File

@ -25,6 +25,7 @@
/* Define atomic datatypes */
#define H5P_SCALAR MAKE_ATOM(H5_DATASPACE,0) /* Atom for scalar dataspace */
#define H5P_ALL MAKE_ATOM(H5_DATASPACE,1) /* Atom for "entire" dataspace */
/* Different types of dataspaces */
#define H5P_TYPE_UNKNOWN 0 /* Dataspace is not unitialized */