Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
330b92d0
Commit
330b92d0
authored
5 years ago
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbl print, added file header with version in wb_load and wb_dmp files
parent
5911461b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
wb/lib/wb/src/wb_print_wbl.cpp
wb/lib/wb/src/wb_print_wbl.cpp
+7
-0
No files found.
wb/lib/wb/src/wb_print_wbl.cpp
View file @
330b92d0
...
@@ -44,6 +44,7 @@
...
@@ -44,6 +44,7 @@
#include <assert.h>
#include <assert.h>
#include <stdio.h>
#include <stdio.h>
#include "pwr_version.h"
#include "co_string.h"
#include "co_string.h"
#include "co_time.h"
#include "co_time.h"
...
@@ -194,6 +195,12 @@ void wb_print_wbl::printVolume(wb_volume& v, bool recursive)
...
@@ -194,6 +195,12 @@ void wb_print_wbl::printVolume(wb_volume& v, bool recursive)
return
;
return
;
}
}
char
timstr
[
40
];
time_AtoAscii
(
0
,
time_eFormat_DateAndTime
,
timstr
,
sizeof
(
timstr
));
indent
()
<<
"! Generated by wb_print_wbl "
<<
timstr
<<
"
\n
"
;
indent
()
<<
"! Volume "
<<
v
.
name
()
<<
"
\n
"
;
indent
()
<<
"! Version "
pwrv_cPwrVersionStr
"
\n
"
;
wb_object
o
=
v
.
object
();
wb_object
o
=
v
.
object
();
const
char
*
cname
=
v
.
cdef
(
v
.
cid
()).
name
();
const
char
*
cname
=
v
.
cdef
(
v
.
cid
()).
name
();
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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