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
Duncan White
C-datadec
Commits
cdc38a23
Commit
cdc38a23
authored
Apr 10, 1992
by
dcw
Browse files
added findnthparam;
parent
ade73475
Changes
1
Show whitespace changes
Inline
Side-by-side
struct.c
View file @
cdc38a23
...
...
@@ -162,3 +162,20 @@ void print_printlist(p) printlist p;
print_printitem
(
p
->
item
);
}
}
param
findnthparam
(
n
,
p
,
sname
,
dname
)
int
n
;
paramlist
p
;
char
*
sname
,
*
dname
;
{
int
m
=
n
;
for
(
;
p
!=
NULL
&&
--
m
;
p
=
p
->
next
);
ASSERT
(
p
!=
NULL
,
(
"datadec: bad print number %d in shape %s of type %s
\n
"
,
m
,
sname
,
dname
));
return
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