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
6c5519c1
Commit
6c5519c1
authored
Jun 30, 2015
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wb gcg cast for template fo data inputs
parent
b17a49ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
wb/lib/wb/src/wb_gcg.cpp
wb/lib/wb/src/wb_gcg.cpp
+5
-1
No files found.
wb/lib/wb/src/wb_gcg.cpp
View file @
6c5519c1
...
...
@@ -15034,6 +15034,7 @@ int gcg_comp_m58( gcg_ctx gcgctx, vldh_t_node node)
pwr_sAttrRef
*
connect_aref
;
pwr_sAttrRef
caref
,
ccaref
;
pwr_tObjName
cname
;
char
cast
[
40
]
=
""
;
ldhses
=
(
node
->
hn
.
wind
)
->
hw
.
ldhses
;
...
...
@@ -15292,11 +15293,14 @@ int gcg_comp_m58( gcg_ctx gcgctx, vldh_t_node node)
if
(
par_inverted
)
gcg_error_msg
(
gcgctx
,
GSX__INV
,
node
);
if
(
output_bodydef
.
Par
->
Output
.
Info
.
Type
==
pwr_eType_DataRef
)
strcpy
(
cast
,
"(pwr_tVoid *)"
);
IF_PR
fprintf
(
gcgctx
->
files
[
GCGM1_REF_FILE
],
"%c%s->%sP = &%c%s->%s;
\n
"
,
"%c%s->%sP =
%s
&%c%s->%s;
\n
"
,
GCG_PREFIX_REF
,
vldh_IdToStr
(
0
,
node
->
ln
.
oid
),
bodydef
[
i
].
Par
->
Param
.
Info
.
PgmName
,
cast
,
output_prefix
,
output_type
==
GCG_OTYPE_OID
?
vldh_IdToStr
(
1
,
output_attrref
.
Objid
)
:
...
...
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