summaryrefslogtreecommitdiffstats
path: root/doc/api/functions.sty
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/functions.sty')
-rw-r--r--doc/api/functions.sty6
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/api/functions.sty b/doc/api/functions.sty
index dcccfb542..3d04f34a7 100644
--- a/doc/api/functions.sty
+++ b/doc/api/functions.sty
@@ -9,17 +9,21 @@
\fi
\let\funcfont=\bf
\newcount\argc@ount
+\reversemarginpar
+\setlength{\marginparsep}{3pt}
+%\setlength{\marginparwidth}{1in}
%
% funcdecl is used as \begin{funcdecl}{funcname}{return type}{firstline}
%
% see fixunder.sty for comments on why the \underrealtrue & \underrealfalse
% stuff is here.
\newenvironment{funcdecl}[3]{\underrealtrue\index{#1}\underrealfalse%
+\gdef\funcn@me{#1}
\argc@ount=0\begin{tabbing}
#2 \\
{\bf #1}(\= \+ #3%
}{)
-\end{tabbing}
+\end{tabbing}\marginpar{{\sloppy \funcn@me}}
}
\newcommand{\docomm@}{\ifnum\argc@ount >0, \\\fi}
\newcommand{\funcvoid}{\argc@ount=0}