\funcvoid resets argcount for commas
authorJohn Kohl <jtkohl@mit.edu>
Fri, 1 Jun 1990 18:38:16 +0000 (18:38 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 1 Jun 1990 18:38:16 +0000 (18:38 +0000)
add funcfuncarg and funcendfuncarg
add \filename

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@982 dc483132-0cff-0310-8789-dd5450dbe970

doc/api/functions.sty
doc/implement/functions.sty

index 426b7fe934cef1c0c73f03b8faf60416cbfe295e..103a4e68f910188429525bd4f6dfeb0a68412fcd 100644 (file)
 \end{tabbing}
 }
 \newcommand{\docomm@}{\ifnum\argc@ount >0, \\\fi}
-\newcommand{\funcvoid}{}
+\newcommand{\funcvoid}{\argc@ount=0}
 \newcommand{\funcin}{\docomm@\argc@ount=0{\it /* IN */}\\}
 \newcommand{\funcinout}{\docomm@\argc@ount=0{\it /* INOUT */}\\}
 \newcommand{\funcout}{\docomm@\argc@ount=0{\it /* OUT */}\\}
 \newcommand{\funcarg}[2]{\docomm@#1 {\argfont #2}\advance\argc@ount by1}
 \newcommand{\funcparam}[1]{{\argfont #1}}
 \newcommand{\funcname}[1]{{\bf #1}()}
+\newcommand{\funcfuncarg}[2]{\docomm@#1 {\argfont #2}(\= \+ \argc@ount=0}
+\newcommand{\funcendfuncarg}{), \- \\ \argc@ount=0}
 \newcommand{\libname}[1]{{\argfont #1}}
 \newcommand{\globalname}[1]{{\argfont #1}}
 \newcommand{\ptsto}{->\discretionary{}{}{}}
 \newcommand{\datatype}[1]{{\bf #1}}
+\newcommand{\filename}[1]{{\sl #1\/}}
index 426b7fe934cef1c0c73f03b8faf60416cbfe295e..103a4e68f910188429525bd4f6dfeb0a68412fcd 100644 (file)
 \end{tabbing}
 }
 \newcommand{\docomm@}{\ifnum\argc@ount >0, \\\fi}
-\newcommand{\funcvoid}{}
+\newcommand{\funcvoid}{\argc@ount=0}
 \newcommand{\funcin}{\docomm@\argc@ount=0{\it /* IN */}\\}
 \newcommand{\funcinout}{\docomm@\argc@ount=0{\it /* INOUT */}\\}
 \newcommand{\funcout}{\docomm@\argc@ount=0{\it /* OUT */}\\}
 \newcommand{\funcarg}[2]{\docomm@#1 {\argfont #2}\advance\argc@ount by1}
 \newcommand{\funcparam}[1]{{\argfont #1}}
 \newcommand{\funcname}[1]{{\bf #1}()}
+\newcommand{\funcfuncarg}[2]{\docomm@#1 {\argfont #2}(\= \+ \argc@ount=0}
+\newcommand{\funcendfuncarg}{), \- \\ \argc@ount=0}
 \newcommand{\libname}[1]{{\argfont #1}}
 \newcommand{\globalname}[1]{{\argfont #1}}
 \newcommand{\ptsto}{->\discretionary{}{}{}}
 \newcommand{\datatype}[1]{{\bf #1}}
+\newcommand{\filename}[1]{{\sl #1\/}}