1998-03-03 18:02:19 -04:00
|
|
|
\documentclass{manual}
|
1997-05-15 18:43:21 -03:00
|
|
|
|
1997-10-07 11:38:54 -03:00
|
|
|
\title{Python/C API Reference Manual}
|
1997-05-15 18:43:21 -03:00
|
|
|
|
|
|
|
\input{boilerplate}
|
|
|
|
|
2001-01-17 14:04:31 -04:00
|
|
|
\makeindex % tell \index to actually write the .idx file
|
1997-05-15 18:43:21 -03:00
|
|
|
|
|
|
|
|
|
|
|
\begin{document}
|
|
|
|
|
|
|
|
\maketitle
|
|
|
|
|
1998-07-28 18:55:19 -03:00
|
|
|
\ifhtml
|
|
|
|
\chapter*{Front Matter\label{front}}
|
|
|
|
\fi
|
|
|
|
|
1997-05-15 18:43:21 -03:00
|
|
|
\input{copyright}
|
|
|
|
|
|
|
|
\begin{abstract}
|
|
|
|
|
|
|
|
\noindent
|
2000-04-03 12:42:13 -03:00
|
|
|
This manual documents the API used by C and \Cpp{} programmers who
|
1998-02-16 02:15:35 -04:00
|
|
|
want to write extension modules or embed Python. It is a companion to
|
1999-11-09 13:03:03 -04:00
|
|
|
\citetitle[../ext/ext.html]{Extending and Embedding the Python
|
|
|
|
Interpreter}, which describes the general principles of extension
|
|
|
|
writing but does not document the API functions in detail.
|
1997-05-15 18:43:21 -03:00
|
|
|
|
2001-10-12 16:01:43 -03:00
|
|
|
\warning{The current version of this document is incomplete. I hope
|
|
|
|
that it is nevertheless useful. I will continue to work on it, and
|
|
|
|
release new versions from time to time, independent from Python source
|
|
|
|
code releases.}
|
1997-12-30 00:38:44 -04:00
|
|
|
|
1997-05-15 18:43:21 -03:00
|
|
|
\end{abstract}
|
|
|
|
|
1998-01-13 18:25:02 -04:00
|
|
|
\tableofcontents
|
1997-05-15 18:43:21 -03:00
|
|
|
|
|
|
|
|
2001-10-12 16:01:43 -03:00
|
|
|
\input{intro}
|
|
|
|
\input{veryhigh}
|
|
|
|
\input{refcounting}
|
|
|
|
\input{exceptions}
|
|
|
|
\input{utilities}
|
|
|
|
\input{abstract}
|
|
|
|
\input{concrete}
|
|
|
|
\input{init}
|
|
|
|
\input{memory}
|
|
|
|
\input{newtypes}
|
2001-03-22 12:30:17 -04:00
|
|
|
|
|
|
|
|
2000-09-21 18:35:22 -03:00
|
|
|
\appendix
|
|
|
|
\chapter{Reporting Bugs}
|
|
|
|
\input{reportingbugs}
|
|
|
|
|
2001-06-20 18:39:12 -03:00
|
|
|
\chapter{History and License}
|
|
|
|
\input{license}
|
|
|
|
|
2001-01-17 14:04:31 -04:00
|
|
|
\input{api.ind} % Index -- must be last
|
1997-05-15 18:43:21 -03:00
|
|
|
|
|
|
|
\end{document}
|