Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Typo and whitespace fixes by Kunda
[modules/kernel.git]
/
src
/
HDFPersist
/
HDFnObjects.c
diff --git
a/src/HDFPersist/HDFnObjects.c
b/src/HDFPersist/HDFnObjects.c
index 9ebad71beac62056ab7b6bed63aa258ce16c682f..da77d5f1db197d4fed8212748176acb1be6d58d1 100644
(file)
--- a/
src/HDFPersist/HDFnObjects.c
+++ b/
src/HDFPersist/HDFnObjects.c
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
4
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-31,14
+31,14
@@
SALOME HDFPersist : implementation of HDF persitent ( save/ restore )
/*
* - Name : HDFnObjects
/*
* - Name : HDFnObjects
- * - Description : returns the number of HDF obje
ts in a
HDF group
+ * - Description : returns the number of HDF obje
cts in an
HDF group
* - Parameters :
* - fid (IN) : HDF file ID
* - Parameters :
* - fid (IN) : HDF file ID
- * - path (IN) : acces path to the HDF group in the HDF file
+ * - path (IN) : acces
s
path to the HDF group in the HDF file
* - Results :
* - if success : number of objects
* - Results :
* - if success : number of objects
- * - if failure : -1
- */
+ * - if failure : -1
+ */
hdf_err Num(hdf_idt id,const char *name, void *data);
hdf_err Num(hdf_idt id,const char *name, void *data);
@@
-59,10
+59,9
@@
HDFnObjects(hdf_idt fid,const char *path,int *n)
hdf_err Num(hdf_idt id,const char *name, void *data)
{
int *count;
hdf_err Num(hdf_idt id,const char *name, void *data)
{
int *count;
-
+
count = (int *) data;
(*count)++;
return 0;
}
count = (int *) data;
(*count)++;
return 0;
}
-