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
cbc80a8a
Commit
cbc80a8a
authored
1 year ago
by
Uwe Schulzweida
Browse files
Options
Downloads
Patches
Plain Diff
Replace vlistCopy() by vlistDuplicate()
parent
c5c78eea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Pipeline
#60820
passed
1 year ago
Stage: external
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_resource_copy.c
+1
-3
1 addition, 3 deletions
tests/test_resource_copy.c
with
1 addition
and
3 deletions
tests/test_resource_copy.c
+
1
−
3
View file @
cbc80a8a
...
...
@@ -163,9 +163,7 @@ defineVlist(int gridID, int zaxisID, int taxisID)
vlistDefVarName
(
vlistID
,
varID2
,
"varname2"
);
cdiDefAttTxt
(
vlistID
,
varID2
,
"txt demo"
,
6
,
"banana"
);
vlistDefTaxis
(
vlistID
,
taxisID
);
int
vlistID2
=
vlistCreate
();
vlistDefVar
(
vlistID2
,
gridID
,
zaxisID
,
TIME_VARIABLE
);
vlistCopy
(
vlistID2
,
vlistID
);
int
vlistID2
=
vlistDuplicate
(
vlistID
);
return
(
struct
idPair
){
vlistID
,
vlistID2
};
}
...
...
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