blob: cf28f5b4cf2515502f8df9d08dc81fa75683b876 [file] [log] [blame]
Fred Drake6659c301998-03-03 22:02:19 +00001\documentclass{manual}
Guido van Rossum9231c8f1997-05-15 21:43:21 +00002
Guido van Rossum9faf4c51997-10-07 14:38:54 +00003\title{Python/C API Reference Manual}
Guido van Rossum9231c8f1997-05-15 21:43:21 +00004
5\input{boilerplate}
6
Marc-André Lemburga544ea22001-01-17 18:04:31 +00007\makeindex % tell \index to actually write the .idx file
Guido van Rossum9231c8f1997-05-15 21:43:21 +00008
9
10\begin{document}
11
Guido van Rossum9231c8f1997-05-15 21:43:21 +000012\maketitle
13
Fred Drake9f86b661998-07-28 21:55:19 +000014\ifhtml
15\chapter*{Front Matter\label{front}}
16\fi
17
Guido van Rossum9231c8f1997-05-15 21:43:21 +000018\input{copyright}
19
20\begin{abstract}
21
22\noindent
Fred Drake659ebfa2000-04-03 15:42:13 +000023This manual documents the API used by C and \Cpp{} programmers who
Fred Drakee058b4f1998-02-16 06:15:35 +000024want to write extension modules or embed Python. It is a companion to
Fred Drakebe486461999-11-09 17:03:03 +000025\citetitle[../ext/ext.html]{Extending and Embedding the Python
26Interpreter}, which describes the general principles of extension
27writing but does not document the API functions in detail.
Guido van Rossum9231c8f1997-05-15 21:43:21 +000028
Fred Drake3adf79e2001-10-12 19:01:43 +000029\warning{The current version of this document is incomplete. I hope
30that it is nevertheless useful. I will continue to work on it, and
31release new versions from time to time, independent from Python source
32code releases.}
Guido van Rossum5b8a5231997-12-30 04:38:44 +000033
Guido van Rossum9231c8f1997-05-15 21:43:21 +000034\end{abstract}
35
Fred Drake4d4f9e71998-01-13 22:25:02 +000036\tableofcontents
Guido van Rossum9231c8f1997-05-15 21:43:21 +000037
Guido van Rossum9231c8f1997-05-15 21:43:21 +000038
Fred Drake3adf79e2001-10-12 19:01:43 +000039\input{intro}
40\input{veryhigh}
41\input{refcounting}
42\input{exceptions}
43\input{utilities}
44\input{abstract}
45\input{concrete}
46\input{init}
47\input{memory}
48\input{newtypes}
Fred Drakee28d8ae2001-03-22 16:30:17 +000049
50
Fred Drakeed773ef2000-09-21 21:35:22 +000051\appendix
52\chapter{Reporting Bugs}
53\input{reportingbugs}
54
Fred Drake490d34d2001-06-20 21:39:12 +000055\chapter{History and License}
56\input{license}
57
Marc-André Lemburga544ea22001-01-17 18:04:31 +000058\input{api.ind} % Index -- must be last
Guido van Rossum9231c8f1997-05-15 21:43:21 +000059
60\end{document}