\documentstyle[11pt]{article}
\setlength{\parindent}{0.0in}
\setlength{\textwidth}{6.5in}
\setlength{\oddsidemargin}{0.0in}
\pagestyle{headings}
\begin{document}
{\Large \bf  Title }\\
{\tt [ Python Module : swig ]  }\\
   This is a title comment   
\\{\tt \bf foo(int ) }
\\
\makebox[0.5in]{}\begin{minipage}[t]{6in}
{\tt [ returns int  ]  }\\
   This is a comment before a function   
\\

\end{minipage}\\

{\tt \bf bar(int ) }
\\
\makebox[0.5in]{}\begin{minipage}[t]{6in}
{\tt [ returns int  ]  }\\
   This is a 
   multiline comment
   appearing before
   a function
\\

\end{minipage}\\

\section{Section 1}   This is a comment before section 1   
\\\subsection{Section 1.1}   This is a comment before subsection 1.1   
\\\subsection{Section 1.2}   This is a comment before subsection 1.2   
\\\subsubsection{Section 1.2.1}   This is a comment before subsubsection 1.2.1   
\\\subsection{Section 1.3}   This is a comment before subsection 1.3   
\\\subsubsection{Section 1.3.1}   This is a comment before subsubsection 1.3.1   
\\\section{Section 2}   This is a comment before section 2   
\\

This is a some random text thrown in to the file.\\

{\tt \bf grok(int ) }
\\
\makebox[0.5in]{}\begin{minipage}[t]{6in}
{\tt [ returns int  ]  }\\
   This is a comment for grok   
\\

\end{minipage}\\

\section{Section 3}   This is a comment for section 3   
\\{\tt \bf ENUM1 $=$ ENUM1 }
\\
\makebox[0.5in]{}\begin{minipage}[t]{6in}
{\tt [ Constant: int  ]  }\\
   Comment for ENUM1   
\\

\end{minipage}\\

{\tt \bf ENUM2 $=$ ENUM2 }
\\
\makebox[0.5in]{}\begin{minipage}[t]{6in}
{\tt [ Constant: int  ]  }\\
   Comment for ENUM2   
\\

\end{minipage}\\

{\tt \bf ENUM3 $=$ ENUM3 }
\\
\makebox[0.5in]{}\begin{minipage}[t]{6in}
{\tt [ Constant: int  ]  }\\
   Comment for ENUM3   
\\

\end{minipage}\\

{\tt \bf ENUM4 $=$ ENUM4 }
\\
\makebox[0.5in]{}\begin{minipage}[t]{6in}
{\tt [ Constant: int  ]  }\\
   Comment for ENUM4   
\\

\end{minipage}\\

{\tt \bf cvar.a }
\\
\makebox[0.5in]{}\begin{minipage}[t]{6in}
{\tt [ Global : int  a ]  }\\
   This is a comment for 'a'   
\\

\end{minipage}\\

{\tt \bf cvar.b }
\\
\makebox[0.5in]{}\begin{minipage}[t]{6in}
{\tt [ Global : int  b ]  }\\
   This is a comment for 'b'   
\\

\end{minipage}\\

{\tt \bf cvar.c }
\\
\makebox[0.5in]{}\begin{minipage}[t]{6in}
{\tt [ Global : int  c ]  }\\
   This is a comment for 'c'   
\\

\end{minipage}\\

{\tt \bf cvar.d }
\\
\makebox[0.5in]{}\begin{minipage}[t]{6in}
{\tt [ Global : int  d ]  }\\
   This is a comment for 'd'   
\\

\end{minipage}\\

\subsection{class AClass}{\tt [ created from class AClass ]  }\\
   This comment should be attached to the class definition   
\\{\tt \bf AClass\_foo(self) }
\\
\makebox[0.5in]{}\begin{minipage}[t]{6in}
{\tt [ Member : returns int  ]  }\\
   This is a comment for the foo member function   
\\

\end{minipage}\\

{\tt \bf AClass\_a\_set(self,a)\\
AClass\_a\_get(self) }
\\
\makebox[0.5in]{}\begin{minipage}[t]{6in}
{\tt [ Member data: returns int  ]  }\\
   This is a comment for the a data member   
\\

\end{minipage}\\

\section{Section 4}   Commment before section 4   
\\\section{Section 5}   Comment before section 5   
\\{\tt \bf frob(double ) }
\\
\makebox[0.5in]{}\begin{minipage}[t]{6in}
{\tt [ returns double  ]  }\\
   Comment before function frob   
\\

\end{minipage}\\

{\tt \bf decl(a,b,c,d,e,f) }
\\
\makebox[0.5in]{}\begin{minipage}[t]{6in}
{\tt [ returns double  ]  }\\
   This is a comment before a multiline declaration   
\\

\end{minipage}\\


\end{document}
