summaryrefslogtreecommitdiffstats
path: root/Doc/faq/installed.rst
blob: 390c85abe424ef589907e370955804b73f0c545a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
=============================================
"Why is Python Installed on my Computer?" FAQ
=============================================

What is Python?
---------------

Python is a programming language.  It's used for many different applications.
It's used in some high schools and colleges as an introductory programming
language because Python is easy to learn, but it's also used by professional
software developers at places such as Google, NASA, and Lucasfilm Ltd.

If you wish to learn more about Python, start with the `Beginner's Guide to
Python <http://wiki.python.org/moin/BeginnersGuide>`_.


Why is Python installed on my machine?
--------------------------------------

If you find Python installed on your system but don't remember installing it,
there are several possible ways it could have gotten there.

* Perhaps another user on the computer wanted to learn programming and installed
  it; you'll have to figure out who's been using the machine and might have
  installed it.
* A third-party application installed on the machine might have been written in
  Python and included a Python installation.  For a home computer, the most
  common such application is `PySol <http://pysolfc.sourceforge.net/>`_, a
  solitaire game that includes over 1000 different games and variations.
* Some Windows machines also have Python installed.  At this writing we're aware
  of computers from Hewlett-Packard and Compaq that include Python.  Apparently
  some of HP/Compaq's administrative tools are written in Python.
* All Apple computers running Mac OS X have Python installed; it's included in
  the base installation.


Can I delete Python?
--------------------

That depends on where Python came from.

If someone installed it deliberately, you can remove it without hurting
anything.  On Windows, use the Add/Remove Programs icon in the Control Panel.

If Python was installed by a third-party application, you can also remove it,
but that application will no longer work.  You should use that application's
uninstaller rather than removing Python directly.

If Python came with your operating system, removing it is not recommended.  If
you remove it, whatever tools were written in Python will no longer run, and
some of them might be important to you.  Reinstalling the whole system would
then be required to fix things again.

