summaryrefslogtreecommitdiffstats
path: root/src/H5Spublic.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2000-11-28 16:18:42 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2000-11-28 16:18:42 (GMT)
commit51f5bbc54fae647682f4d6723c5c956053e6195a (patch)
tree0401dd21d85ca75986d222012908ac379a35d15b /src/H5Spublic.h
parent923c2ecb780c709a210f74d679fc4cdde08fa0d3 (diff)
downloadhdf5-51f5bbc54fae647682f4d6723c5c956053e6195a.zip
hdf5-51f5bbc54fae647682f4d6723c5c956053e6195a.tar.gz
hdf5-51f5bbc54fae647682f4d6723c5c956053e6195a.tar.bz2
[svn-r3008] Purpose:
Code cleanup Description: Several places in the code were using -2 as a default value for various features. However, when a default value is returned from a function that is supposed to return negative on failure, it was causing confusion and extra work for users to check for the special value. Solution: Replaced hard-coded -2 values in the code with symbolic names, then changed symbolic names to 0 instead of -2. Platforms tested: FreeBSD 4.2 (hawkwind)
Diffstat (limited to 'src/H5Spublic.h')
-rw-r--r--src/H5Spublic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Spublic.h b/src/H5Spublic.h
index f7aa805..2f2b740 100644
--- a/src/H5Spublic.h
+++ b/src/H5Spublic.h
@@ -21,7 +21,7 @@
#include <H5Ipublic.h>
/* Define atomic datatypes */
-#define H5S_ALL (-2)
+#define H5S_ALL 0
#define H5S_UNLIMITED ((hsize_t)(hssize_t)(-1))
/* Define user-level maximum number of dimensions */
f='#n175'>175 176 177 178 179 180 181 182 183 184 185
./INSTALL
./INSTALL.ibm.sp.parallel
./INSTALL_MAINT
./INSTALL_parallel
./MANIFEST
./Makefile.dist
./Makefile.in
./README
./RELEASE
./acconfig.h
./bin/checkposix
./bin/config.guess
./bin/config.sub
./bin/errors
./bin/install-sh
./bin/release
./config/alpha-dec
./config/commence.in
./config/conclude.in
./config/depend.in
./config/freebsd2.2.1
./config/hpux10.20
./config/irix6.2
./config/irix64
./config/linux
./config/powerpc-ibm-aix4.2.1.0
./config/rs6000-ibm-aix4.1.4.0
./config/solaris2.5
./configure
./configure.in
./examples/h5_chunk_read.c
./examples/h5_compound.c
./examples/h5_extend_write.c
./examples/h5_group.c
./examples/h5_read.c
./examples/h5_write.c
./html/CodeReview.html
./html/Coding.html
./html/Datasets.html
./html/Dataspaces.html
./html/Datatypes.html
./html/ExternalFiles.html
./html/Files.html
./html/Groups.html
./html/H5.api.html
./html/H5.api_map.html
./html/H5.format.html
./html/H5.intro.html
./html/H5.sample_code.html
./html/H5.user.html
./html/MemoryManagement.html
./html/ObjectHeader.txt
./html/Properties.html
./html/compat.html
./html/dataset_p1.gif
./html/dataset_p1.obj
./html/group_p1.gif
./html/group_p1.obj
./html/group_p2.gif
./html/group_p2.obj
./html/group_p3.gif
./html/group_p3.obj
./html/ph5design.html
./html/ph5example.c
./html/ph5implement.txt
./html/heap.txt
./html/index.html
./html/move.html
./html/review1.html
./html/review1a.html
./html/storage.html
./html/study.html
./html/study_1000x1000.gif
./html/study_250x250.gif
./html/study_499x499.gif
./html/study_5000x1000.gif
./html/study_500x500.gif
./html/study_p1.gif
./html/study_p1.obj
./html/symtab
./src/.indent.pro
./src/H5.c
./src/H5A.c
./src/H5AC.c
./src/H5ACprivate.h
./src/H5ACpublic.h
./src/H5Aprivate.h
./src/H5Apublic.h
./src/H5B.c
./src/H5Bprivate.h
./src/H5Bpublic.h
./src/H5C.c
./src/H5Cprivate.h
./src/H5Cpublic.h
./src/H5D.c
./src/H5Dprivate.h
./src/H5Dpublic.h
./src/H5E.c
./src/H5Eprivate.h
./src/H5Epublic.h
./src/H5F.c
./src/H5Farray.c
./src/H5Fcore.c
./src/H5Ffamily.c
./src/H5Fistore.c
./src/H5Flow.c
./src/H5Fmpio.c
./src/H5Fprivate.h
./src/H5Fpublic.h
./src/H5Fsec2.c
./src/H5Fsplit.c
./src/H5Fstdio.c
./src/H5G.c
./src/H5Gent.c
./src/H5Gnode.c
./src/H5Gpkg.h
./src/H5Gprivate.h
./src/H5Gpublic.h
./src/H5Gstab.c
./src/H5H.c
./src/H5Hprivate.h
./src/H5Hpublic.h
./src/H5M.c
./src/H5MF.c
./src/H5MFprivate.h
./src/H5MFpublic.h
./src/H5MM.c
./src/H5MMprivate.h
./src/H5MMpublic.h
./src/H5Mprivate.h
./src/H5Mpublic.h
./src/H5O.c
./src/H5Ocont.c
./src/H5Odtype.c
./src/H5Oefl.c
./src/H5Olayout.c
./src/H5Oname.c
./src/H5Onull.c
./src/H5Oprivate.h
./src/H5Opublic.h
./src/H5Osdspace.c
./src/H5Ostab.c
./src/H5P.c
./src/H5Pprivate.h
./src/H5Ppublic.h
./src/H5Psimp.c
./src/H5T.c
./src/H5Tconv.c
./src/H5Tpkg.h
./src/H5Tprivate.h
./src/H5Tpublic.h
./src/H5V.c
./src/H5Vprivate.h
./src/H5config.h.in
./src/H5detect.c
./src/H5private.h
./src/H5public.h
./src/Makefile.in
./src/debug.c
./src/hdf5.h
./test/Makefile.in
./test/cmpd_dset.c
./test/dsets.c
./test/dspace.c
./test/dtypes.c
./test/extend.c
./test/hyperslab.c
./test/istore.c
./test/testhdf5.c
./test/testhdf5.h
./test/tfile.c
./test/th5p.c
./test/theap.c
./test/tmeta.c
./test/tohdr.c
./test/tstab.c
./testpar/Makefile.irix64
./testpar/README
./testpar/phdf5sup.c
./testpar/testphdf5.c
./tgif/APIGrammar.obj
./tgif/FileGrammar.obj
./tgif/IOPipe.obj
./tgif/RobbPipe.obj
./tgif/UserView.obj