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
e2e03878
Commit
e2e03878
authored
Jul 04, 2019
by
Claes Sjofors
Committed by
Claes Sjöfors
Mar 03, 2020
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
6b2ad49b
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 @
e2e03878
...
...
@@ -44,6 +44,7 @@
#include <assert.h>
#include <stdio.h>
#include "pwr_version.h"
#include "co_string.h"
#include "co_time.h"
...
...
@@ -194,6 +195,12 @@ void wb_print_wbl::printVolume(wb_volume& v, bool recursive)
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
();
const
char
*
cname
=
v
.
cdef
(
v
.
cid
()).
name
();
...
...
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