amp;id=6b45f5172ccb4311e0be9ae15da3758abb6b0e67'>root/hl
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 /hl
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 'hl')
-rw-r--r--hl/c++/src/H5PacketTable.cpp6
-rw-r--r--hl/c++/src/H5PacketTable.h4
-rw-r--r--hl/c++/test/ptableTest.cpp4
-rw-r--r--hl/fortran/src/H5IMcc.c100
-rw-r--r--hl/fortran/src/H5IMcc.h16
-rwxr-xr-xhl/fortran/src/H5IMfc.c132
-rwxr-xr-xhl/fortran/src/H5LTf90proto.h164
-rwxr-xr-xhl/fortran/src/H5LTfc.c234
-rwxr-xr-xhl/fortran/src/H5TBfc.c132
-rw-r--r--hl/src/H5DS.c514
-rw-r--r--hl/src/H5DS.h20
-rw-r--r--hl/src/H5HL_private.c18
-rw-r--r--hl/src/H5HL_private.h2
-rw-r--r--hl/src/H5IM.c286
-rw-r--r--hl/src/H5IM.h42
-rw-r--r--hl/src/H5LT.c596
-rw-r--r--hl/src/H5LT.h210
-rw-r--r--hl/src/H5PT.c72
-rw-r--r--hl/src/H5PT.h8
-rw-r--r--hl/src/H5TB.c648
-rw-r--r--hl/src/H5TB.h48
-rw-r--r--hl/test/pal_rgb.h2
-rw-r--r--hl/test/test_ds.c546
-rw-r--r--hl/test/test_image.c210
-rw-r--r--hl/test/test_lite.c88
-rw-r--r--hl/test/test_packet.c24
-rw-r--r--hl/test/test_table.c516
-rw-r--r--hl/tools/gif2h5/decompress.c30
-rw-r--r--hl/tools/gif2h5/gif.h12
-rw-r--r--hl/tools/gif2h5/gif2mem.c42
-rw-r--r--hl/tools/gif2h5/gifread.c50
-rw-r--r--hl/tools/gif2h5/hdf2gif.c16
-rw-r--r--hl/tools/gif2h5/hdfgifwr.c18
-rw-r--r--hl/tools/gif2h5/readhdf.c12
-rw-r--r--hl/tools/gif2h5/writehdf.c12
35 files changed, 2417 insertions, 2417 deletions
diff --git a/hl/c++/src/H5PacketTable.cpp b/hl/c++/src/H5PacketTable.cpp
index 3f77d8f..010d1a1 100644
--- a/hl/c++/src/H5PacketTable.cpp
+++ b/hl/c++/src/H5PacketTable.cpp
@@ -30,7 +30,7 @@
}
/* IsValid
- * Returns true if this packet table is valid, false otherwise.
+ * Returns true if this packet table is valid, false otherwise.
* Use this after the constructor to ensure HDF did not have
* any trouble making or opening the packet table.
*/
@@ -89,7 +89,7 @@
/* Constructor
* Creates a packet table in which to store fixed length records.
* Takes the ID of the file the packet table will be created in, the name of
- * the packet table, the ID of the datatype of the set, and the size
+ * the packet table, the ID of the datatype of the set, and the size
* of a memory chunk used in chunking.
*/
FL_PacketTable::FL_PacketTable(hid_t fileID, char* name, hid_t dtypeID, int chunkSize)
@@ -177,7 +177,7 @@
{
return H5PTget_next(table_id, numRecords, data);
}
-
+
/********************************/
/* Variable-Length Packet Table */
diff --git a/hl/c++/src/H5PacketTable.h b/hl/c++/src/H5PacketTable.h
index 1d6ba31..1e0e4c6 100644
--- a/hl/c++/src/H5PacketTable.h
+++ b/hl/c++/src/H5PacketTable.h
@@ -31,7 +31,7 @@ public:
~PacketTable();
/* IsValid
- * Returns true if this packet table is valid, false otherwise.
+ * Returns true if this packet table is valid, false otherwise.
* Use this after the constructor to ensure HDF did not have
* any trouble making or opening the packet table.
*/
@@ -78,7 +78,7 @@ public:
/* Constructor
* Creates a packet table in which to store fixed length records.
* Takes the ID of the file the packet table will be created in, the name of
- * the packet table, the ID of the datatype of the set, and the size
+ * the packet table, the ID of the datatype of the set, and the size
* of a memory chunk used in chunking.
*/
FL_PacketTable(hid_t fileID, char* name, hid_t dtypeID, int chunkSize);
diff --git a/hl/c++/test/ptableTest.cpp b/hl/c++/test/ptableTest.cpp
index 9dc2bffe..f2db380 100644
--- a/hl/c++/test/ptableTest.cpp
+++ b/hl/c++/test/ptableTest.cpp
@@ -84,7 +84,7 @@ int BasicTest()
wrapper.AppendPacket(&myRecord);
/* get number of records test */
- count = wrapper.GetPacketCount();
+ count = wrapper.GetPacketCount();
if(count != 2)
goto out;
@@ -374,7 +374,7 @@ int SystemTest()
hid_t dtypeID1, dtypeID2;
unsigned int count;
- /* Creating two inter-related datatypes. Create two datasets and put
+ /* Creating two inter-related datatypes. Create two datasets and put
* one datatype in each. */
typedef struct compoundType
{
diff --git a/hl/fortran/src/H5IMcc.c b/hl/fortran/src/H5IMcc.c
index 192d58a..0ff802d 100644
--- a/hl/fortran/src/H5IMcc.c
+++ b/hl/fortran/src/H5IMcc.c
@@ -22,7 +22,7 @@
* private functions
*-------------------------------------------------------------------------
*/
-herr_t H5IM_get_palette( hid_t loc_id,
+herr_t H5IM_get_palette( hid_t loc_id,
const char *image_name,
int pal_number,
hid_t tid,
@@ -49,8 +49,8 @@ herr_t H5IM_get_palette( hid_t loc_id,
*-------------------------------------------------------------------------
*/
-herr_t H5IMmake_image_8bitf( hid_t loc_id,
- const char *dset_name,
+herr_t H5IMmake_image_8bitf( hid_t loc_id,
+ const char *dset_name,
hsize_t width,
hsize_t height,
int_f *buf )
@@ -58,17 +58,17 @@ herr_t H5IMmake_image_8bitf( hid_t loc_id,
hid_t did; /* dataset ID */
hid_t sid; /* space ID */
hsize_t dims[IMAGE8_RANK]; /* dimensions */
-
+
/* initialize the image dimensions */
- dims[0] = height;
- dims[1] = width;
- dims[2] = 1;
+ dims[0] = height;
+ dims[1] = width;
+ dims[2] = 1;
/*-------------------------------------------------------------------------
* create and write the dataset
*-------------------------------------------------------------------------
*/
-
+
/* create the data space for the dataset. */
if ((sid=H5Screate_simple(IMAGE8_RANK,dims,NULL))<0)
return -1;
@@ -80,7 +80,7 @@ herr_t H5IMmake_image_8bitf( hid_t loc_id,
/* write with memory type H5T_NATIVE_INT */
/* Use long type if Fortran integer is 8 bytes and C long long is also 8 bytes*/
/* Fail if otherwise */
- if (buf)
+ if (buf)
{
if (sizeof(int_f) == sizeof(int)) {
if (H5Dwrite(did,H5T_NATIVE_INT,H5S_ALL,H5S_ALL,H5P_DEFAULT,buf)<0)
@@ -105,7 +105,7 @@ herr_t H5IMmake_image_8bitf( hid_t loc_id,
* attach the specification attributes
*-------------------------------------------------------------------------
*/
-
+
/* attach the CLASS attribute */
if ( H5LTset_attribute_string( loc_id, dset_name, "CLASS", IMAGE_CLASS ) < 0 )
return -1;
@@ -139,9 +139,9 @@ herr_t H5IMmake_image_8bitf( hid_t loc_id,
* The memory datatype is H5T_NATIVE_INT. It is supposed to be called from
* the FORTRAN interface where the image buffer is defined as type "integer"
*
- * Interlace Mode Dimensions in the Dataspace
- * INTERLACE_PIXEL [height][width][pixel components]
- * INTERLACE_PLANE [pixel components][height][width]
+ * Interlace Mode Dimensions in the Dataspace
+ * INTERLACE_PIXEL [height][width][pixel components]
+ * INTERLACE_PLANE [pixel components][height][width]
*
*
* Modifications:
@@ -149,8 +149,8 @@ herr_t H5IMmake_image_8bitf( hid_t loc_id,
*-------------------------------------------------------------------------
*/
-herr_t H5IMmake_image_24bitf( hid_t loc_id,
- const char *dset_name,
+herr_t H5IMmake_image_24bitf( hid_t loc_id,
+ const char *dset_name,
hsize_t width,
hsize_t height,
const char *interlace,
@@ -164,28 +164,28 @@ herr_t H5IMmake_image_24bitf( hid_t loc_id,
* attach the image dimensions according to the interlace mode
*-------------------------------------------------------------------------
*/
- if ( strcmp( interlace, "INTERLACE_PIXEL" ) == 0 )
+ if ( strcmp( interlace, "INTERLACE_PIXEL" ) == 0 )
{
/* Number of color planes is defined as the third dimension */
- dims[0] = height;
- dims[1] = width;
- dims[2] = IMAGE24_RANK;
+ dims[0] = height;
+ dims[1] = width;
+ dims[2] = IMAGE24_RANK;
}
else
- if ( strcmp( interlace, "INTERLACE_PLANE" ) == 0 )
+ if ( strcmp( interlace, "INTERLACE_PLANE" ) == 0 )
{
/* Number of color planes is defined as the first dimension */
- dims[0] = IMAGE24_RANK;
- dims[1] = height;
- dims[2] = width;
+ dims[0] = IMAGE24_RANK;
+ dims[1] = height;
+ dims[2] = width;
}
else return -1;
-
+
/*-------------------------------------------------------------------------
* create and write the dataset
*-------------------------------------------------------------------------
*/
-
+
/* create the data space for the dataset. */
if ((sid=H5Screate_simple(IMAGE24_RANK,dims,NULL))<0)
return -1;
@@ -195,7 +195,7 @@ herr_t H5IMmake_image_24bitf( hid_t loc_id,
return -1;
/* write with memory type H5T_NATIVE_INT */
- if (buf)
+ if (buf)
{
if (sizeof(int_f) == sizeof(int)) {
if (H5Dwrite(did,H5T_NATIVE_INT,H5S_ALL,H5S_ALL,H5P_DEFAULT,buf)<0)
@@ -263,11 +263,11 @@ herr_t H5IMmake_image_24bitf( hid_t loc_id,
*-------------------------------------------------------------------------
*/
-herr_t H5IMread_imagef( hid_t loc_id,
- const char *dset_name,
+herr_t H5IMread_imagef( hid_t loc_id,
+ const char *dset_name,
int_f *buf )
{
- hid_t did;
+ hid_t did;
/* open the dataset */
if ( (did = H5Dopen( loc_id, dset_name )) < 0 )
@@ -314,7 +314,7 @@ out:
* The memory datatype is H5T_NATIVE_INT. It is supposed to be called from
* the FORTRAN interface where the image buffer is defined as type "integer"
*
- * based on HDF5 Image and Palette Specification
+ * based on HDF5 Image and Palette Specification
* http://hdf.ncsa.uiuc.edu/HDF5/H5Image/ImageSpec.html
*
* Modifications:
@@ -322,20 +322,20 @@ out:
*-------------------------------------------------------------------------
*/
-herr_t H5IMmake_palettef( hid_t loc_id,
+herr_t H5IMmake_palettef( hid_t loc_id,
const char *pal_name,
const hsize_t *pal_dims,
- int_f *pal_data )
+ int_f *pal_data )
+
+{
-{
-
hid_t did; /* dataset ID */
hid_t sid; /* space ID */
int has_pal;
-
+
/* Check if the dataset already exists */
has_pal = H5LTfind_dataset( loc_id, pal_name );
-
+
/* It exists. Return */
if ( has_pal == 1 )
return 0;
@@ -344,7 +344,7 @@ herr_t H5IMmake_palettef( hid_t loc_id,
* create and write the dataset
*-------------------------------------------------------------------------
*/
-
+
/* create the data space for the dataset. */
if ((sid=H5Screate_simple(2,pal_dims,NULL))<0)
return -1;
@@ -354,7 +354,7 @@ herr_t H5IMmake_palettef( hid_t loc_id,
return -1;
/* write with memory type H5T_NATIVE_INT */
- if (pal_data)
+ if (pal_data)
{
if (sizeof(int_f) == sizeof(int)) {
if (H5Dwrite(did,H5T_NATIVE_INT,H5S_ALL,H5S_ALL,H5P_DEFAULT,pal_data)<0)
@@ -387,7 +387,7 @@ herr_t H5IMmake_palettef( hid_t loc_id,
/* Attach the attribute "PAL_VERSION" to the >>palette<< dataset*/
if ( H5LTset_attribute_string( loc_id, pal_name, "PAL_VERSION", "1.2" ) < 0 )
return -1;
-
+
return 0;
}
@@ -409,7 +409,7 @@ herr_t H5IMmake_palettef( hid_t loc_id,
* The memory datatype is H5T_NATIVE_INT. It is supposed to be called from
* the FORTRAN interface where the image buffer is defined as type "integer"
*
- * based on HDF5 Image and Palette Specification
+ * based on HDF5 Image and Palette Specification
* http://hdf.ncsa.uiuc.edu/HDF5/H5Image/ImageSpec.html
*
* Modifications:
@@ -417,7 +417,7 @@ herr_t H5IMmake_palettef( hid_t loc_id,
*-------------------------------------------------------------------------
*/
-herr_t H5IMget_palettef( hid_t loc_id,
+herr_t H5IMget_palettef( hid_t loc_id,
const char *image_name,
int pal_number,
int_f *pal_data )
@@ -447,19 +447,19 @@ herr_t H5IMget_palettef( hid_t loc_id,
* Comments:
* This function allows reading of an 8bit palette from disk disk
* to memory type TID
- * The memory datatype can be H5T_NATIVE_INT or H5T_NATIVE_UCHAR currently.
+ * The memory datatype can be H5T_NATIVE_INT or H5T_NATIVE_UCHAR currently.
* the H5T_NATIVE_INT is supposed to be called from
* the FORTRAN interface where the image buffer is defined as type "integer"
*
* Comments:
- * based on HDF5 Image and Palette Specification
+ * based on HDF5 Image and Palette Specification
* http://hdf.ncsa.uiuc.edu/HDF5/H5Image/ImageSpec.html
*
* Modifications:
*
*-------------------------------------------------------------------------
*/
-herr_t H5IM_get_palette( hid_t loc_id,
+herr_t H5IM_get_palette( hid_t loc_id,
const char *image_name,
int pal_number,
hid_t tid,
@@ -488,7 +488,7 @@ herr_t H5IM_get_palette( hid_t loc_id,
if ( (attr_id = H5Aopen_name( image_id, "PALETTE" )) < 0 )
goto out;
-
+
if ( (attr_type = H5Aget_type( attr_id )) < 0 )
goto out;
@@ -528,13 +528,13 @@ herr_t H5IM_get_palette( hid_t loc_id,
goto out;
free( refbuf );
-
- } /* H5T_REFERENCE */
-
- if ( H5Tclose( attr_type ) < 0 )
+
+ } /* H5T_REFERENCE */
+
+ if ( H5Tclose( attr_type ) < 0 )
goto out;
- /* Close the attribute. */
+ /* Close the attribute. */
if ( H5Aclose( attr_id ) < 0 )
goto out;
diff --git a/hl/fortran/src/H5IMcc.h b/hl/fortran/src/H5IMcc.h
index 32c79ff..d568d73 100644
--- a/hl/fortran/src/H5IMcc.h
+++ b/hl/fortran/src/H5IMcc.h
@@ -31,29 +31,29 @@ extern "C" {
-herr_t H5IMmake_image_8bitf( hid_t loc_id,
- const char *dset_name,
+herr_t H5IMmake_image_8bitf( hid_t loc_id,
+ const char *dset_name,
hsize_t width,
hsize_t height,
int_f *buf );
-herr_t H5IMmake_image_24bitf( hid_t loc_id,
- const char *dset_name,
+herr_t H5IMmake_image_24bitf( hid_t loc_id,
+ const char *dset_name,
hsize_t width,
hsize_t height,
const char *interlace,
int_f *buf);
-herr_t H5IMread_imagef( hid_t loc_id,
- const char *dset_name,
+herr_t H5IMread_imagef( hid_t loc_id,
+ const char *dset_name,
int_f *buf );
-herr_t H5IMmake_palettef( hid_t loc_id,
+herr_t H5IMmake_palettef( hid_t loc_id,
const char *pal_name,
const hsize_t *pal_dims,
int_f *pal_data );
-herr_t H5IMget_palettef( hid_t loc_id,
+herr_t H5IMget_palettef( hid_t loc_id,
const char *image_name,
int pal_number,
int_f *pal_data );
diff --git a/hl/fortran/src/H5IMfc.c b/hl/fortran/src/H5IMfc.c
index 7d09f10..822dbe6 100755
--- a/hl/fortran/src/H5IMfc.c
+++ b/hl/fortran/src/H5IMfc.c
@@ -22,7 +22,7 @@
/*-------------------------------------------------------------------------
* Function: h5immake_image_8bit_c
*
- * Purpose: Call H5IMmake_image_8bit
+ * Purpose: Call H5IMmake_image_8bit
*
* Return: Success: 0, Failure: -1
*
@@ -39,11 +39,11 @@
*/
int_f
-nh5immake_image_8bit_c (hid_t_f *loc_id,
+nh5immake_image_8bit_c (hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
hsize_t_f *width,
- hsize_t_f *height,
+ hsize_t_f *height,
int_f *buf)
{
int ret_value = -1;
@@ -56,7 +56,7 @@ nh5immake_image_8bit_c (hid_t_f *loc_id,
* Convert FORTRAN name to C name
*/
c_namelen = (int)*namelen;
- c_name = (char *)HD5f2cstring(name, c_namelen);
+ c_name = (char *)HD5f2cstring(name, c_namelen);
if (c_name == NULL) return ret_value;
/*
@@ -68,12 +68,12 @@ nh5immake_image_8bit_c (hid_t_f *loc_id,
if (ret < 0) return ret_value;
ret_value = 0;
return ret_value;
-}
+}
/*-------------------------------------------------------------------------
* Function: h5imread_image_c
*
- * Purpose: Call H5IMread_image
+ * Purpose: Call H5IMread_image
*
* Return: Success: 0, Failure: -1
*
@@ -90,9 +90,9 @@ nh5immake_image_8bit_c (hid_t_f *loc_id,
*/
int_f
-nh5imread_image_c (hid_t_f *loc_id,
+nh5imread_image_c (hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
int_f *buf)
{
int ret_value = -1;
@@ -106,7 +106,7 @@ nh5imread_image_c (hid_t_f *loc_id,
* Convert FORTRAN name to C name
*/
c_namelen = (int)*namelen;
- c_name = (char *)HD5f2cstring(name, c_namelen);
+ c_name = (char *)HD5f2cstring(name, c_namelen);
if (c_name == NULL) return ret_value;
/*
@@ -119,12 +119,12 @@ nh5imread_image_c (hid_t_f *loc_id,
if (ret < 0) return ret_value;
ret_value = 0;
return ret_value;
-}
+}
/*-------------------------------------------------------------------------
* Function: h5immake_image_24bit_c
*
- * Purpose: Call H5IMmake_image_24bit
+ * Purpose: Call H5IMmake_image_24bit
*
* Return: Success: 0, Failure: -1
*
@@ -141,11 +141,11 @@ nh5imread_image_c (hid_t_f *loc_id,
*/
int_f
-nh5immake_image_24bit_c (hid_t_f *loc_id,
+nh5immake_image_24bit_c (hid_t_f *loc_id,
int_f *namelen,
_fcd name,
int_f *ilen,
- _fcd il,
+ _fcd il,
hsize_t_f *width,
hsize_t_f *height,
void *buf)
@@ -162,11 +162,11 @@ nh5immake_image_24bit_c (hid_t_f *loc_id,
* Convert FORTRAN name to C name
*/
c_namelen = *namelen;
- c_name = (char *)HD5f2cstring(name, c_namelen);
+ c_name = (char *)HD5f2cstring(name, c_namelen);
if (c_name == NULL) return ret_value;
c_ilen = *ilen;
- c_il = (char *)HD5f2cstring(il, c_ilen);
+ c_il = (char *)HD5f2cstring(il, c_ilen);
if (c_il == NULL) return ret_value;
/*
@@ -179,12 +179,12 @@ nh5immake_image_24bit_c (hid_t_f *loc_id,
if (ret < 0) return ret_value;
ret_value = 0;
return ret_value;
-}
+}
/*-------------------------------------------------------------------------
* Function: h5imget_image_info_c
*
- * Purpose: Call H5IMget_image_info
+ * Purpose: Call H5IMget_image_info
*
* Return: Success: 0, Failure: -1
*
@@ -201,7 +201,7 @@ nh5immake_image_24bit_c (hid_t_f *loc_id,
*/
int_f
-nh5imget_image_info_c(hid_t_f *loc_id,
+nh5imget_image_info_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name,
hsize_t_f *width,
@@ -226,7 +226,7 @@ nh5imget_image_info_c(hid_t_f *loc_id,
* Convert FORTRAN name to C name
*/
c_namelen = *namelen;
- c_name = (char *)HD5f2cstring(name, c_namelen);
+ c_name = (char *)HD5f2cstring(name, c_namelen);
if (c_name == NULL) return ret_value;
/*
@@ -239,14 +239,14 @@ nh5imget_image_info_c(hid_t_f *loc_id,
* Call H5IMget_image_info function.
*/
c_loc_id = (hid_t)*loc_id;
-
+
ret = H5IMget_image_info(c_loc_id,c_name,&c_width,&c_height,&c_planes,c_buf,&c_npals);
*width = (hsize_t_f) c_width;
*height = (hsize_t_f) c_height;
*planes = (hsize_t_f) c_planes;
*npals = (hsize_t_f) c_npals;
-
+
/*
* Convert C name to FORTRAN and place it in the given buffer
@@ -254,11 +254,11 @@ nh5imget_image_info_c(hid_t_f *loc_id,
HD5packFstring(c_buf, _fcdtocp(interlace), (size_t)*ilen);
if(c_buf) free(c_buf);
-
+
if (ret < 0) return ret_value;
ret_value = 0;
return ret_value;
-}
+}
/*-------------------------------------------------------------------------
@@ -281,7 +281,7 @@ nh5imget_image_info_c(hid_t_f *loc_id,
*/
int_f
-nh5imis_image_c(hid_t_f *loc_id,
+nh5imis_image_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name)
{
@@ -293,7 +293,7 @@ nh5imis_image_c(hid_t_f *loc_id,
* Convert FORTRAN name to C name
*/
c_namelen = *namelen;
- c_name = (char *)HD5f2cstring(name, c_namelen);
+ c_name = (char *)HD5f2cstring(name, c_namelen);
if (c_name == NULL) return -1;
/*
@@ -302,14 +302,14 @@ nh5imis_image_c(hid_t_f *loc_id,
c_loc_id = (hid_t)*loc_id;
return( H5IMis_image(c_loc_id, c_name));
-
-}
+
+}
/*-------------------------------------------------------------------------
* Function: h5immake_palette_c
*
- * Purpose: Call H5IMmake_palette
+ * Purpose: Call H5IMmake_palette
*
* Return: Success: 0, Failure: -1
*
@@ -326,9 +326,9 @@ nh5imis_image_c(hid_t_f *loc_id,
*/
int_f
-nh5immake_palette_c (hid_t_f *loc_id,
+nh5immake_palette_c (hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
hsize_t_f *dims,
void *buf)
{
@@ -345,7 +345,7 @@ nh5immake_palette_c (hid_t_f *loc_id,
* Convert FORTRAN name to C name
*/
c_namelen = *namelen;
- c_name = (char *)HD5f2cstring(name, c_namelen);
+ c_name = (char *)HD5f2cstring(name, c_namelen);
if (c_name == NULL) return ret_value;
c_dims = malloc(sizeof(hsize_t) * (rank ));
@@ -367,13 +367,13 @@ nh5immake_palette_c (hid_t_f *loc_id,
if (ret < 0) return ret_value;
ret_value = 0;
return ret_value;
-}
+}
/*-------------------------------------------------------------------------
* Function: h5imlink_palette_c
*
- * Purpose: Call H5IMlink_palette
+ * Purpose: Call H5IMlink_palette
*
* Return: Success: 0, Failure: -1
*
@@ -390,9 +390,9 @@ nh5immake_palette_c (hid_t_f *loc_id,
*/
int_f
-nh5imlink_palette_c (hid_t_f *loc_id,
+nh5imlink_palette_c (hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
int_f *ilen,
_fcd pal_name)
{
@@ -409,11 +409,11 @@ nh5imlink_palette_c (hid_t_f *loc_id,
* Convert FORTRAN name to C name
*/
c_namelen = *namelen;
- c_name = (char *)HD5f2cstring(name, c_namelen);
+ c_name = (char *)HD5f2cstring(name, c_namelen);
if (c_name == NULL) return ret_value;
c_namelenpal = *ilen;
- c_namepal = (char *)HD5f2cstring(pal_name, c_namelenpal);
+ c_namepal = (char *)HD5f2cstring(pal_name, c_namelenpal);
if (c_namepal == NULL) return ret_value;
/*
@@ -427,13 +427,13 @@ nh5imlink_palette_c (hid_t_f *loc_id,
if (ret < 0) return ret_value;
ret_value = 0;
return ret_value;
-}
+}
/*-------------------------------------------------------------------------
* Function: h5imunlink_palette_c
*
- * Purpose: Call H5IMunlink_palette
+ * Purpose: Call H5IMunlink_palette
*
* Return: Success: 0, Failure: -1
*
@@ -450,9 +450,9 @@ nh5imlink_palette_c (hid_t_f *loc_id,
*/
int_f
-nh5imunlink_palette_c (hid_t_f *loc_id,
+nh5imunlink_palette_c (hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
int_f *ilen,
_fcd pal_name)
{
@@ -469,11 +469,11 @@ nh5imunlink_palette_c (hid_t_f *loc_id,
* Convert FORTRAN name to C name
*/
c_namelen = *namelen;
- c_name = (char *)HD5f2cstring(name, c_namelen);
+ c_name = (char *)HD5f2cstring(name, c_namelen);
if (c_name == NULL) return ret_value;
c_namelenpal = *ilen;
- c_namepal = (char *)HD5f2cstring(pal_name, c_namelenpal);
+ c_namepal = (char *)HD5f2cstring(pal_name, c_namelenpal);
if (c_namepal == NULL) return ret_value;
/*
@@ -487,14 +487,14 @@ nh5imunlink_palette_c (hid_t_f *loc_id,
if (ret < 0) return ret_value;
ret_value = 0;
return ret_value;
-}
-
+}
+
/*-------------------------------------------------------------------------
* Function: h5imget_npalettes_c
*
- * Purpose: Call H5IMget_npalettes
+ * Purpose: Call H5IMget_npalettes
*
* Return: Success: 0, Failure: -1
*
@@ -511,7 +511,7 @@ nh5imunlink_palette_c (hid_t_f *loc_id,
*/
int_f
-nh5imget_npalettes_c(hid_t_f *loc_id,
+nh5imget_npalettes_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name,
hsize_t_f *npals)
@@ -527,7 +527,7 @@ nh5imget_npalettes_c(hid_t_f *loc_id,
* Convert FORTRAN name to C name
*/
c_namelen = *namelen;
- c_name = (char *)HD5f2cstring(name, c_namelen);
+ c_name = (char *)HD5f2cstring(name, c_namelen);
if (c_name == NULL) return ret_value;
/*
@@ -538,18 +538,18 @@ nh5imget_npalettes_c(hid_t_f *loc_id,
ret = H5IMget_npalettes(c_loc_id,c_name,&c_npals);
*npals = (hsize_t_f) c_npals;
-
+
if (ret < 0) return ret_value;
ret_value = 0;
return ret_value;
-}
+}
/*-------------------------------------------------------------------------
* Function: h5imget_palette_info_c
*
- * Purpose: Call H5IMget_palette_info
+ * Purpose: Call H5IMget_palette_info
*
* Return: Success: 0, Failure: -1
*
@@ -567,7 +567,7 @@ nh5imget_npalettes_c(hid_t_f *loc_id,
int_f
-nh5imget_palette_info_c(hid_t_f *loc_id,
+nh5imget_palette_info_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name,
int_f *pal_number,
@@ -585,7 +585,7 @@ nh5imget_palette_info_c(hid_t_f *loc_id,
* Convert FORTRAN name to C name
*/
c_namelen = *namelen;
- c_name = (char *)HD5f2cstring(name, c_namelen);
+ c_name = (char *)HD5f2cstring(name, c_namelen);
if (c_name == NULL) return ret_value;
/*
@@ -599,17 +599,17 @@ nh5imget_palette_info_c(hid_t_f *loc_id,
dims[i] = (hsize_t_f) c_dims[i];
}
-
+
if (ret < 0) return ret_value;
ret_value = 0;
return ret_value;
-}
+}
/*-------------------------------------------------------------------------
* Function: h5imget_palette_c
*
- * Purpose: Call H5IMget_palette
+ * Purpose: Call H5IMget_palette
*
* Return: Success: 0, Failure: -1
*
@@ -627,7 +627,7 @@ nh5imget_palette_info_c(hid_t_f *loc_id,
int_f
-nh5imget_palette_c(hid_t_f *loc_id,
+nh5imget_palette_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name,
int_f *pal_number,
@@ -643,7 +643,7 @@ nh5imget_palette_c(hid_t_f *loc_id,
* Convert FORTRAN name to C name
*/
c_namelen = *namelen;
- c_name = (char *)HD5f2cstring(name, c_namelen);
+ c_name = (char *)HD5f2cstring(name, c_namelen);
if (c_name == NULL) return ret_value;
/*
@@ -652,13 +652,13 @@ nh5imget_palette_c(hid_t_f *loc_id,
c_loc_id = (hid_t)*loc_id;
ret = H5IMget_palettef(c_loc_id,c_name,*pal_number,buf);
-
+
if (ret < 0) return ret_value;
ret_value = 0;
return ret_value;
-}
+}
+
-
/*-------------------------------------------------------------------------
* Function: h5imis_palette_c
*
@@ -679,7 +679,7 @@ nh5imget_palette_c(hid_t_f *loc_id,
*/
int_f
-nh5imis_palette_c(hid_t_f *loc_id,
+nh5imis_palette_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name)
{
@@ -691,7 +691,7 @@ nh5imis_palette_c(hid_t_f *loc_id,
* Convert FORTRAN name to C name
*/
c_namelen = *namelen;
- c_name = (char *)HD5f2cstring(name, c_namelen);
+ c_name = (char *)HD5f2cstring(name, c_namelen);
if (c_name == NULL) return -1;
/*
@@ -700,5 +700,5 @@ nh5imis_palette_c(hid_t_f *loc_id,
c_loc_id = (hid_t)*loc_id;
return( H5IMis_palette(c_loc_id, c_name));
-
-}
+
+}
diff --git a/hl/fortran/src/H5LTf90proto.h b/hl/fortran/src/H5LTf90proto.h
index cae95cf..81c30a4 100755
--- a/hl/fortran/src/H5LTf90proto.h
+++ b/hl/fortran/src/H5LTf90proto.h
@@ -18,7 +18,7 @@
#include "H5public.h"
#include "H5f90i.h"
-#include <stdlib.h>
+#include <stdlib.h>
#include <string.h>
@@ -82,118 +82,118 @@ H5_DLL void HD5packFstring (char *src, char *dest, size_t len);
# define nh5tbget_table_info_c H5_FC_FUNC_(h5tbget_table_info_c, H5TBGET_TABLE_INFO_C)
# define nh5tbget_field_info_c H5_FC_FUNC_(h5tbget_field_info_c, H5TBGET_FIELD_INFO_C)
-H5_DLL
+H5_DLL
int_f
-nh5ltmake_dataset_c (hid_t_f *loc_id,
+nh5ltmake_dataset_c (hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
- int_f *rank,
+ _fcd name,
+ int_f *rank,
hsize_t_f *dims,
- hid_t_f *type_id,
+ hid_t_f *type_id,
void *buf);
-H5_DLL
+H5_DLL
int_f
-nh5ltread_dataset_c (hid_t_f *loc_id,
+nh5ltread_dataset_c (hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
- hid_t_f *type_id,
+ _fcd name,
+ hid_t_f *type_id,
void *buf,
hsize_t_f *dims);
H5_DLL
int_f
-nh5ltset_attribute_int_c(hid_t_f *loc_id,
+nh5ltset_attribute_int_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd dsetname,
+ _fcd dsetname,
int_f *attrnamelen,
- _fcd attrname,
+ _fcd attrname,
size_t_f *size,
void *buf);
H5_DLL
int_f
-nh5ltset_attribute_float_c(hid_t_f *loc_id,
+nh5ltset_attribute_float_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd dsetname,
+ _fcd dsetname,
int_f *attrnamelen,
- _fcd attrname,
+ _fcd attrname,
size_t_f *size,
void *buf);
H5_DLL
int_f
-nh5ltset_attribute_double_c(hid_t_f *loc_id,
+nh5ltset_attribute_double_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd dsetname,
+ _fcd dsetname,
int_f *attrnamelen,
- _fcd attrname,
+ _fcd attrname,
size_t_f *size,
void *buf);
H5_DLL
int_f
-nh5ltset_attribute_string_c(hid_t_f *loc_id,
+nh5ltset_attribute_string_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd dsetname,
+ _fcd dsetname,
int_f *attrnamelen,
- _fcd attrname,
+ _fcd attrname,
void *buf);
H5_DLL
int_f
-nh5ltget_attribute_int_c(hid_t_f *loc_id,
+nh5ltget_attribute_int_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd dsetname,
+ _fcd dsetname,
int_f *attrnamelen,
- _fcd attrname,
+ _fcd attrname,
void *buf);
H5_DLL
int_f
-nh5ltget_attribute_float_c(hid_t_f *loc_id,
+nh5ltget_attribute_float_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd dsetname,
+ _fcd dsetname,
int_f *attrnamelen,
- _fcd attrname,
+ _fcd attrname,
void *buf);
H5_DLL
int_f
-nh5ltget_attribute_double_c(hid_t_f *loc_id,
+nh5ltget_attribute_double_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd dsetname,
+ _fcd dsetname,
int_f *attrnamelen,
- _fcd attrname,
+ _fcd attrname,
void *buf);
H5_DLL
int_f
-nh5ltget_attribute_string_c(hid_t_f *loc_id,
+nh5ltget_attribute_string_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd dsetname,
+ _fcd dsetname,
int_f *attrnamelen,
- _fcd attrname,
+ _fcd attrname,
void *buf);
H5_DLL
int_f
-nh5ltget_dataset_ndims_c(hid_t_f *loc_id,
+nh5ltget_dataset_ndims_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
int_f *rank);
H5_DLL
int_f
-nh5ltfind_dataset_c(hid_t_f *loc_id,
+nh5ltfind_dataset_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name);
H5_DLL
int_f
-nh5ltget_dataset_info_c(hid_t_f *loc_id,
+nh5ltget_dataset_info_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name,
hsize_t_f *dims,
@@ -202,35 +202,35 @@ nh5ltget_dataset_info_c(hid_t_f *loc_id,
H5_DLL
int_f
-nh5ltget_attribute_ndims_c(hid_t_f *loc_id,
+nh5ltget_attribute_ndims_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd dsetname,
+ _fcd dsetname,
int_f *attrnamelen,
- _fcd attrname,
+ _fcd attrname,
int_f *rank);
H5_DLL
int_f
-nh5ltget_attribute_info_c(hid_t_f *loc_id,
+nh5ltget_attribute_info_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name,
int_f *attrnamelen,
- _fcd attrname,
+ _fcd attrname,
hsize_t_f *dims,
int_f *type_class,
size_t_f *type_size);
H5_DLL
int_f
-nh5ltmake_dataset_string_c (hid_t_f *loc_id,
+nh5ltmake_dataset_string_c (hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
char *buf);
H5_DLL
int_f
-nh5ltread_dataset_string_c (hid_t_f *loc_id,
+nh5ltread_dataset_string_c (hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
char *buf);
/*-------------------------------------------------------------------------
@@ -240,32 +240,32 @@ nh5ltread_dataset_string_c (hid_t_f *loc_id,
H5_DLL
int_f
-nh5immake_image_8bit_c (hid_t_f *loc_id,
+nh5immake_image_8bit_c (hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
hsize_t_f *width,
- hsize_t_f *height,
+ hsize_t_f *height,
int_f *buf);
H5_DLL
int_f
-nh5imread_image_c (hid_t_f *loc_id,
+nh5imread_image_c (hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
int_f *buf);
H5_DLL
int_f
-nh5immake_image_24bit_c (hid_t_f *loc_id,
+nh5immake_image_24bit_c (hid_t_f *loc_id,
int_f *namelen,
_fcd name,
int_f *ilen,
- _fcd il,
+ _fcd il,
hsize_t_f *width,
hsize_t_f *height,
void *buf);
H5_DLL
int_f
-nh5imget_image_info_c(hid_t_f *loc_id,
+nh5imget_image_info_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name,
hsize_t_f *width,
@@ -278,38 +278,38 @@ nh5imget_image_info_c(hid_t_f *loc_id,
H5_DLL
int_f
-nh5imis_image_c(hid_t_f *loc_id,
+nh5imis_image_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name);
H5_DLL
int_f
-nh5immake_palette_c (hid_t_f *loc_id,
+nh5immake_palette_c (hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
hsize_t_f *dims,
void *buf);
H5_DLL
int_f
-nh5imlink_palette_c (hid_t_f *loc_id,
+nh5imlink_palette_c (hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
int_f *ilen,
_fcd pal_name);
H5_DLL
int_f
-nh5imunlink_palette_c (hid_t_f *loc_id,
+nh5imunlink_palette_c (hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
int_f *ilen,
_fcd pal_name);
H5_DLL
int_f
-nh5imget_npalettes_c(hid_t_f *loc_id,
+nh5imget_npalettes_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name,
hsize_t_f *npals);
@@ -317,7 +317,7 @@ nh5imget_npalettes_c(hid_t_f *loc_id,
H5_DLL
int_f
-nh5imget_palette_info_c(hid_t_f *loc_id,
+nh5imget_palette_info_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name,
int_f *pal_number,
@@ -325,7 +325,7 @@ nh5imget_palette_info_c(hid_t_f *loc_id,
H5_DLL
int_f
-nh5imget_palette_c(hid_t_f *loc_id,
+nh5imget_palette_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name,
int_f *pal_number,
@@ -333,7 +333,7 @@ nh5imget_palette_c(hid_t_f *loc_id,
H5_DLL
int_f
-nh5imis_palette_c(hid_t_f *loc_id,
+nh5imis_palette_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name);
@@ -348,9 +348,9 @@ H5_DLL
int_f
nh5tbmake_table_c(int_f *namelen1,
_fcd name1,
- hid_t_f *loc_id,
+ hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
hsize_t_f *nfields,
hsize_t_f *nrecords,
size_t_f *type_size,
@@ -363,9 +363,9 @@ nh5tbmake_table_c(int_f *namelen1,
H5_DLL
int_f
-nh5tbwrite_field_name_c(hid_t_f *loc_id,
+nh5tbwrite_field_name_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
int_f *namelen1,
_fcd field_name,
hsize_t_f *start,
@@ -375,9 +375,9 @@ nh5tbwrite_field_name_c(hid_t_f *loc_id,
H5_DLL
int_f
-nh5tbread_field_name_c(hid_t_f *loc_id,
+nh5tbread_field_name_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
int_f *namelen1,
_fcd field_name,
hsize_t_f *start,
@@ -387,9 +387,9 @@ nh5tbread_field_name_c(hid_t_f *loc_id,
H5_DLL
int_f
-nh5tbwrite_field_index_c(hid_t_f *loc_id,
+nh5tbwrite_field_index_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
int_f *field_index,
hsize_t_f *start,
hsize_t_f *nrecords,
@@ -398,9 +398,9 @@ nh5tbwrite_field_index_c(hid_t_f *loc_id,
H5_DLL
int_f
-nh5tbread_field_index_c(hid_t_f *loc_id,
+nh5tbread_field_index_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
int_f *field_index,
hsize_t_f *start,
hsize_t_f *nrecords,
@@ -409,7 +409,7 @@ nh5tbread_field_index_c(hid_t_f *loc_id,
H5_DLL
int_f
-nh5tbinsert_field_c(hid_t_f *loc_id,
+nh5tbinsert_field_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name,
int_f *namelen1,
@@ -420,7 +420,7 @@ nh5tbinsert_field_c(hid_t_f *loc_id,
H5_DLL
int_f
-nh5tbdelete_field_c(hid_t_f *loc_id,
+nh5tbdelete_field_c(hid_t_f *loc_id,
int_f *namelen,
_fcd name,
int_f *namelen1,
@@ -429,17 +429,17 @@ nh5tbdelete_field_c(hid_t_f *loc_id,
H5_DLL
int_f
-nh5tbget_table_info_c(hid_t_f *loc_id,
+nh5tbget_table_info_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
hsize_t_f *nfields,
hsize_t_f *nrecords);
H5_DLL
int_f
-nh5tbget_field_info_c(hid_t_f *loc_id,
+nh5tbget_field_info_c(hid_t_f *loc_id,
int_f *namelen,
- _fcd name,
+ _fcd name,
hsize_t_f *nfields,
size_t_f *field_sizes,
size_t_f *field_offsets,
diff --git a/hl/fortran/src/H5LTfc.c b/hl/fortran/src/H5LTfc.c