Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
clean-libraries
Commits
3d724e8f
Verified
Commit
3d724e8f
authored
Jan 06, 2021
by
Camil Staps
Browse files
Simplify case for _ARRAY_ in remove_forwarding_pointers_from_string
parent
65f43b78
Changes
1
Show whitespace changes
Inline
Side-by-side
Libraries/graph_copy/copy_string_to_graph.c
View file @
3d724e8f
...
...
@@ -106,13 +106,12 @@ void remove_forwarding_pointers_from_string (Int *string_p,Int *end_forwarding_p
elem_desc
=
string_p
[
2
];
string_p
+=
3
;
if
(
elem_desc
!=
0
){
#if defined (USE_DESC_RELATIVE_TO_ARRAY)
if
(
elem_desc
!=
0
)
elem_desc
+=
(
Int
)
&
__ARRAY__
;
#endif
if
(
elem_desc
==
0
){
}
else
if
(
elem_desc
==
(
Int
)
&
INT
+
2
if
(
elem_desc
==
(
Int
)
&
INT
+
2
#if ARCH_64
||
elem_desc
==
(
Int
)
&
REAL
+
2
#else
...
...
@@ -146,6 +145,7 @@ void remove_forwarding_pointers_from_string (Int *string_p,Int *end_forwarding_p
string_p
+=
n_non_field_pointers
*
array_size
;
}
}
}
else
{
++
string_p
;
}
...
...
Write
Preview
Supports
Markdown
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