Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libcdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mpim-sw
libcdi
Commits
8a499d79
Commit
8a499d79
authored
3 years ago
by
Uwe Schulzweida
Browse files
Options
Downloads
Patches
Plain Diff
Changed type of TYPE_REC/TYPE_VAR to enum.
parent
9e3c7a31
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/cdi_int.h
+6
-9
6 additions, 9 deletions
src/cdi_int.h
src/stream_cdf_i.c
+3
-0
3 additions, 0 deletions
src/stream_cdf_i.c
with
9 additions
and
9 deletions
src/cdi_int.h
+
6
−
9
View file @
8a499d79
...
...
@@ -115,11 +115,10 @@ strIsEqual(const char *x, const char *y)
# define IS_EQUAL(x,y) (!IS_NOT_EQUAL(x,y))
#endif
#define FALSE 0
#define TRUE 1
#define TYPE_REC 0
#define TYPE_VAR 1
enum
{
TYPE_REC
,
TYPE_VAR
,
};
#define MEMTYPE_DOUBLE 1
#define MEMTYPE_FLOAT 2
...
...
@@ -476,8 +475,7 @@ cdiStreamOpenDefaultDelegate(const char *filename, char filemode,
int
recordBufIsToBeCreated
);
int
streamOpenID
(
const
char
*
filename
,
char
filemode
,
int
filetype
,
int
resH
);
streamOpenID
(
const
char
*
filename
,
char
filemode
,
int
filetype
,
int
resH
);
void
cdiStreamDefVlist_
(
int
streamID
,
int
vlistID
);
...
...
@@ -489,8 +487,7 @@ void
cdiStreamWriteVarChunk_
(
int
streamID
,
int
varID
,
int
memtype
,
const
int
rect
[][
2
],
const
void
*
data
,
size_t
nmiss
);
void
cdiStreamCloseDefaultDelegate
(
stream_t
*
streamptr
,
int
recordBufIsToBeDeleted
);
cdiStreamCloseDefaultDelegate
(
stream_t
*
streamptr
,
int
recordBufIsToBeDeleted
);
int
cdiStreamDefTimestep_
(
stream_t
*
streamptr
,
int
tsID
);
...
...
This diff is collapsed.
Click to expand it.
src/stream_cdf_i.c
+
3
−
0
View file @
8a499d79
...
...
@@ -18,6 +18,9 @@
#include
"cdf_lazy_grid.h"
#define FALSE 0
#define TRUE 1
enum
AxisType
{
X_AXIS
=
1
,
Y_AXIS
=
2
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment