From: John Kohl Date: Fri, 1 Jun 1990 18:38:16 +0000 (+0000) Subject: \funcvoid resets argcount for commas X-Git-Tag: krb5-1.0-alpha2~425 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e66752fa6fad663076219150d7a1275a2fdcbd7a;p=krb5.git \funcvoid resets argcount for commas add funcfuncarg and funcendfuncarg add \filename git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@982 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/doc/api/functions.sty b/doc/api/functions.sty index 426b7fe93..103a4e68f 100644 --- a/doc/api/functions.sty +++ b/doc/api/functions.sty @@ -21,14 +21,17 @@ \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\/}} diff --git a/doc/implement/functions.sty b/doc/implement/functions.sty index 426b7fe93..103a4e68f 100644 --- a/doc/implement/functions.sty +++ b/doc/implement/functions.sty @@ -21,14 +21,17 @@ \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\/}}