mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r112] Added some symbolic names for '0'. Makes user's code easier to read.
This commit is contained in:
parent
0f7fcaad25
commit
5f027262a5
@ -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
|
||||
|
@ -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 */
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user