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
674fb529
Commit
674fb529
authored
Mar 06, 2018
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dataarithm compiler Daxfront and Daxback bugfix
parent
6616c3b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
wb/lib/wb/src/wb_foe_dataarithm.c
wb/lib/wb/src/wb_foe_dataarithm.c
+9
-9
No files found.
wb/lib/wb/src/wb_foe_dataarithm.c
View file @
674fb529
...
...
@@ -578,42 +578,42 @@ static pwr_tStatus dataa_ODa4 (
}
static
pwr_tStatus
dataa_Da1front
(
dataa_ctx
dataactx
,
char
*
line
,
char
*
pos
,
char
*
out
,
int
*
incr
,
char
*
var
)
{
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn1P) +
pwr_cAlignLW+2*pwr_cAlignW
))"
,
var
);
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn1P) +
sizeof(pwr_tDataRef)
))"
,
var
);
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
}
static
pwr_tStatus
dataa_Da2front
(
dataa_ctx
dataactx
,
char
*
line
,
char
*
pos
,
char
*
out
,
int
*
incr
,
char
*
var
)
{
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn2P) +
pwr_cAlignLW+2*pwr_cAlignW
))"
,
var
);
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn2P) +
sizeof(pwr_tDataRef)
))"
,
var
);
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
}
static
pwr_tStatus
dataa_Da3front
(
dataa_ctx
dataactx
,
char
*
line
,
char
*
pos
,
char
*
out
,
int
*
incr
,
char
*
var
)
{
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn3P) +
pwr_cAlignLW+2*pwr_cAlignW
))"
,
var
);
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn3P) +
sizeof(pwr_tDataRef)
))"
,
var
);
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
}
static
pwr_tStatus
dataa_Da4front
(
dataa_ctx
dataactx
,
char
*
line
,
char
*
pos
,
char
*
out
,
int
*
incr
,
char
*
var
)
{
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn4P) +
pwr_cAlignLW+2*pwr_cAlignW
))"
,
var
);
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn4P) +
sizeof(pwr_tDataRef)
))"
,
var
);
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
}
static
pwr_tStatus
dataa_Da1back
(
dataa_ctx
dataactx
,
char
*
line
,
char
*
pos
,
char
*
out
,
int
*
incr
,
char
*
var
)
{
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn1P) +
pwr_cAlignLW+3*
pwr_cAlignW))"
,
var
);
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn1P) +
sizeof(pwr_tDataRef)+
pwr_cAlignW))"
,
var
);
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
}
static
pwr_tStatus
dataa_Da2back
(
dataa_ctx
dataactx
,
char
*
line
,
char
*
pos
,
char
*
out
,
int
*
incr
,
char
*
var
)
{
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn2P) +
pwr_cAlignLW+3*
pwr_cAlignW))"
,
var
);
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn2P) +
sizeof(pwr_tDataRef)+
pwr_cAlignW))"
,
var
);
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
}
static
pwr_tStatus
dataa_Da3back
(
dataa_ctx
dataactx
,
char
*
line
,
char
*
pos
,
char
*
out
,
int
*
incr
,
char
*
var
)
{
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn3P) +
pwr_cAlignLW+3*
pwr_cAlignW))"
,
var
);
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn3P) +
sizeof(pwr_tDataRef)+
pwr_cAlignW))"
,
var
);
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
}
static
pwr_tStatus
dataa_Da4back
(
dataa_ctx
dataactx
,
char
*
line
,
char
*
pos
,
char
*
out
,
int
*
incr
,
char
*
var
)
{
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn4P) +
pwr_cAlignLW+3*
pwr_cAlignW))"
,
var
);
sprintf
(
out
,
"( *(char *)((char *)(%s->DataIn4P) +
sizeof(pwr_tDataRef)+
pwr_cAlignW))"
,
var
);
*
incr
=
strlen
(
out
);
return
GSX__SUCCESS
;
}
static
pwr_tStatus
dataa_Da1objid
(
dataa_ctx
dataactx
,
char
*
line
,
char
*
pos
,
...
...
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