adapted to coding style
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "h5_core.h"
|
||||
#include "h5_core_private.h"
|
||||
|
||||
const char *
|
||||
const char*
|
||||
h5tpriv_oid_names[] = {
|
||||
"N.N.",
|
||||
"vertex",
|
||||
@@ -10,7 +10,7 @@ h5tpriv_oid_names[] = {
|
||||
"tetrahedron"
|
||||
};
|
||||
|
||||
const char *
|
||||
const char*
|
||||
h5tpriv_meshes_grpnames[] = {
|
||||
"N.N.",
|
||||
"N.N.",
|
||||
@@ -24,15 +24,15 @@ h5tpriv_sizeof_elem[] = {
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
sizeof(h5_triangle_t),
|
||||
sizeof(h5_tetrahedron_t)
|
||||
sizeof (h5_triangle_t),
|
||||
sizeof (h5_tetrahedron_t)
|
||||
};
|
||||
|
||||
const char *
|
||||
const char*
|
||||
h5tpriv_map_oid2str (
|
||||
h5_oid_t oid
|
||||
) {
|
||||
if ( oid < 0 || oid >= sizeof(h5tpriv_oid_names)/sizeof(char*) ) {
|
||||
if ((oid < 0) || (oid >= sizeof (h5tpriv_oid_names) / sizeof (char*))) {
|
||||
return "[invalid oid]";
|
||||
}
|
||||
return h5tpriv_oid_names[oid];
|
||||
|
||||
Reference in New Issue
Block a user