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
6308d2ab
Commit
6308d2ab
authored
Feb 12, 2003
by
lw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
parent
8dbf9fc3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
3 deletions
+18
-3
src/msg/co/src/co_dbs_msg.msg
src/msg/co/src/co_dbs_msg.msg
+1
-0
wb/lib/wb/src/wb_vrepdbs.cpp
wb/lib/wb/src/wb_vrepdbs.cpp
+17
-3
No files found.
src/msg/co/src/co_dbs_msg.msg
View file @
6308d2ab
...
...
@@ -12,3 +12,4 @@ pdrfile <pdr_dbs_sFile failed> /error
notmapped <snapshot file is not mapped> /error
badsect <section does not exist> /error
badoffs <offset is out of scope> /error
nosuchbody <no such body exists> /error
wb/lib/wb/src/wb_vrepdbs.cpp
View file @
6308d2ab
...
...
@@ -178,7 +178,7 @@ wb_vrepdbs::abort(pwr_tStatus *sts)
bool
wb_vrepdbs
::
writeAttribute
(
pwr_tStatus
*
sts
,
wb_orep
*
o
,
cdh_eBix
bix
,
unsigned
int
offset
,
unsigned
int
size
,
void
*
p
)
{
//
*sts = LDH__NYI;
*
sts
=
LDH__NYI
;
return
false
;
}
...
...
@@ -186,14 +186,28 @@ wb_vrepdbs::writeAttribute(pwr_tStatus *sts, wb_orep *o, cdh_eBix bix, unsigned
void
*
wb_vrepdbs
::
readAttribute
(
pwr_tStatus
*
sts
,
wb_orep
*
o
,
cdh_eBix
bix
,
unsigned
int
offset
,
unsigned
int
size
,
void
*
p
)
{
//*sts = LDH__NYI;
return
0
;
*
sts
=
LDH__SUCCESS
;
dbs_sObject
*
op
=
((
wb_orepdbs
*
)
o
)
->
o
();
void
*
bp
=
dbs_Body
(
sts
,
dbsenv
(),
op
,
bix
);
if
(
bp
==
0
)
return
0
;
if
(
p
)
{
memcpy
(
p
,
bp
,
MIN
(
op
->
rbody
.
size
,
size
));
return
p
;
}
return
bp
;
}
void
*
wb_vrepdbs
::
readBody
(
pwr_tStatus
*
sts
,
wb_orep
*
o
,
cdh_eBix
bix
,
void
*
p
)
{
*
sts
=
LDH__SUCCESS
;
dbs_sObject
*
op
=
((
wb_orepdbs
*
)
o
)
->
o
();
void
*
bp
=
dbs_Body
(
sts
,
dbsenv
(),
op
,
bix
);
...
...
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