Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
858666a9
Commit
858666a9
authored
Jul 02, 2015
by
Oliver Heidmann
Browse files
replaced uuid[CDI_UUID_SIZE] with *uuid, changed __restrict__ back to restrict
parent
e2f7af53
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/basetime.c
View file @
858666a9
...
...
@@ -32,3 +32,4 @@ void basetimeInit(basetime_t *basetime)
* require-trailing-newline: t
* End:
*/
\ No newline at end of file
src/cdi.h
View file @
858666a9
...
...
@@ -842,10 +842,10 @@ void gridDefReference(int gridID, const char *reference);
int
gridInqReference
(
int
gridID
,
char
*
reference
);
/* gridDefUUID: Define the UUID of an unstructured grid */
void
gridDefUUID
(
int
gridID
,
const
unsigned
char
uuid
[
CDI_UUID_SIZE
]
);
void
gridDefUUID
(
int
gridID
,
const
unsigned
char
*
uuid
);
/* gridInqUUID: Get the UUID of an unstructured grid */
void
gridInqUUID
(
int
gridID
,
unsigned
char
uuid
[
CDI_UUID_SIZE
]
);
void
gridInqUUID
(
int
gridID
,
unsigned
char
*
uuid
);
/* Lambert Conformal Conic grid (GRIB version) */
...
...
@@ -1097,7 +1097,7 @@ const char *modelInqNamePtr(int modelID);
void
tableWriteC
(
const
char
*
filename
,
int
tableID
);
void
tableFWriteC
(
FILE
*
ptfp
,
int
tableID
);
void
tableWrite
(
const
char
*
filename
,
int
tableID
);
int
tableRead
(
char
*
tablefile
);
int
tableRead
(
const
char
*
tablefile
);
int
tableDef
(
int
modelID
,
int
tablenum
,
const
char
*
tablename
);
const
char
*
tableInqNamePtr
(
int
tableID
);
...
...
src/gaussgrid.c
View file @
858666a9
...
...
@@ -288,7 +288,7 @@ void gauaw_old(double *pa, double *pw, int nlat)
}
#endif
void
gaussaw
(
double
*
__
restrict
__
pa
,
double
*
__
restrict
__
pw
,
size_t
nlat
)
void
gaussaw
(
double
*
restrict
pa
,
double
*
restrict
pw
,
size_t
nlat
)
{
//gauaw_old(pa, pw, nlat);
gauaw
(
nlat
,
pa
,
pw
);
...
...
src/resource_unpack.c
View file @
858666a9
...
...
@@ -67,7 +67,7 @@ void reshUnpackResources(char * unpackBuffer, int unpackBufferSize,
case
STREAM
:
if
(
sizeAssociations
==
numAssociations
)
associations
=
xrealloc
(
associations
,
=
(
struct
streamAssoc
*
)
xrealloc
(
associations
,
sizeof
(
associations
[
0
])
*
(
size_t
)(
sizeAssociations
*=
2
));
associations
[
numAssociations
]
=
streamUnpack
(
unpackBuffer
,
unpackBufferSize
,
&
unpackBufferPos
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment